Configuration settings and resulting error message

  • Thread starter Thread starter GW
  • Start date Start date
G

GW

Hi all,

I just would like other users out there to help me confirm some
behaviors with the following configuration file layout:

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

What would this configuration file give me (as in error messages, if
there is one) in the following scenarios:
1. a system with only .NET 1.0 installed
2. a system with both .NET 1.1 and 2.0 installed
3. a system with only .NET 2.0 installed, and
4. a system with no .NET is installed

Thanks
GW
 
Assuming the program was built with .NET 1.1:

1. Program doesn't run
2. Program runs using .NET 1.1
3. Program doesn't run
4. Program doesn't run

Also, <requiredRuntime> is only used for .NET 1.0

Hi all,

I just would like other users out there to help me confirm some
behaviors with the following configuration file layout:

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

What would this configuration file give me (as in error messages, if
there is one) in the following scenarios:
1. a system with only .NET 1.0 installed
2. a system with both .NET 1.1 and 2.0 installed
3. a system with only .NET 2.0 installed, and
4. a system with no .NET is installed

Thanks
GW
 
Yes, I know what the result would be. I am just looking for the exact
error messages that would pop up, if there is one for each case.
 
I guess I wasn't very clear on what I was trying to get at. I basically
want to set up the config file such that I would see the following
error message when .NET 1.1 is not found on a system:

========================================================

To run this application, you first must install one of the following
versions of the .Net Framework:

1.1.4322

Contact your application publisher for instructions about obtaining the

appropriate version of the .Net Framework.

========================================================

However, it doesn't seem to work very well in cases 1, 3, and 4. Does
anyone know why that is?
 
Back
Top