Help with framework hell

F

Frank Rizzo

I have a customer with my winform app that was written .net 1.1. It has
worked fine till now. He has just installed .net framework 2.0 and all
of a sudden the application is having all kinds of problems.

I thought that if the application is written in vs2003, it will by
default use .net 1.1 framework. Is this not the case?

What else should I be looking at?

Thanks.
 
L

Lyny

Hi,
I am not sure how but there is a way to specify what version of the
framework the program must use.
Look into that direction.
 
G

Guest

Frank,
Sounds to me like they may have uninstalled .NET 1.1. That's the first place
I'd look.
--Peter
 
F

Frank Rizzo

Peter said:
Frank,
Sounds to me like they may have uninstalled .NET 1.1. That's the first place
I'd look.
--Peter
That is the first place I looked at, but it was not meant to be an easy
problem to deal with.

I did the standard filemon/regmon/fuslogvw thing and the winapp does go
against 1.1 assemblies. However, it also goes against mscoree.dll,
which is the .NET execution engine. There is only one copy of
mscoree.dll (in windows/system32) and the 2.0 overwrote the 1.1 version.
So it's not really side by side on this DLL. Could this be an issue?
 
B

Brendan Green

To force an application to use a specific version of the framework, add this
to the app.config:

<configuration>
<startup>
<requiredRuntime version="v1.0.3705" safemode="true"/>
</startup>
</configuration>

Obviously, change the version to whatever you're targeting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top