2012年12月5日 星期三

Fix VS 2012 building error

The default setting is located at: X:\Users\[User Name]\AppData\Local\Microsoft\MSBuild\v4.0. Th change the setting, please open it and modify it.

The default is as following:

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets">
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup />
  <ItemDefinitionGroup />
  <ItemGroup />
</Project>

If you forget the default setting, that's ok. Remving the file then re-open VS 2012. It will generate the default for you.

沒有留言: