What should you do to ensure the following requirements are met?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application displays an image that is defined as an application resource.
You need to ensure that the following requirements are met:
* The image file must appear in the output directory after the build.
* The image can be modified without being rebuilt.
What should you do?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application displays an image that is defined as an application resource.
You need to ensure that the following requirements are met:
* The image file must appear in the output directory after the build.
* The image can be modified without being rebuilt.
What should you do?

A.
Include the image in your project. Set the Build Action property for the file to Resource.
Set the Copy to Output Directory property to Copy if newer.

B.
Include the image in your project. Set the Build Action property for the file to Content.
Set the Copy to Output Directory property to Copy if newer.

C.
Include the image in your project. Set the Build Action property for the file to Embedded Resource.
Set the Copy to Output Directory property to Copy always.

D.
Include the image in your project. Set the Build Action property for the file to ApplicationDefinition.
Set the Copy to Output Directory property to Copy if newer.



Leave a Reply 0

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