locked
Unable to change target framework MSTest Projects RRS feed

  • Question

  • OH MY GOSH HELP!

    VS2010 Keeps silently upgrading the target framework from 3.5 to 4 in our test projects.
    We're using Enterprise Library 5.0, Unity 2.0 and NHibernate (all 3.5 projects) and I keep getting extraneous errors in our tests. I create a test project, write a couple of tests and wham they work great. I check the code in, come back the next day and run the same tests and they fail because they can't find a given .dll. I go and try and add the reference to the supposedly missing dll and I can't because the target framework of the test project has been magically changed to 4 and won't allow me to add them.  I would not have suggested upgrading to vs2010 if I had had any idea that this would happen. Anyone have any idea how to deal with this?

    Thanks in advance.

    Wednesday, July 21, 2010 2:12 PM

Answers