dotnet / dotnet/sdk

Access to the path '/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/System.Linq.Expressions.dll' is denied

Open
#53,093 10 comments 0 reactions 0 assignees View on GitHub
untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

I am hitting these errors a lot. Resolved on re-run(s).

```bash
Restore complete (4.3s)
info NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
DotnetInspector.Core net11.0 osx-arm64 succeeded (1.0s) → artifacts/bin/DotnetInspector.Core/release/DotnetInspector.Core.dll
DotnetInspector.Packages net11.0 osx-arm64 succeeded (1.0s) → artifacts/bin/DotnetInspector.Packages/release/DotnetInspector.Packages.dll
DotnetInspector.Metadata net11.0 osx-arm64 succeeded (1.0s) → artifacts/bin/DotnetInspector.Metadata/release/DotnetInspector.Metadata.dll
DotnetInspector.Decompiler net11.0 osx-arm64 succeeded (1.0s) → artifacts/bin/DotnetInspector.Decompiler/release/DotnetInspector.Decompiler.dll
DotnetInspector.Services net11.0 osx-arm64 succeeded (1.1s) → artifacts/bin/DotnetInspector.Services/release/DotnetInspector.Services.dll
dotnet-inspect net11.0 osx-arm64 failed with 3 error(s) (43.9s)
/usr/local/share/dotnet/sdk/11.0.100-preview.1.26104.118/Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3021: Unable to copy file "/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/Microsoft.CSharp.dll" to "/Users/rich/git/dotnet-inspect/src/../artifacts/bin/dotnet-inspect/release/Microsoft.CSharp.dll". Access to the path '/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/Microsoft.CSharp.dll' is denied.
/usr/local/share/dotnet/sdk/11.0.100-preview.1.26104.118/Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3021: Unable to copy file "/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/System.ComponentModel.TypeConverter.dll" to "/Users/rich/git/dotnet-inspect/src/../artifacts/bin/dotnet-inspect/release/System.ComponentModel.TypeConverter.dll". Access to the path '/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/System.ComponentModel.TypeConverter.dll' is denied.
/usr/local/share/dotnet/sdk/11.0.100-preview.1.26104.118/Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3021: Unable to copy file "/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/System.Linq.Expressions.dll" to "/Users/rich/git/dotnet-inspect/src/../artifacts/bin/dotnet-inspect/release/System.Linq.Expressions.dll". Access to the path '/Users/rich/.nuget/packages/microsoft.netcore.app.runtime.osx-arm64/11.0.0-preview.1.26104.118/runtimes/osx-arm64/lib/net11.0/System.Linq.Expressions.dll' is denied.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.