I installed Visual Studio 2013. Previously, my project was built in VS 2010.
I opened my project on VS 2013, and the project was automatically updated. I also updated project build options to use .Net 4.5.3 instead of 4.0.
The project is built and launched without errors. But I see more than 100 warnings that I have not seen before - everything is related to the Microsoft.Common.CurrentVersion.target file.
First warning, for example:
The 'TreatAsLocalProperty' attribute is not declared.
I am not familiar with the Microsoft.Common.CurrentVersion.target file. When I check the warnings, I see that this file comes from the msbuild \ 12.0 \ bin directory.
I see that I also have the msbuild \ 14.0 \ bin directory, although the file there looks very similar. I think maybe this was installed as part of the VS 2013 installation - maybe I should use this version of msbuild (?), But I'm not sure where to change it, and also not sure if this will fix the problem. I changed my .csproj file to version 14 link:
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
But it had no effect.
Perhaps there is something else that needs to be included in the project?
source
share