473,513 Members | 3,317 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Apr 18 '06 #1
6 865

"holysmokes99" <ho**********@hotmail.com> kirjoitti
viestissä:11*********************@v46g2000cwv.goog legroups.com...
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

It's possible but why not build both projects on the same platform?

Matti
Apr 18 '06 #2
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

Apr 18 '06 #3
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.

--

Best 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" <ho**********@hotmail.com> escribió en el mensaje
news:11**********************@e56g2000cwe.googlegr oups.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

Apr 19 '06 #4
More info:

Microsoft .NET Framework 1.1 and 2.0 (Beta) Compatibility
http://msdn.microsoft.com/library/de...etfxcompat.asp

Notice that .NET 2.0 applications won´t run on machines with only .NET 1.1
run-times.

--

Best 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" <ho**********@hotmail.com> escribió en el mensaje
news:11**********************@e56g2000cwe.googlegr oups.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

Apr 19 '06 #5
holysmokes99 wrote:
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?


I think it is, if you make use of COM Interop to get the two to talk to
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
Apr 19 '06 #6
Interesting suggestion, Rob. I'll give it a try when I get back to this
project in a couple of weeks.

Cheers,
Marcus

Apr 24 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
3002
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion from the world of 'agile development': stop making so many decisions and start writing some actual code!" -- Peter Hansen Scott David Daniels and...
6
2066
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB article: Microsoft Knowledge Base Article - 819267 INFO: HTTP GET and HTTP POST Are Disabled by Default ...
9
3185
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My questions are below... "David Good" wrote: > We have a network running both Win2k and Win2k3 webservers and our web sites > reside on a UNC network...
3
6600
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
6614
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net Framework Service Pack 1 in order to use ASP.net 1.1 and the net Framework 1.1...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7559
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
5701
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4756
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3248
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.