我试图为智能设备应用程序建立7.0团队。 我的视觉工作室解决方案包含两个项目:
- SmartRead -> The mobile application
- 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 文件?