zoukankan      html  css  js  c++  java
  • [Bug] 未找到导入的项目“C:Program Files (x86)MSBuildMicrosoftVisualStudiov11.0WebApplicationsMicrosoft.WebApplication.targets”

    This is very easy to do. Open your build definition and go to the "Process" page. Then under the "3. Advanced" group you have a property called "MSBuild Arguments". Place the parameter there with the following syntax "/p:VisualStudioVersion=12.0". Of course without the quotes. If you have more parameters, separate them with a space and not a comma.

    echo off
    
    path %SYSTEMROOT%Microsoft.NETFrameworkv4.0.30319
    
    msbuild.exe .srcElectricManagement.sln /t:Rebuild /p:Configuration=Release /p:VisualStudioVersion=12.0
    ::/l:FileLogger,Microsoft.Build.Engine;logfile=Build1.log
    
    msbuild  .srcElectricManagement.WebElectricManagement.Web.csproj /t:ResolveReferences;Compile /t:_WPPCopyWebApplication /p:Configuration=Release /p:VisualStudioVersion=12.0 /p:WebProjectOutputDir=....Release 
    ::/l:FileLogger,Microsoft.Build.Engine;logfile=Build2.log
    
    echo 编译当前项目完毕
    pause
    这个时候发现项目文件打不开,无法重新加载项目,这个时候可以尝试手动编译一下项目。

    参考
    http://www.cnblogs.com/shiningrise/p/3973962.html
  • 相关阅读:
    可以在Android上发定时短信
    Java的网络编程初识
    字节流与字符流的区别
    JAVA中的反射机制详解
    C语言C++语言中静态变量和静态函数
    Android网络编程
    C++中const用法总结
    Java中IO操作的基本规律
    面试智力题 (附答案)
    Java网络编程(总结)
  • 原文地址:https://www.cnblogs.com/wolf-sun/p/4955444.html
Copyright © 2011-2022 走看看