小编Ned*_*Ned的帖子

MSBuild命令行错误 - 未安装Silverlight 4 SDK

我的MSBuild命令行如下:

msbuild e:\code\myProject.csproj /p:Configuration=Debug /p:OutputPath=bin/Debug /p:Platform=x86 /p:PlatformTarget=x86

该项目在VS2010中的开发机器上构建良好,但不是上面的命令.我正在运行Win 7 64位.我收到一条错误消息,说我没有安装Silverlight 4 SDK,但我确实如此.我已经阅读了一些帖子,你必须设置Platform = x86但无济于事.以下是完整的错误消息:

Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 6/8/2010 4:03:38 PM.
Project "E:\code\dashboards\MyProject2010\MyProject2010.Web\MyProject2010
.web.csproj" on node 1 (default targets).
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
les are up-to-date with respect to the input files.
CoreCompile:
Skipping target "CoreCompile" because all output files are up-to-date with resp
ect to the input files. …

msbuild silverlight silverlight-4.0

36
推荐指数
4
解决办法
2万
查看次数

标签 统计

msbuild ×1

silverlight ×1

silverlight-4.0 ×1