in

Platinum Bay

Peace, Love, and...

This Blog

Syndication


.NETicated

Visual Studio: Easily Edit Project Files

In case you aren't aware, project files like .CSPROJ and .VBPROJ are really MSBuild project files, and as such, you can edit them to perform additional tasks, include targets, and more. I have often found myself editing them in Notepad because I believed it was the easiest way. As of today I am using Notepad no more, at least for editing project files.

This is because you can work with project files directly in Visual Studio without closing your project, and with full IntelliSense and syntax highlighting. Simply right-click the project node in the Solution Explorer tool window and select Unload Project. Then right-click on the project file again, and select Edit [Project Name]. You can now edit the project file with full Visual Studio editor window support.

When you are done editing the project file, right-click on the project node and choose the Reload Project command.

Simple, eh?

Published Mar 17 2008, 12:16 AM by Steve
Filed under: ,

Comments

No Comments

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews is an independent consultant, INETA speaker, and Microsoft MVP for Visual Studio ALM. He has been working in technology for over ten years focusing on custom application development and Application Lifecycle Management. Steve is also Microsoft and IBM certified and a community fanatic having led sessions at nearly 100 events across North America. When he's not developing software solutions or engaging with the community about software technology, Steve is a closet singer and songwriter and plays the guitar and keys. Occasionally, Steve even gets to sleep. Occasionally.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.