project specific settings for unit test projects

How can I change some settings only for a specific project in my solution?

For my unit test  (MSpec)  projects in my solution I would like to modify several resharper settings as described here:

http://codebetter.com/blogs/aaron.jensen/archive/2008/10/19/getting-resharper-and-vs-to-play-nice-with-mspec.aspx

Now in all other projects I would like to keep those settings because they do make sense  - just not for MSpec. Is there a way to achieve this?

2 comments
Comment actions Permalink

Hello,

The settings under ReSharper | Options | Languages | C# | Other will be applied
to all solutions if you have 'Not shared, applies to all solutions opened
by current user' option selected under ReSharper | Options | Languages |
Common | Code Style Sharing. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

For my MSpec projects in my solution I would like to modify several
resharper settings as described here:

http://codebetter.com/blogs/aaron.jensen/archive/2008/10/19/getting-re
sharper-and-vs-to-play-nice-with-mspec.aspx

Now in all other projects I would like to keep those settings. Is
there a way to achieve this?

---
Original message URL:
http://devnet.jetbrains.net/message/5280065#5280065



0
Comment actions Permalink

As the test projects are usually part of the same solution as the actual code I would like to have different resharper settings within the same solution. Also these settings affected are not only in ReSharper | Options | Languages | C# | Other. For example there are also some inspection severety settings and naming rules that need to be turned off or modified for unit test projects. I am surpised that no one seems to have stumbled across this so far. I think it is a pretty bad idea to turn off usefull settings solutionwide just because of those darn unit tests.

0

Please sign in to leave a comment.