Open bvirkler opened 4 years ago
Full stack trace: https://gist.github.com/bvirkler/817f47e4f87bcdd3f8aa7c305d3a7254
Cloning this project and upgrading Microsoft.Build
and Microsoft.Build.Utilities.Core
to 16.4.0 fixed this for me.
An alternative to add flexibility might be to use MSBuildLocator. MSBuildLocator cannot be used in .NET Standard projects though; you would have to target .NET Core instead. Unless I'm mistaken, some of the code is already specific to .NET Core, so maybe that's a possibility?
I'm getting a TargetInvocationException while executing
semantic-release project-version
.I'm getting this in an Azure DevOps Pipeline as well as on my local machine. Locally, I can see that I do not have a
C:\Program Files\dotnet\sdk\3.0.100\15.0
directory -Microsoft.Common.props
is instead located inC:\Program Files\dotnet\sdk\3.0.100\Current
.