Skip to content
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

Build fails if OutputPath is an absolute path #12224

Closed
rolfbjarne opened this issue Jul 26, 2021 · 0 comments · Fixed by #12333
Closed

Build fails if OutputPath is an absolute path #12224

rolfbjarne opened this issue Jul 26, 2021 · 0 comments · Fixed by #12333
Labels
bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release
Milestone

Comments

@rolfbjarne
Copy link
Member

Steps to Reproduce

rolfbjarne@76aaa06

Expected Behavior

Successful build.

Actual Behavior

Lots of errors like this:

warning MSB3026: Could not copy "/Users/rolf/work/maccore/main/xamarin-macios/tests/dotnet/packages/microsoft.netcore.app.runtime.mono.osx-x64/6.0.0-rc.1.21371.1/runtimes/osx-x64/native/libSystem.IO.Compression.Native.dylib" to "/Users/rolf/work/maccore/main/xamarin-macios/tests/dotnet/UnitTests/bin/Debug/net5.0/tmp-test-dir/Xamarin.Tests.DotNetProjectTest.AbsoluteOutputPathpublish/../../../../../../../../../../../../../../../../UnitTests/bin/Debug/net5.0/tmp-test-dir/Xamarin.Tests.DotNetProjectTest.AbsoluteOutputPathMySimpleApp.app/Contents/MonoBundle/libSystem.IO.Compression.Native.dylib". Beginning retry 1 in 1000ms. Read-only file system

log-build-20210726_153632.binlog.zip

@rolfbjarne rolfbjarne added bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release labels Jul 26, 2021
@rolfbjarne rolfbjarne added this to the .NET 6 milestone Jul 26, 2021
rolfbjarne added a commit that referenced this issue Aug 4, 2021
)

Properly compute the path where to put the app bundle and its files, relative
to the publish directory. The _AppBundlePath variable contains the path to the
app bundle relative to the project directory, but we need it relative to the
publish directory for .NET.

Fixes #12041.
Fixes #12224.
@ghost ghost locked as resolved and limited conversation to collaborators Apr 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant