Open KirillOsenkov opened 6 years ago
Looks like XamlBuildTask.dll is supposed to be in bin\amd64
, but it's not?
Aha, this is because the Workflow component is not installed by Visual Studio by default: https://developercommunity.visualstudio.com/content/problem/2476/cannot-build-project-that-contains-windows-workflo.html#reply-7788
Wow, the experience isn't great. Should we talk to the VS Setup to always drop at least the build tools by default? Otherwise you can't build workflow projects.
@KirillOsenkov But how can we enable Workflow component in Dockerfile for window base image?
Steps to reproduce
https://github.com/KirillOsenkov/SourceBrowser/files/2611685/WorkflowConsoleApplication1.zip
Problem:
https://github.com/Microsoft/msbuild/blob/701ed49b20b860c17bcfd62d4e7845647a590760/src/Tasks/Microsoft.Xaml.targets#L16 It says that XamlBuildTask.dll should be in
$(MSBuildToolsPath64)
, which on my machine isC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64
, but XamlBuildTask.dll isn't there. It's only found in the GAC and Reference Assemblies:Actual behavior
Environment data
msbuild /version
output: