Closed Barsonax closed 4 years ago
Why is SolutionDir
undefined though? Is it a deprecated? What's the difference between the dotnet
CLI and regular msbuild
here?
Updated sourcelink as it has been out of beta for a while.
👍
Why is
SolutionDir
undefined though? Is it a deprecated? What's the difference between thedotnet
CLI and regularmsbuild
here?Updated sourcelink as it has been out of beta for a while.
👍
Its only defined if you build the solution. If you build a project its undefined. When running benchmarks you want to be able to run a dotnet command directly on the project.
By putting it in a props file the variable is now always available regardless how you build the code.
Ah, makes sense.
While adding a benchmarkdotnet project I noticed some problems when using the dotnet cli. This PR aims to fix these problems: