vs2010 opencv配置搞乱了

C:\Users\XXXXX\AppData\Local\Microsoft\MSBuild\v4.0

XXXXX处为你的用户名

这个文件存储着MS的配置文件,比如说opencv或者wincap的时候,像我一样悲剧把配置搞乱的话,就重新改一下吧

 

  1. <?xml version="1.0" encoding="utf-8"?>  
  2. <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">  
  3.   <ImportGroup Label="PropertySheets" />  
  4.   <PropertyGroup>  
  5.     <ExecutablePath>$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);</ExecutablePath>  
  6.     <IncludePath>$(IncludePath)</IncludePath>  
  7.     <ReferencePath>$(VCInstallDir)atlmfc\lib;$(VCInstallDir)lib</ReferencePath>  
  8.     <LibraryPath>$(LibraryPath)</LibraryPath>  
  9.     <SourcePath>$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\mfcm;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src;</SourcePath>  
  10.     <ExcludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(MSBuildToolsPath32);$(VCInstallDir)atlmfc\lib;$(VCInstallDir)lib;</ExcludePath>  
  11.   </PropertyGroup>  
  12. </Project>  

 

至于那个布局什么的恢复默认的话,你就点

tools--import and export settings wizard---reset all settings!

 

posted @ 2013-03-11 15:07  越影&逐日而行  阅读(129)  评论(0编辑  收藏  举报