Joey Gfd
Joey Gfd

Reputation: 509

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 those changes to be saved to the original project (the changes will NEVER be needed again). How do I do this?

Upvotes: 0

Views: 61

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1500065

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.

Upvotes: 2

Related Questions