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\mdiMai n.vb:line 555
at System.Windows.Forms.ToolBar.OnButtonClick(ToolBar ButtonClickEventArgs
e)
at System.Windows.Forms.ToolBar.WmReflectCommand(Mess age& m)
at System.Windows.Forms.ToolBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& 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\De bug\
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. 2 8356
Are all the libraries in the correct location (the bin directory of the
project you are executing?). It's possible they compile binaries to the
wrong location. They should be in the same directory unless they are
registered COM controls or something.
"GeorgeB" <Ge*****@discussions.microsoft.com> wrote in message
news:B2**********************************@microsof t.com... 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\mdiMai n.vb:line 555 at System.Windows.Forms.ToolBar.OnButtonClick(ToolBar ButtonClickEventArgs e) at System.Windows.Forms.ToolBar.WmReflectCommand(Mess age& m) at System.Windows.Forms.ToolBar.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& 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\De bug\ 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.
All the assemblies are in the bin directory. The problem is with the debug
directory. The CLR searches there to find the assemblies! and then it states
that are missing!!
"Robin Tucker" wrote: Are all the libraries in the correct location (the bin directory of the project you are executing?). It's possible they compile binaries to the wrong location. They should be in the same directory unless they are registered COM controls or something.
"GeorgeB" <Ge*****@discussions.microsoft.com> wrote in message news:B2**********************************@microsof t.com...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\mdiMai n.vb:line 555 at System.Windows.Forms.ToolBar.OnButtonClick(ToolBar ButtonClickEventArgs e) at System.Windows.Forms.ToolBar.WmReflectCommand(Mess age& m) at System.Windows.Forms.ToolBar.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& 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\De bug\ 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Gronka |
last post by:
I've got a VB.NET windows application (written in VS .NET 2003) that makes a
call to WMI for retrieving the MAC Address from the client's PC. It works on
4 out of the 5 PC's tested so far. All...
|
by: ulf |
last post by:
Hello,
After I got a FileNotFoundException in my real life CSharp code, I nailed it
down to the following line:
System.EnterpriseServices.ResourcePool rp = new...
|
by: Karl Hungus |
last post by:
A cs file I compiled into an assembly dll is in my bin directory. In the cs
file I have a using statement for System.Xml
I compiled it using this command: csc /out:XmlContent.dll /t:library...
|
by: aallee83 |
last post by:
i'm new in asp.net after develop my solution i copied it on the server
where I want it to run but something cares... WHAT?!?!
thank you in advance
File or assembly name System, or one of its...
|
by: Eric van Wijk |
last post by:
Hi All,
After installing SP1 for Windows 2003, I'm running into the 'Error
loading type library/DLL' exception when using CDO through System.Web.Mail:
...
| |
by: James |
last post by:
Hi guys
Do you ever get the exception in Managed C++? How can I know which file or
dll is missed?
|
by: Olivier BESSON |
last post by:
Hello,
I have a web service of my own on a server (vb.net). I must declare it with
SoapRpcMethod to be used with JAVA.
This is a simple exemple method of my vb source :
...
|
by: kkizer |
last post by:
I have a problem with this simple code below. Moving the files works
perfectly, but once in a blue moon the file that it is trying to move
dissapears before it can move it. and when this happens...
|
by: jjlagtap |
last post by:
Hey everyone
When I try to open a file i get the Exception listed below. The weird thing is it works when I run the web app locally and when i use a remote server and open a file on my computer....
|
by: =?Utf-8?B?c2FtMDFt?= |
last post by:
I have a remoting application that was developed on a Windows XP SP2 machine
with VS2005 SP1. I finally got everything deployed using Wix 3.0, and it
works great. Problem is, when I install the msi...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |