Visar inlägg med etikett Visual Studio 2010. Visa alla inlägg
Visar inlägg med etikett Visual Studio 2010. Visa alla inlägg

tisdag 7 december 2010

Add SafeControl entries with Visual Studio

Sometimes it is necessary to add SafeControl entries to your manifest.xml file manually. In Visual Studio 2010 you can either edit the manifest directly (by open the Package node of your project, view the Manifest and click on Edit Options) OR you can do it the safe and easy way:
  • Mark your element / module node
  • Find the "Safe Control Entries" in the properties and click the [...] button
  • Click the Add button on the dialog
  • Change the properties if necessary, and click ok.
Your SafeControl entries will now be added to the web.config.

onsdag 1 december 2010

Turn off Attach Security Warning

Do you get the disturbing Attach Security Warning every time you attach your debugger to a process? Make sure that Visual Studio is turned off, then change the following register key to 1 (true): HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger\DisableAttachSecurityWarning.

If Visual Studio isnt closed, the value will change back to 0. This should work for older versions of VS as well.