Question:You are creating a strong-named assembly named Assembly1 that will be used in multiple applications. Assembly1 will be rebuilt frequently during the development cycle. You need to ensure that each time the assembly is rebuilt it works correctly with each application that uses it. You need to configure the computer on which you develop Assembly1 such that each application uses the latest build of Assembly1. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

 

A Create a DEVPATH environment variable that points to the build output directory for the strong- named assembly. 

B Add the following XML element to the machine configuration file: <dependentAssembly>
<assemblyIdentity name="Assembly1"
publicKeyToken="32ab4ba45e0a69a1"
 language="en-US" version="*.*.*.*" />
<publisherPolicy apply="no" />
</dependentAssembly> 

C Add the following XML element to the configuration file of each application that uses the strong- named assembly:
<supportedRuntime version="*.*.*.*" />
 

D Add the following XML element to the machine configuration file:
<developmentMode developerInstallation="true"/>
 

E Add the following XML element to the configuration file of each application that uses the strong- named assembly:

<dependentAssembly>
<assemblyIdentity name="Assembly1"
publicKeyToken="32ab4ba45e0a69a1"
 language="en-US" version="*.*.*.*" />
<bindingRedirect newVersion="*.*.*.*"/>
</dependentAssembly>

 

+ Answer
+ Report
Total Preview: 826

Copyright © 2024. Powered by Intellect Software Ltd