Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Msbuild ASPNETCOMPILER:';系统数据';或者它的一个依赖项_Msbuild_Aspnet Compiler - Fatal编程技术网

Msbuild ASPNETCOMPILER:';系统数据';或者它的一个依赖项

Msbuild ASPNETCOMPILER:';系统数据';或者它的一个依赖项,msbuild,aspnet-compiler,Msbuild,Aspnet Compiler,我正在设置一个新的构建服务器。我无法获取要生成的项目,因为运行32位msbuild时出现以下错误: (Build target) -> ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format. [c:\cod

我正在设置一个新的构建服务器。我无法获取要生成的项目,因为运行32位msbuild时出现以下错误:

(Build target) ->
ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'System.Data' or one of its dependencies. An attempt was made to load a program with an incorrect format. [c:\code\Mobile.metaproj]
32位msbuild调用:

c:\code>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /Mobile -p Mobile\ -f -d PrecompiledWeb\Mobile\
我通过使用64位版本找到了一种解决方法:

E:\code>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v /Mobile -p Mobile\ -f -d PrecompiledWeb\Mobile\
使用64位版本的msbuild,移动站点可以正常构建,但silver light项目将无法构建

这是一个陷阱22

如何让32位msbuild调用64位aspnet_编译器


如何更正32位aspnet_编译器?

这是用于网站项目还是Web应用程序项目?易卜拉欣·哈希米(Ibrahim Hashimi)说:你能再解释一下复制步骤吗?我不知道。该图标看起来像Web应用程序,但缺少C#。当我右键单击并点击属性时,会出现一个对话框。当我转到另一个Web应用程序上的属性时,我会看到属性页。该对话框缺少应用程序、Web、包、生成事件、资源、设置、注册路径和签名。请查看:我认为这是相同的问题。