简体   繁体   English

Visual Studio 2013生成问题

[英]Visual Studio 2013 build issue

I'm using Workflow Foundation under Visual Studio 2013 (latest service pack). 我正在Visual Studio 2013(最新Service Pack)下使用Workflow Foundation。 My project compiled fine for a while, but started throwing the following error. 我的项目编译了一段时间,但开始引发以下错误。

XC1020: Build error occurred in the XAML MSBuild task: 'Object '/f537cd6c_c118_4d1c_959d_a05ed0d0c69d/na6q2vzvjwxy+8ncvo zsuonu_65.rem' has been disconnected or does not exist at the server. XC1020:XAML MSBuild任务中发生构建错误:'Object'/ f537cd6c_c118_4d1c_959d_a05ed0d0c69d / na6q2vzvjwxy + 8ncvo zsuonu_65.rem已断开连接或在服务器上不存在。

I tried to delete the folder and get latest from github, then rebooted - but the error still appears. 我试图删除该文件夹并从github获取最新信息,然后重新启动-但错误仍然出现。 I also moved the folder to a higher root level in the file system, just in case the length of the file path caused issues with MSBuild. 我还将该文件夹移到了文件系统中的更高根级别,以防万一文件路径的长度引起了MSBuild的问题。

Is this a dll dependency error, or could it be something else? 这是dll依赖项错误,还是其他原因? Just in case it's a resource issue, the VM in question has 30GB of ram and 6 cores. 以防万一这是资源问题,该虚拟机具有30GB的ram和6个内核。

A Microsoft employee gave me the solution: The problem can be solved by adding the following to app.config under configuration 一位Microsoft员工为我提供了解决方案:可以通过在配置下将以下内容添加到app.config中来解决问题

<system.codedom>

    <compilers>

      <compiler language="c#"

      type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.5.1, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".cs" compilerOptions="/nostdlib /d:DEBUG;TRACE /warnaserror-" warningLevel="0"/>

      <!-- /nowarn:0162,0108,0114,0252 -->

    </compilers>

  </system.codedom>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM