|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using VB 2005 assemblies with VB 2003This should be simple.
I have a VB 2003 project that needs one VB 2005 component (I cannot just port the project as a key component is currently 2003 only). I created a class in VB 2005, tested it and compiled to a dll. VB 2003 will not let me reference this dll and says it is not a valid assembly. Is there something I'm doing wrong or is this just not possible. Thanks Peter Smith Pugwash,
Just not possible. Cor Show quoteHide quote "Pugwash" <pugwash@community.nospam> schreef in bericht news:OXuUTenUGHA.1564@TK2MSFTNGP11.phx.gbl... > This should be simple. > > I have a VB 2003 project that needs one VB 2005 component (I cannot just > port the project as a key component is currently 2003 only). > > I created a class in VB 2005, tested it and compiled to a dll. VB 2003 > will not let me reference this dll and says it is not a valid assembly. Is > there something I'm doing wrong or is this just not possible. > > Thanks > > Peter Smith > It is not possible because the .NET assembly 2.0 could use something
specific to .NET 2.0, such as new class library or some new feature of the language such as Generics. So, you can´t use 2.0 assemblies from 1.x code. But the opposite can work, that is, port to .NET 2.0 and use an assembly 1.x. See: Compatibility Considerations and Version Changes http://www.gotdotnet.com/team/changeinfo/ -- Show quoteHide quoteBest regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio You can code, design and document much faster: http://www.mztools.com "Pugwash" <pugwash@community.nospam> escribió en el mensaje news:OXuUTenUGHA.1564@TK2MSFTNGP11.phx.gbl... > This should be simple. > > I have a VB 2003 project that needs one VB 2005 component (I cannot just > port the project as a key component is currently 2003 only). > > I created a class in VB 2005, tested it and compiled to a dll. VB 2003 > will not let me reference this dll and says it is not a valid assembly. Is > there something I'm doing wrong or is this just not possible. > > Thanks > > Peter Smith >
Derived TextBox
Update an Access DB using VB.Net adding items to a listbox that are null problem Folder size in VB.NET? Generic path description - please help Financial.Rate Cannot calculate rate using the arguments provided Problem with - Edit Item of Collections.Generic.List(Of SearchAreaListItem) Abstract/Base Class Best Practices - Help VB 2005 .net- Login control - how do I validate user no / password against SQL server IntelliSense Code Comments? |
|||||||||||||||||||||||