Question:Your company uses an application named Application1 that was compiled by using the .NET Framework version 1.0. The application currently runs on a shared computer on which the .NET Framework versions 1.0 and 1.1 are installed.
You need to move the application to a new computer on which the .NET Framework versions 1.1 and 2.0 are installed. The application is compatible with the .NET Framework 1.1, but it is incompatible with the . NET Framework 2.0.
You need to ensure that the application will use the .NET Framework version 1.1 on the new computer.
What should you do?
 

A Add the following XML element to the machine configuration file.
<configuration>
<runtime>
<assemblyBinding
xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Application1"
publicKeyToken="32ab4ba45e0a69a1"
culture="neutral" />
<bindingRedirect oldVersion="1.0.3075.0"
newVersion="1.1.4322.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime> 

B Add the following XML element to the application configuration file.
<configuration>
<startup>
<supportedRuntime version="1.1.4322" />
<startup>
</configuration> 

C Add the following XML element to the application configuration file.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Application1" publicKeyToken="32ab4ba45e0a69a1" culture="neutral" /> <bindingRedirect oldVersion="1.0.3075.0" newVersion="1.1.4322.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> 

D Add the following XML element to the machine configuration file.
<configuration>
<startup> <requiredRuntime version="1.1.4322" />
<startup>
</configuration> 

+ Answer
+ Report
Total Preview: 913

Copyright © 2024. Powered by Intellect Software Ltd