You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build should be successful with the absolute build output paths being recognised correctly
What is actually happening?
Build fails when using artifacts output layout with defaults as described in https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output. That means a Directory.Build.props file with UseArtifactsOutput property set to true will use actually legitimate absolute paths set as common build project paths which StrawberryShake.Server.targets expects to be relative.
If a relative path is set for ArtifactsPath property which otherwise uses this default $(MSBuildThisFileDirectory)artifacts then it would work again.
Product
Strawberry Shake
Version
13.9.6
Link to minimal reproduction
https://github.com/ir-dev/bug-repro_strawberry-shake_absolute-build-output-paths
Steps to reproduce
Build the project
What is expected?
Build should be successful with the absolute build output paths being recognised correctly
What is actually happening?
Build fails when using artifacts output layout with defaults as described in https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output. That means a
Directory.Build.props
file withUseArtifactsOutput
property set totrue
will use actually legitimate absolute paths set as common build project paths whichStrawberryShake.Server.targets
expects to be relative.If a relative path is set for
ArtifactsPath
property which otherwise uses this default$(MSBuildThisFileDirectory)artifacts
then it would work again.Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: