sln.DotSettings file using a layer gets changed when opening solution in VS2010
Hello,
using VS2010 and ReSharper 6.1.1000.82 we created a Shared.DotSettings file which is added to the code repository and as a layer to a VS solution. The generated sln.DotSettings file contains the path to the solution in the two /Default/Environment/InjectedLayers/InjectedLayerCustomization lines. If we checkout the same solution to a different location the sln.DotSettings file is automatically changed with two additional lines containing the path of the new checkout directory. This happens when opening the solution in VS2010. Now the user has changes in the sln.DotSettings files. Is there a way to avoid these changes?
Best Regards,
Helios
Please sign in to leave a comment.
Hello Helios
In order to avoid this behavior you can save the shared settings directly in the <solution_name>.sln.DotSettings file (e.g. directly in the Team-Shared Layer) for each solution. That way, it won't depend on where the solution is actually located. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"