Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.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
TFS 2017,由于解决方案中的ssrs项目,构建失败_Tfs_Tfsbuild - Fatal编程技术网

TFS 2017,由于解决方案中的ssrs项目,构建失败

TFS 2017,由于解决方案中的ssrs项目,构建失败,tfs,tfsbuild,Tfs,Tfsbuild,我正在为解决方案创建构建,该解决方案有两个项目(SSI、SSR和SSA),我发现以下错误。我认为这是因为解决方案中的SSR。我接受了VS build并通过了MSBuild arguremnts:/ignore:.dtproj、.rptproj 错误消息: Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68):Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advo

我正在为解决方案创建构建,该解决方案有两个项目(SSI、SSR和SSA),我发现以下错误。我认为这是因为解决方案中的SSR。我接受了VS build并通过了MSBuild arguremnts:/ignore:.dtproj、.rptproj

错误消息:

Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68):Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68,11): Error MSB4226: The imported project "O:\Microsoft Visual Studio\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" was not found. Also, tried to find "Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "O:\Microsoft Visual Studio\MSBuild\15.0\Bin\msbuild.exe.Config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.
Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3):Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3,3): Error MSB4067: The element <DeploymentModel> beneath element <Project> is unrecognized.
Process 'msbuild.exe' exited with code '1'.
Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3):Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3,3): Error MSB4067: The element <DeploymentModel> beneath element <Project> is unrecognized.
C:\Program Files (x86)\MSBuild\Business Intelligence Semantic Model\1.0\Microsoft.AnalysisServices.VSHostBuilder.targets(71):C:\Program Files (x86)\MSBuild\Business Intelligence Semantic Model\1.0\Microsoft.AnalysisServices.VSHostBuilder.targets(71,7): Error MSB4062: The "Microsoft.AnalysisServices.VSHostBuilder.SemanticModelGetOutputFilesTask" task could not be loaded from the assembly O:\Microsoft Visual Studio\MSBuild\Business Intelligence Semantic Model\1.0\Microsoft.AnalysisServices.VSHostBuilder.dll. Could not load file or assembly 'file:///O:\Microsoft Visual Studio\MSBuild\Business Intelligence Semantic Model\1.0\Microsoft.AnalysisServices.VSHostBuilder.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68):Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68,11): Error MSB4226: The imported project "O:\Microsoft Visual Studio\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" was not found. Also, tried to find "Reporting Services\Microsoft.ReportingServices.MSBuilder.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "O:\Microsoft Visual Studio\MSBuild\15.0\Bin\msbuild.exe.Config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.
Process 'msbuild.exe' exited with code '1'.
Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68):Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68,11):错误MSB4226:找不到导入的项目“O:\Microsoft Visual Studio\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets”。此外,尝试在$(MSBuildExtensionPath)-“C:\Program Files(x86)\MSBuild”的回退搜索路径中查找“Reporting Services\Microsoft.ReportingServices.MSBuilder.targets”。这些搜索路径在“O:\Microsoft Visual Studio\MSBuild\15.0\Bin\MSBuild.exe.Config”中定义。确认声明中的路径正确,并且文件存在于磁盘上的某个搜索路径中。
Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3):Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3,3):错误MSB4067:无法识别元素下的元素。
进程“msbuild.exe”已退出,代码为“1”。
Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3):Source\Main\BI\Advocaten.BI\SSIS Advocaten\SSIS Advocaten.dtproj(3,3):错误MSB4067:无法识别元素下的元素。
C:\Program Files(x86)\MSBuild\Business Intelligence语义模型\1.0\Microsoft.AnalysisServices.VSHostBuilder.targets(71):C:\Program Files(x86)\MSBuild\Business Intelligence语义模型\1.0\Microsoft.AnalysisServices.VSHostBuilder.targets(71,7):错误MSB4062:Microsoft.AnalysisServices.VSHostBuilder.SemanticModelGetOutputFileTask无法从程序集O:\Microsoft Visual Studio\MSBuild\Business Intelligence Semantic Model\1.0\Microsoft.AnalysisServices.VSHostBuilder.dll加载任务。无法加载文件或程序集的file:///O:\Microsoft Visual Studio\MSBuild\Business Intelligence语义模型\1.0\Microsoft.AnalysisServices.VSHostBuilder.dll'或其依赖项之一。系统找不到指定的文件。确认声明正确,程序集及其所有依赖项可用,并且任务包含实现Microsoft.Build.Framework.ITask的公共类。
Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68):Source\Main\BI\Advocaten.BI\SSRS Advocaten\SSRS Advocaten.rptproj(68,11):错误MSB4226:找不到导入的项目“O:\Microsoft Visual Studio\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets”。此外,尝试在$(MSBuildExtensionPath)-“C:\Program Files(x86)\MSBuild”的回退搜索路径中查找“Reporting Services\Microsoft.ReportingServices.MSBuilder.targets”。这些搜索路径在“O:\Microsoft Visual Studio\MSBuild\15.0\Bin\MSBuild.exe.Config”中定义。确认声明中的路径正确,并且文件存在于磁盘上的某个搜索路径中。
进程“msbuild.exe”已退出,代码为“1”。

如果需要,请提供详细信息。请告诉我您是否可以在此处更新
VSbuild
任务定义?另外,您使用的是哪种代理?托管代理?对于与代理上的VS版本匹配的VS,您可能希望使用RS、IS安装SSDT。即使您不想构建它们,MSBuild也可能试图查看它是否能够构建,但失败了。此处检查SSDT RS,IS,AS