-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't override the MSBuild ToolPath with a new version now the net5 MSBuild is a dotnet
tool
#2554
Comments
An approximation to the desired functionality can be achieved by replacing
with something like
|
If you're using the sdk, why not use the Fake.Dotnet.Cli module to execute 'dotnet msbuild' for you and skip the assembly probing and such? |
@baronfel Because I was too busy reducing to the previous problem. Having taken a look at that API, though, it's annoying that
to switch between old-style MSBuild and I'm feeling a new issue about similar-but-different APIs lurking under all this. |
Also, it turns out,
on a machine with the net5 SDK & VS2019 16.8, whereas the latter, like plain |
There has not been any activity in this issue for the last 3 months so it will be closed in 14 days if there is no activity. |
Having experimented with possible amendments to the
|
Description
MSBuildParams.ToolPath is a plain string; now that the .net5 SDK ships with an
dotnet
executable MSBuild.dll (and puts the facade MSBuild.exe into VisualStudio 16.8+), overriding the tool path no longer worksRepro steps
Please provide the steps required to reproduce the problem
Desired behavior
To be able to supply a
Fake.DotNet.ToolType
insteadActual behavior
Can only supply a string which is interpreted as a file path, which results in things like
Known workarounds
None as yetSee belowRelated information
The text was updated successfully, but these errors were encountered: