-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 when using sdk version 7.0.100. #30735
Comments
Some questions:
Thanks |
The error message says "read-only file system", so I think the issue is that you don't have write access to the output folder, and isn't related to this version of the .NET SDK. |
Here's information about the error and "dotnet --info". errorinfo.docx. |
|
@dsplaisted For this issue, I tried to use other path as the output path, such as ‘/users/XXX’, build can succeed. The reason I use /app/build as the output path is because I'm just trying to reproduce the original bug #30625. |
To create a binlog, you just add the I imagine the machine environment for the original repro was different somehow, and |
Repro steps:
mkdir Razor
cd Razor
dotnet new sln
mkdir Razor70
cd Razor70
dotnet new razor
cd ..
dotnet sln add Razor70/Razor70.csproj
dotnet build "Razor.sln" -c Release -o /app/build --no-restore
Expected Result:
Solutions can be successfully built.
Actual Result:
Some warnings and errors appear when building solution.
dotnet --info:
.NET SDK:
Version: 7.0.100
Commit: e12b7af
Runtime Environment:
OS Name: Mac OS X
OS Version: 13.2
OS Platform: Darwin
RID: osx.13-x64
Base Path: /usr/local/share/dotnet/sdk/7.0.100/
Host:
Version: 7.0.0
Architecture: x64
Commit: d099f075e4
.NET SDKs installed:
7.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found: None
Environment variables: Not set
global.json file: Not foun
Learn more: https://aka.ms/dotnet/info
Download .NET: https://aka.ms/dotnet/download
The text was updated successfully, but these errors were encountered: