Advertisement

05.20.2008 at 11:30PM PDT, ID: 23419787
[x]
Attachment Details

Unreferenced class library - how to build a DLL?

Asked by simonhazelgrove in .Net Class Libraries, Reflection for .Net, Visual Studio .NET 2005

Tags: c#

I have a VS2005 windows forms project in my solution, as well as severl class libraries.. One of the class libraries is not referenced by the app, it does that through reflection at runtime.

Because the class library is not referenced though, it does not build a DLL.  Or at least I presume that is why - it stopped producing a DLL as soon as I removed references to it.

I can see the text "/out:obj\Debug\MyLib.dll" in the output when it builds in the output.  All other class libraries (referenced ones) create DLLs fine.

How can I force the library to produce a DLL on build?Start Free Trial
[+][-]05.21.2008 at 03:53AM PDT, ID: 21613638

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Class Libraries, Reflection for .Net, Visual Studio .NET 2005
Tags: c#
Sign Up Now!
Solution Provided By: sjturner2
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628