|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
1.1 and 2.0 .Net framework in same application?I suppose this is a somewhat naive question, but here goes anyway. Is
it possible for me to develop a 2.0 framework dll and reference it in an application built in 1.1 (provided that both 1.1 and 2.0 framworks are installed on the machine)? Thx, Marcus "holysmokes99" <holysmoke***@hotmail.com> kirjoitti viestissä:1145398014.732510.62***@v46g2000cwv.googlegroups.com...>I suppose this is a somewhat naive question, but here goes anyway. Is It's possible but why not build both projects on the same platform?> it possible for me to develop a 2.0 framework dll and reference it in > an application built in 1.1 (provided that both 1.1 and 2.0 framworks > are installed on the machine)? > > Thx, > Marcus > Matti We already have a large application built in 1.1, and are not yet ready
to port it over to 2.0 as there will no doubt be upgrading growing pains that will need to be resolved. However, if we could add 2.0 framework dlls for added functionality, then that would be great. Is this really possible? Thanks, Marcus I don´t think so, and if possible is not advisable to use .NET 2.0 code from
..NET 1.1 code since the .NET 2.0 code can use stuff that is not understood by the .NET 1.1 run-times. -- 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 "holysmokes99" <holysmoke***@hotmail.com> escribió en el mensaje news:1145400935.363341.202740@e56g2000cwe.googlegroups.com... > We already have a large application built in 1.1, and are not yet ready > to port it over to 2.0 as there will no doubt be upgrading growing > pains that will need to be resolved. However, if we could add 2.0 > framework dlls for added functionality, then that would be great. Is > this really possible? > > Thanks, > Marcus > More info:
Microsoft .NET Framework 1.1 and 2.0 (Beta) Compatibility http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/netfxcompat.asp Notice that .NET 2.0 applications won´t run on machines with only .NET 1.1 run-times. -- 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 "holysmokes99" <holysmoke***@hotmail.com> escribió en el mensaje news:1145400935.363341.202740@e56g2000cwe.googlegroups.com... > We already have a large application built in 1.1, and are not yet ready > to port it over to 2.0 as there will no doubt be upgrading growing > pains that will need to be resolved. However, if we could add 2.0 > framework dlls for added functionality, then that would be great. Is > this really possible? > > Thanks, > Marcus > holysmokes99 wrote:
> We already have a large application built in 1.1, and are not yet ready I think it is, if you make use of COM Interop to get the two to talk to > to port it over to 2.0 as there will no doubt be upgrading growing > pains that will need to be resolved. However, if we could add 2.0 > framework dlls for added functionality, then that would be great. Is > this really possible? one another. Of course, if you do that, you'll be limited to what data COM can marshal. I think to guarantee it, though, you'd need to make sure the 2.0 stuff had its own appdomain. To accomplish that I think you'd need to write an out-of-process COM server (COM EXE), perhaps something in VB6 (just to make it relatively easy), which in turn called the 2.0-dependent .NET assembly. You would reference the COM EXE libraries through a reference in your .NET 1.1 app. Then again, I've never tried any of this. That much loose linkage is bound to be less than optimal... Rob Interesting suggestion, Rob. I'll give it a try when I get back to this
project in a couple of weeks. Cheers, Marcus
Emailing with default client
Regular Expression Help...Line Break CreateObject internet access Reference different versions of an ActiveX-dll checking for element in xml document Is it possible to compile an image file into a DLL or EXE file? Dynamically reading structure fields Two way collection Free unzip plug-in for VB.NET? Desktop integrated file browser |
|||||||||||||||||||||||