相关疑难解决方法(0)

ASPNETCOMPILER错误ASPCONFIG:无法加载文件或程序集"Microsoft.VisualBasic.Activities.Compiler"或其依赖项之一

我刚刚将我的项目从3.5升级到Asp.Net 4.当构建从TeamCity开始时,我收到以下错误:

[Project "Website.metaproj" (Rebuild target(s)):] C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Website -p Website\ -u -f PrecompiledWeb\Website\
[12:11:50]: [Project "Website.metaproj" (Rebuild target(s)):] ASPNETCOMPILER error ASPCONFIG: Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies. An attempt was made to load a program with an incorrect format.
[12:11:50]: MSBuild output:
[12:11:50]: Copying file from "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Dependencies\wnvxls.dll" to "Website\\Bin\wnvxls.dll".
[12:11:50]: Copying file from "C:\Program Files\TeamCity\buildAgent\work\8bbb8fc03bd91944\Dependencies\wnvxls.xml" to "Website\\Bin\wnvxls.xml".
[12:11:50]: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Website -p Website\ -u -f PrecompiledWeb\Website\
[12:11:50]: ASPNETCOMPILER : error ASPCONFIG: Could …
Run Code Online (Sandbox Code Playgroud)

.net teamcity aspnet-compiler .net-4.0

18
推荐指数
3
解决办法
4万
查看次数

标签 统计

.net ×1

.net-4.0 ×1

aspnet-compiler ×1

teamcity ×1