本文介绍了BuildTasks.Csc任务无法从组件装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我感到内疚,问这样一个问题在这里,但我在亏损,并会AP preciate一些帮助。

I feel guilty asking a question like this around here, but I'm at a loss and would appreciate some help.

一个验证的概念类似的Web应用程序是建立在一台PC上,并提出了一个回购在不同位置另一台PC上进行下载。这里原是一个自动构建功能设置在这里的Azure将建立并在入住时自动发布,但已被删除。事情两端工作,直到一方包括了大头排除变化。现在我看到了以下错误:

A proof-of-concept like web application was built on one PC and put up on a repo to download on another PC at a different location. There was originally an auto-build feature set up where Azure would build and publish automatically on check-in, but that was removed. Things were working on both ends until one side included a bulk of excluded changes. Now I'm seeing the following error:

在Microsoft。codeAnalysis.BuildTasks.Csc的任务不能结果
  从装配装
  ... \\包\\ Microsoft.Net.Compilers.1.0.0 \\建.. \\ TOOLS \\ Microsoft.Build.Tasks。codeAnalysis.dll。
  无法加载文件或程序
  文件:/// ... \\包\\ Microsoft.Net.Compilers.1.0.0 \\ TOOLS \\ Microsoft.Build.Tasks codeAnalysis.dll
  它依赖或1。该系统找不到指定的文件。
  确认声明是正确的,该程序集
  和它的所有依赖都可用,并且该任务包含一个
  实现Microsoft.Build.Framework.ITask公共类。

有没有人有从何处开始寻找这个问题有什么建议?

Does anyone have any suggestions on where to begin looking for the issue?

推荐答案

原来,包的NuGet被提交到库,打破一切。从回购删除项目\\项目\\ packages目录解决了所有的问题建立以来的NuGet上建立自动获取的软件包。

It turns out that NuGet packages were committed to the repository and breaking everything. Deleting the project\project\packages directory from the repo solved all build problems since NuGet fetches the packages automatically on build.

这篇关于BuildTasks.Csc任务无法从组件装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 07:28