PrepAway - Latest Free Exam Questions & Answers

You need to ensure that classes in the Web application project always reference the most recent version of the

You use the ASP.NET Web Application template to create an application in a new Visual Studio solution.
The project uses types that are defined in a class library project.
Source code for the class library is frequently modified.
You need to ensure that classes in the Web application project always reference the most recent version of the
class library types.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Add the class library project to the solution. Modify the class library project to add a reference to the Web
application project.

B.
Add the class library project to the solution. Modify the Web application project to add a referenceto the
class library project.

C.
Add a post-build step to the Web application project that copies the most recent version of the class library
assembly to the bin folder of the Web application.

D.
Add a post-build step to the class library project that copies the most recent version of the class library
assembly to the App_Code folder of the Web application. In the <compilation /> section of the web.config
file,
add an <assembly /> entry that specifies the location of the class library assembly.


Leave a Reply