What should you do to modify the application configuration file to target the .NET Framework 1.1 runtime?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are in the process of maintaining a .NET Framework 1.0 Windows application and need to configure the application to run using the .NET Framework 1.1.
The network computers of Domain.com all have three versions of .NET Framework (version 1.0, 1.1, and 2.0 installed side-by-side.
You are required to modify the application configuration file to target the .NET Framework 1.1 runtime.
What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are in the process of maintaining a .NET Framework 1.0 Windows application and need to configure the application to run using the .NET Framework 1.1.
The network computers of Domain.com all have three versions of .NET Framework (version 1.0, 1.1, and 2.0 installed side-by-side.
You are required to modify the application configuration file to target the .NET Framework 1.1 runtime.
What should you do?

A.
<configuration>
<startup>
<supportedRuntime version=”v2.0.50727″/>
<supportedRuntime version=”v1.1.4322″/>
<supportedRuntime version=”v1.0.3705″/>
</startup>
</configuration>

B.
<configuration>
<startup>
<supportedRuntime version=”v1.1.4322″/>
<supportedRuntime version=”v1.0.3705″/>
</startup>
</configuration>

C.
<configuration>
<startup>
<requiredRuntime version=”v1.1.4322″/>
</startup>
</configuration>

D.
<configuration>
<startup>
<supportedRuntime version=”v1.1.4322″/>
</startup>
</configuration>

Explanation:
To have your applications run under the required runtime in the scenario you should use the configuration section provided in the answer, this is the only correct method.
Incorrect Answers:
A: The method you are trying to use hear is incorrect as you would be executing against .NET Framework v2.0.
B: The method you are trying to use hear is incorrect as you would be executing against .NET Framework v1.1.
C: This method is used to indicate that the application only supports .Net Framework v1.0 and should not be used in the scenario.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


mr_tienvu

mr_tienvu

I agree with the answer.