G
Guest
I have built a solution in vb.net with 2 projects the project with the class
libraries and the project which consumes them.
The class library project references some other libraries(Different Class
projects).
The solution compiles without a problem.
I cannot run the solution in debug mode within the IDE, despite that ALL the
projects are for debugging.
The app run correctly when I invoke it outside the IDE from the bin directory.
I used the FUSLOGVW.exe and it logs too that it cannot find the assemblies
and searches in the "wrong" places.
Any Ideas or solution will be more than helpfull.
The log states that :
************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name CSLA, or one of its
dependencies, was not found.
File name: "CSLA"
at Xenios.MdiMain.DoLogin()
at Xenios.MdiMain.ToolBarMain_ButtonClick(Object sender,
ToolBarButtonClickEventArgs e) in
C:\Projects\Xenios\XeniosZeus\Xenios\Xenios\mdiMain.vb:line 555
at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs
e)
at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
at System.Windows.Forms.ToolBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
=== Pre-bind state information ===
LOG: DisplayName = CSLA, Version=1.4.0.0, Culture=neutral,
PublicKeyToken=425badbc16d377eb
(Fully-specified)
LOG: Appbase = C:\Projects\Xenios\XeniosZeus\Xenios\Xenios\obj\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : Xenios, Version=1.0.2061.26919, Culture=neutral,
PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CSLA, Version=1.4.0.0, Culture=neutral,
PublicKeyToken=425badbc16d377eb
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA.DLL.
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA/CSLA.DLL.
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA.EXE.
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA/CSLA.EXE.
libraries and the project which consumes them.
The class library project references some other libraries(Different Class
projects).
The solution compiles without a problem.
I cannot run the solution in debug mode within the IDE, despite that ALL the
projects are for debugging.
The app run correctly when I invoke it outside the IDE from the bin directory.
I used the FUSLOGVW.exe and it logs too that it cannot find the assemblies
and searches in the "wrong" places.
Any Ideas or solution will be more than helpfull.
The log states that :
************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name CSLA, or one of its
dependencies, was not found.
File name: "CSLA"
at Xenios.MdiMain.DoLogin()
at Xenios.MdiMain.ToolBarMain_ButtonClick(Object sender,
ToolBarButtonClickEventArgs e) in
C:\Projects\Xenios\XeniosZeus\Xenios\Xenios\mdiMain.vb:line 555
at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs
e)
at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
at System.Windows.Forms.ToolBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
=== Pre-bind state information ===
LOG: DisplayName = CSLA, Version=1.4.0.0, Culture=neutral,
PublicKeyToken=425badbc16d377eb
(Fully-specified)
LOG: Appbase = C:\Projects\Xenios\XeniosZeus\Xenios\Xenios\obj\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : Xenios, Version=1.0.2061.26919, Culture=neutral,
PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CSLA, Version=1.4.0.0, Culture=neutral,
PublicKeyToken=425badbc16d377eb
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA.DLL.
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA/CSLA.DLL.
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA.EXE.
LOG: Attempting download of new URL
file:///C:/Projects/Xenios/XeniosZeus/Xenios/Xenios/obj/Debug/CSLA/CSLA.EXE.