dotnet / dotnet/msbuild

Microsoft.Build.Runtime still requires MSBuild Tools

Open
#4,913 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

I have an application using the Microsoft.Build nuget packages to compile some C# code. With MSBuild 2015 installed on the machine everything works fine. However I want to get rid of the MS Build Tools prerequisite and as I understand it Microsoft.Build.Runtime is supposed to solve that issue. In the description is says "This package delivers a complete executable copy of MSBuild. Reference this package only if your application needs to load projects or execute in-process builds without requiring installation of MSBuild.".

But if I run the code on machine without MSBuild Tools installed I get the same error message (Could not load file or assembly 'System.Threading.Tasks.Dataflow) even though I have included the Microsoft.Build.Runtime package. Have I misunderstood something or do I just need to Initialize the the Build.Runtime somehow?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.