M
Markus Strobl
Hi!
I always supposed when i compile .NET assemblies using VS.NET 2003 they will
definitely use .NET Framework 1.1 and .NET assemblies compiled with VS.NET
2005 will use .NET Framework 2.0.
(I except tricking around using .config-files).
Now we ran into situations where .net framework versions seem to interfere
each other.
We're using COM-callable wrappers for integrating .NET technology into our
old Win32-Applications.
As those CCW where compiled using VS.NET 2003 they always where using .NET
Framework 1.1 as supposed.
Then i installed VS.NET 2005 with .NET Framework 2.0 on my development
machine and suddenly i noticed that System.Environment.Version.ToString()
returns 2.0.50727.42.
A i'm a suspicious person i used Process Explorer to see whats really used
and voila: only 2.0 assemblies are used although the component hasn't
changed!!!!
Then i tried to use the component from a .net 1.1 application in .net style
without the COM-callable wrapper and the result was that
System.Environment.Version.ToString() returned 1.1.4322.2032 again, a lot of
1.1 assemblies were used but still it uses aspnet_perf.dll from the 2.0
Framework for some reason?! Additionally C/C++ Runtime 8.0 is loaded into
this process.
Could anybody shed some light on this confusing behavior?
I'm using Windows XP SP2 btw.
Thanks a lot in advance
Best Wishes
Markus
I always supposed when i compile .NET assemblies using VS.NET 2003 they will
definitely use .NET Framework 1.1 and .NET assemblies compiled with VS.NET
2005 will use .NET Framework 2.0.
(I except tricking around using .config-files).
Now we ran into situations where .net framework versions seem to interfere
each other.
We're using COM-callable wrappers for integrating .NET technology into our
old Win32-Applications.
As those CCW where compiled using VS.NET 2003 they always where using .NET
Framework 1.1 as supposed.
Then i installed VS.NET 2005 with .NET Framework 2.0 on my development
machine and suddenly i noticed that System.Environment.Version.ToString()
returns 2.0.50727.42.
A i'm a suspicious person i used Process Explorer to see whats really used
and voila: only 2.0 assemblies are used although the component hasn't
changed!!!!
Then i tried to use the component from a .net 1.1 application in .net style
without the COM-callable wrapper and the result was that
System.Environment.Version.ToString() returned 1.1.4322.2032 again, a lot of
1.1 assemblies were used but still it uses aspnet_perf.dll from the 2.0
Framework for some reason?! Additionally C/C++ Runtime 8.0 is loaded into
this process.
Could anybody shed some light on this confusing behavior?
I'm using Windows XP SP2 btw.
Thanks a lot in advance
Best Wishes
Markus