By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

my class library doesn't contain an assembly - how to add an assem

P: n/a
I put together a simple test class libary (VB2005) with one class and one
function that takes an integer argument and adds 10 the argument and returns
that number. Then I created a simple VB2005 app to test my class library
function. I made a reference to testClassLib.dll in the new project. Then I
made a function calls in a button sub and wrote the results to the console.
This worked fine.

Now I am trying to add a reference to a Reporting Services app (RS2003) to
the same class library, but the RS app is complaining that my class library
does not contain an asssembly. How do I add an assembly to my class library?
Or do I have to write the class library in VB2003? Or is it a C# thing?

Thanks,
Rich
Nov 16 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
OK. I just rewrote my test class library in VB2003. Now RS2003 recognizes
it. In the project properties of my VB2003 class library it states Assembly
name and the name of the assembly. Does VB2005 not use assemblies anymore?
I am just asking for my own information. If VB2005 does use assemblies - how
do I add it to the class library dll?

Or is this an issue of No Backwards Compatability?

"Rich" wrote:
I put together a simple test class libary (VB2005) with one class and one
function that takes an integer argument and adds 10 the argument and returns
that number. Then I created a simple VB2005 app to test my class library
function. I made a reference to testClassLib.dll in the new project. Then I
made a function calls in a button sub and wrote the results to the console.
This worked fine.

Now I am trying to add a reference to a Reporting Services app (RS2003) to
the same class library, but the RS app is complaining that my class library
does not contain an asssembly. How do I add an assembly to my class library?
Or do I have to write the class library in VB2003? Or is it a C# thing?

Thanks,
Rich
Nov 16 '06 #2

P: n/a
I just created a test app in VB2003 and tried to reference my dll from
VB2005. It complained. So I guess there is no backwards compatability on
this.

"Rich" wrote:
OK. I just rewrote my test class library in VB2003. Now RS2003 recognizes
it. In the project properties of my VB2003 class library it states Assembly
name and the name of the assembly. Does VB2005 not use assemblies anymore?
I am just asking for my own information. If VB2005 does use assemblies - how
do I add it to the class library dll?

Or is this an issue of No Backwards Compatability?

"Rich" wrote:
I put together a simple test class libary (VB2005) with one class and one
function that takes an integer argument and adds 10 the argument and returns
that number. Then I created a simple VB2005 app to test my class library
function. I made a reference to testClassLib.dll in the new project. Then I
made a function calls in a button sub and wrote the results to the console.
This worked fine.

Now I am trying to add a reference to a Reporting Services app (RS2003) to
the same class library, but the RS app is complaining that my class library
does not contain an asssembly. How do I add an assembly to my class library?
Or do I have to write the class library in VB2003? Or is it a C# thing?

Thanks,
Rich
Nov 16 '06 #3

P: n/a
Rich wrote:
I just created a test app in VB2003 and tried to reference my dll from
VB2005. It complained. So I guess there is no backwards compatability on
this.
..Net 2.0 apps can reference .Net 1.1 assemblies. What was the
"complaint" from VS?

Nov 16 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.