Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

To be able to target your test project...

$
0
0
Hi Guys

Just wondering if anyone can shed any light on this. I've joined a company where I need to work on a solution with another developer using VS2010 SP1 but targetting framework 3.5. This solution has a couple of test projects in it which, similarly, target 3.5. This solution is working fine in the other developers (apparently) idenical install of VS. But when I try to load the solution I get the message:-
"To be able to target your test project to .Net framework 3.5 you must use the steps documented at the following Microsoft Web site: http://go.microsoft.com/fwlink/?LinkID=201405"
Here's a link to that site.

The problem is that those steps don't make sense in my context. They're all about creating a new test project whereas as I'm trying to get an existing one to work. I can't access the properties of the test project to change it's target framework through the ide because the project isn't loadeed - and won't load. I can edit the csproj file but that has the target platform set to 3.5 already which I think is the equivalent of what the steps in that article are expecting me to do via the API. Here's the relevant line from the config file: <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>. I've tried changing that to version 4.0 which allows the project to load but then I an't set it back to 3.5 in the ide. If I do set it back the project closes and then fails to reload giving the same error message as before. I don't really want to upgrade the framework without some proper planning.

I've done some googling and lots of folks had this issue but it was apparently fixed by SP1. SP1 is installed. At this point I'm stuck. Any suggestions.

Viewing all articles
Browse latest Browse all 27349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>