|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
my class library doesn't contain an assembly - how to add an assemI 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 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 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 Rich wrote:
> I just created a test app in VB2003 and tried to reference my dll from ..Net 2.0 apps can reference .Net 1.1 assemblies. What was the> VB2005. It complained. So I guess there is no backwards compatability on > this. "complaint" from VS?
RaiseEvent
appsetting in class doesn't work Howto Identify an Exception? Speeding up array/file loading Export function from VB.Net DLL vb 2005 standard question Can a base class implement a method on an interface for me? how mutch memory aspnet_wp.exe must use Class.New and DB mapping SECURITY PROBLEMS IN VB.NET |
|||||||||||||||||||||||