开发者

Visual Studio, how to add a project, but not save changes to the original project?

开发者 https://www.devze.com 2023-03-23 14:33 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消