Visual Studio, how to add a project, but not save changes to the original project?
I want to add a project to a solution and make changes to it, but I don't want tho开发者_StackOverflow社区se changes to be saved to the original project (the changes will NEVER be needed again). How do I do this?
I assume you mean you don't want the changes to the original solution to be saved.
I would simply take a backup of the solution file, and put it back again afterwards. If your solution is in source control, simply revert it.
You could try making the solution file read-only, but I suspect that Visual Studio will complain.
精彩评论