[Quickfix-users] Problem running QuickFix 1.9.3 managed wrapper (System.IO.FileNotFoundException)
Brought to you by:
orenmnero
From: Belal K. F. <bf...@ca...> - 2004-11-18 18:20:45
|
Hi, =20 As the documentation suggests I added project references to = quickfix_net.dll and quickfix_net_messages.dll to a C# project. =20 I added the following code in the Main method =20 QuickFix.SessionSettings settings =3D new = QuickFix.SessionSettings("QuickFixConfig.cfg"); Application application =3D new Application(); QuickFix.MessageStoreFactory messageStoreFactory =3D new = QuickFix.FileStoreFactory("QuickFixConfig.cfg"); QuickFix.MessageFactory messageFactory =3D new = QuickFix42.MessageFactory(); QuickFix.SocketInitiator initiator =3D new = QuickFix.SocketInitiator(application, messageStoreFactory, settings, = messageFactory); initiator.start(); =20 Application is an implementation of the QuickFix.Application interface. When I try to run the application I get the following exception. An unhandled exception of type 'System.IO.FileNotFoundException' = occurred in Unknown Module. Additional information: File or assembly name quickfix_net, or one of = its dependencies, was not found. =20 Additional information: Unhandled Exception: System.IO.FileNotFoundException: File or assembly = name quic kfix_net, or one of its dependencies, was not found. File name: "quickfix_net" at QFTest.Class1.Main(String[] args) =3D=3D=3D Pre-bind state information =3D=3D=3D LOG: DisplayName =3D quickfix_net, Version=3D1.0.1773.22158, = Culture=3Dneutral, Public KeyToken=3Dnull (Fully-specified) LOG: Appbase =3D C:\Documents and Settings\bfaruki\My Documents\Visual = Studio Proj ects\Development\QFTest\QFTest\bin\Debug\ LOG: Initial PrivatePath =3D NULL Calling assembly : QFTest, Version=3D1.0.1783.22060, Culture=3Dneutral, = PublicKeyTok en=3Dnull. =3D=3D=3D LOG: Found application configuration file (C:\Documents and = Settings\bfaruki\My Documents\Visual Studio = Projects\Development\QFTest\QFTest\bin\Debug\QFTest.exe. config). LOG: Policy not being applied to reference at this time (private, = custom, partia l, or location-based assembly bind). LOG: Post-policy reference: quickfix_net, Version=3D1.0.1773.22158, = Culture=3Dneutra l, PublicKeyToken=3Dnull LOG: Attempting download of new URL file:///C:/Documents and = Settings/bfaruki/My Documents/Visual Studio = Projects/Development/QFTest/QFTest/bin/Debug/quickfix_n et.DLL. =20 TIA, - Bill |