单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe.
You use Microsoft Windows Installer to package the application.
You create an icon file named Application.ico.
You need to associate Application.ico with MyApp.exe when it is deployed.
What should you do?()
A. Use the File Types Editor tool.
B. Rename the icon file to MyApp.exe .ico.
C. Set the AddRemoveProgramsIcon property to Application.ico.
D. Use the File System Editor tool to set the Icon property to Application.ico.
相关考题
-
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()
A. In isolated storage.
B. On the database server.
C. In the ClickOnce data directory.
D. In the App.config file of the application. -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application requires frequent updates. You want to use the ClickOnce technology to distribute the application to Internet users. You need to ensure that the application is automatically updated without requiring user intervention. You also need to ensure that the users execute the most recent version of the application. What should you do when you publish the application? ()
A. Use Install the application from a file share. Select the Application is available online and offline option.
B. Use Install the application from CD-ROM or a DVD-ROM. Select the Application will not check for updates option.
C. Use Install the application from a Web site. Select the Application is available online only option.
D. Use Install the application from a Web site. Select the Application is available online and offline option. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()
A. Enable WPF tracing in the registry.Restart the application.
B. Enable tracing by modifying local Group Policy.Restart the application.
C. Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
D. Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.
