Tuesday, October 22, 2013

Tip 7.6: How to hide or show the Project Location Is Not Trusted message box

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



When you attempt to open a project hosted on a Universal Naming Convention (UNC) share (for example, \\server\folder), you'll get the following warning message box.

vstip760

If you want to see this message again, but previously you checked the Do Not Show This Message Again check box, you can go to Tools–Options–Projects And Solutions–General and check the Warn User When The Project Location Is Not Trusted check box.

VSTip760a

For more information on why UNC shares are not trusted or what to do about it, here's a pointer to the documentation: http://msdn.microsoft.com/en-us/library/bs2bkwxc.aspx.

Happy Programming! =)
Posted by Nils-Holger at 1:06 PM with 628 comments.

Monday, October 21, 2013

Tip 7.5: You can create temp or "throw away" projects

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



If you need to create small projects to try things out or you're not sure how you want to set up things before you save, there's an option for this. Go to Tools–Options–Projects And Solutions–General, and uncheck the Save New Projects When Created check box.

VSTip750

When this option is unchecked, the Location edit box and several others will be gone from the New Project dialog box.

VSTip750a

This tip is helpful to know in case you, like several readers who have contacted her, accidentally find yourself missing a few edit boxes.

Happy Programming! =)
Posted by Nils-Holger at 1:58 PM with 908 comments.

Sunday, October 20, 2013

Tip 7.4: You can use solution folders to hide projects

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



In the Solution Explorer, you can group projects inside of solution folders to improve the manageability of solutions that contain a large number of projects. With the focus on the Solution node in the Solution Explorer, the Add New Solution Folder button becomes available. Now you can drag projects into this solution folder, as shown next.

VSTip740

But let's actually hide the project. Right-click your newly created solution folder and choose Hide Folder. Now the project is hidden, and a new icon appears to unhide the projects. And yes, you can still build successfully in this state.

VSTip740a

Happy Programming! =)
Posted by Nils-Holger at 12:27 PM with 450 comments.