Home All Groups Group Topic Archive Search About

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

Author
16 Nov 2006 6:46 PM
Rich
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

Author
16 Nov 2006 7:00 PM
Rich
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?

Show quoteHide quote
"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
Author
16 Nov 2006 7:04 PM
Rich
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.

Show quoteHide quote
"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
Author
16 Nov 2006 8:18 PM
Chris Dunaway
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?