使用Visual Studio在线构建定义来构建SSIS解决方案... MSBuild不支持.dtproj,因此无法构建 [英] Building SSIS solution using visual studio online build definition... .dtproj is not supported by MSBuild and cannot be built

查看:151
本文介绍了使用Visual Studio在线构建定义来构建SSIS解决方案... MSBuild不支持.dtproj,因此无法构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过Visual Studio Online创建了一个构建定义,该定义用于构建SSIS项目(dtproj).构建似乎成功,但是出现一条警告,指出"MSBuild不支持dtproj,无法构建".

I've created a build definition via visual studio online that builds an SSIS project (dtproj). The build appears to succeed but there is a warning that appears stating "dtproj is not supported by MSBuild and cannot be built".

SSDT已安装在构建服务器上.

SSDT has been installed on the build server.

有人知道为什么会出现此警告吗?

Does anyone have any ideas why this warning would be showing up?

推荐答案

MSBuild无法生成SSDT使用的项目文件格式.这是msbuild之前的visuals studio格式.

MSBuild cannot build the project file format that SSDT uses. It is a pre-msbuild visuals studio format.

有一种方法创建一个执行必要任务的msbuild项目,但是最简单的方法不是不为此项目使用MSBuild,而是通过Visual Studio命令行

There's a hacky way to create an msbuild project that performs the necessary tasks but the easiest way is not not use MSBuild for this project but build it via the visual studio command line devenv.exe /build. Since this builds from visual studio, it understands all project file formats and has the necessary SSDT plugins.

这篇关于使用Visual Studio在线构建定义来构建SSIS解决方案... MSBuild不支持.dtproj,因此无法构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆