Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

After installing VS2017 Build tools on CI server, project containing Workflow Foundation components fails to build on Ci server

$
0
0

Locally it everything builds fine with my local installation of vs2017.


On the build server I installed vs_BuildTools (using offline installer). No option for workflow to be found in the installer.

One of the projects of the solution fails on build with following error

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml.targets(193,5): error MSB4062: The "Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\\XamlBuildTask.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\XamlBuildTask.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. 

* VS2017 full installer seems to have an indiviual component for workflow
* VS_BuildTools does not seem to have an indivual component for worklow
* I can only use the offline installer of vs_buildtools (firewall policy on the server).
* Prior to upgrading the solution to vs2017 the project was building fine on the buildserver

Is there anything else I need to install ?



Viewing all articles
Browse latest Browse all 2763


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>