Visual Studio 2010 : Cant change target. Gives TargetFrameworkMoniker Error.

Posted by maxima120 on Stack Overflow See other posts from Stack Overflow or by maxima120
Published on 2010-03-19T23:16:22Z Indexed on 2010/03/19 23:21 UTC
Read the original article Hit count: 213

Filed under:

I have a console application which has target .NET 2.0

It is very short but full of unsafe code.

I converted it to VS 2010. I run it OK.

When I try to change "target framework" in properties to 3.5 or 4.0 it shows message box:

TargetFrameworkMoniker: Error parsing application configuration file at line 0. XML document must have a top level element.

the target then stays 2.0 anyway...

Any thoughts?

© Stack Overflow or respective owner

Related posts about visual-studio-2010