You are creating a strong-named assembly named Braindumps1 that will be used in multiple applications. Braindumps1 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 Braindumps1 such that each application uses the latest build of Braindumps1. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You are creating a strong-named assembly named Braindumps1 that will be used in multiple
applications. Braindumps1 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 Braindumps1 such that each
application uses the latest build of Braindumps1. 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:
    <developmentMode developerInstallation="true"/>
C. Add the following XML element to the machine configuration file:
    <dependentAssembly>
    <assemblyIdentity name="Braindumps1"
    publicKeyToken="32ab4ba45e0a69a1"
    language="en-US" version="*.*.*.*" />
    <publisherPolicy apply="no" />
    </dependentAssembly>
D. Add the following XML element to the configuration file of each application that uses the 
    strong-named assembly:  
    <supportedRuntime version="*.*.*.*" />
E. Add the following XML element to the configuration file of each application that uses the 
    strong-named assembly:
    <dependentAssembly>
    <assemblyIdentity name="Braindumps1"
    publicKeyToken="32ab4ba45e0a69a1"language="en-US" version="*.*.*.*" />
    <bindingRedirect newVersion="*.*.*.*"/>
    </dependentAssembly>

Answer: A, B







No comments:

Post a Comment