VB.NET 2003 Standard Classes & DLL Creation by:Paul Woodward
|
Can the standard edition of VB.NET 2003 create DLL's? I have purchased the standard edition while I re-teach myself the VB language but I am struggling to create references to a class which is in the same Solution but in a different Project because it complains that the Class is not a DLL.
Any idea's if it is because I have the standard edition or I am doing something wrong?
Here is the exact error message: -
==== A reference to 'Class Name' could not be added. An assembly must have a 'dll' extension in order to be referenced. ====
Kind Regards,
Paul Woodward
|
| | Reply: by:Alex Papadimoulis
|
| | Paul,
To create a DLL, select ClassLibrary as the project type on a new project wizard. You will then need to Add a Reference to your classlibrary from your existing project.
-- Alex Papadimoulis
|
| | Reply: by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])
|
| | * "Paul Woodward" <nospam@myinbox.com> scripsit: > Can the standard edition of VB.NET 2003 create DLL's?
No.
"Workarounds":
Open the ".vbproj" file in notepad and change the 'outputtype' to 'library'.
Alternatively, you can use this add-in for Visual Basic .NET Standard:
<URL:http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=517>
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
|
| | Reply: by:Paul Woodward
|
| | Cheers Guys,
Your help is very much appreciated...
Regards,
Paul Woodward
|
0 Comments:
Post a Comment