English 中文(简体)
无法创建智能设备 CAB 项目
原标题:Msbuild not able to create Smart Device CAB Project

我试图为智能设备应用程序建立7.0团队。 我的视觉工作室解决方案包含两个项目:

  1. SmartRead -> The mobile application
  2. SmartReadInstaller -> A Smart Device CAB Project for creating CAB file

我的团队城市配置似乎成功地构建了智能阅读应用程序并创建了必要的文物。 但是,MSBild似乎无法处理智能ReadInstaller项目。 团队城市构建日志写道 :

vdproj没有MSBuild的支持,无法建造。

以下是完整的参考构建日志 :

[11:46:10]Checking for changes
[11:46:10]Publishing internal artifacts
[11:46:10]Clearing temporary directory: C:TeamCityuildAgent	empuildTmp
[11:46:10]Clean build enabled: removing old files from C:TeamCityuildAgentworke252314f72f0d569
[11:46:10]Checkout directory: C:TeamCityuildAgentworke252314f72f0d569
[11:46:10]Updating sources: server side checkout
[11:46:11]Starting: C:TeamCityuildAgentpluginsdotnetPlugininJetBrains.BuildServer.MsBuildBootstrap.exe /workdir:C:TeamCityuildAgentworke252314f72f0d569 /msbuildPath:C:WindowsMicrosoft.NETFrameworkv3.5MSBuild.exe
[11:46:11]in directory: C:TeamCityuildAgentworke252314f72f0d569
[11:46:13]SmartRead.sln.teamcity: Build target: TeamCity_Generated_Build (3s)
[11:46:13][SmartRead.sln.teamcity] TeamCity_Generated_Build (3s)
[11:46:13][TeamCity_Generated_Build] MSBuild (3s)
[11:46:13][MSBuild] SmartRead.sln: Build target: Rebuild (2s)
[11:46:13][SmartRead.sln] ValidateSolutionConfiguration
[11:46:13][ValidateSolutionConfiguration] Building solution configuration "Release|Any CPU".
[11:46:13]SmartReadSmartRead.csproj: Build target: Rebuild (2s)
[11:46:13][SmartRead.sln] Rebuild (2s)
[11:46:16][Rebuild] CallTarget
[11:46:16][CallTarget] SmartReadInstaller:Rebuild
[11:46:16][SmartReadInstaller:Rebuild] Warning
[11:46:16][Warning] C:TeamCityuildAgentworke252314f72f0d569SmartRead.sln warning MSB4078: The project file "SmartReadInstallerSmartReadInstaller.vddproj" is not supported by MSBuild and cannot be built.
[11:46:16]Process exited with code 0
[11:46:16]Publishing internal artifacts
[11:46:16][Publishing internal artifacts] Sending build.finish.properties.gz file
[11:46:16]Publishing artifacts
[11:46:16]Build finished

请注意, 我使用视觉工作室( sln) 来构建我的应用程序 。 如何解决这个问题? 我如何为我的工程建立 CAB 文件?

问题回答

MSBuild 不支持 VS 部署项目 。 您可以考虑将您的安装者移动到 < a href=" http://wixtoolset.org" rel = "nofollow norefererr" >WiX , 因为从下一个版本的 Vision Studio部署项目将变成 < a href= > http://blogs.msdn.com/b/buckh/archive/2011/03/17/ visual- studio-setup- project- vdproj-will- non-ship- with- future-vers-vers-vs.aspx" rel= "nofoln noreferr" >obsolete 。

对于目前使用Devinv 建造的项目,





相关问题
How can I overwrite file web.config with web.other.config?

I have a msbuild script with custom logic to deploy my service to the qa server automatically. I have to overwrite the default config with a dedicated one, but when I use <Copy SourceFiles="web....

How do I use MSBuild on a C# project with no compilable code

I have a C# web app project which actually has no ASP.Net or C# in it. It s just a single html page with some Javascript, CSS, and a couple of images. I want to use MSBuild to deploy a version of ...

您能否防止MSBuild.exe经营活动?

我用文字建造一些项目,偶尔利用习俗制造事件,给建筑系统造成了很大困难。 如果有可能,我想援引MSBuild.exe。

building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

How long does my Visual Studio C# compile take?

It seems like it should be possible to configure Visual Studio to print out how long the compile takes. Perhaps somewhere in the .sln file. If the sln is compiled from the command line using ...

热门标签