Opening up a pre-beta whidbey project in Beta1: MSBuildVersion warnings

I hadn’t noticed this elsewhere, so just wanted to “log” it. Opening up a VB.NET project built in the May bits in the new Beta1 gives you this warning 3 times:

The “MSBuildVersion” attribute is deprecated. If the project is authored in the MSBuild 2003 format, please remove the attribute from the <Project> tag. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.      

The attribute can be found in the files that define the project (vbproj and vbproj.user).

To fix this, you can open up the actual project file (whatever.vbproj) in notepad.

The first parameter of the <Project> tag (in my situation) is:

MSBuildVersion=”2.0″

delete it.

Do the same in the user file (whatever.vbproj.user)

By deleting that attribute in these two files, I was able to get rid of all three.

I am 99% confident of this (it worked for me) but if I hear any reason why this is bad info, I will modify this post.

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.