dotnet / dotnet/core

.NET 7 RC1 dotnet build fails without errors on MAC M1

Open
#7,840 19 comments 3 reactions 0 assignees View on GitHub
area-msbuild
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

### Description

I was switching from .NET 7 Preview 7 to .NET 7 RC1 yesterday. Everything runs ok, but after some builds and runs, dotnet stops building my project.

```
╰─ dotnet build ─╯
MSBuild version 17.4.0-preview-22428-01+14c24b2d3 for .NET

Build FAILED.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:00.00
```
It's the second time this happens. I need to restart the machine to get it working again.
Deleting obj and/or bin folder does not help.

### Configuration

MSBuild version 17.4.0-preview-22428-01+14c24b2d3 for .NET
Tye version 0.11.0-alpha.22111.1+3edef5428949c518c078844d6438e5ba86fce600

.NET SDK:
Version: 7.0.100-rc.1.22431.12
Commit: f1cf61e1c0

Runtime Environment:
OS Name: Mac OS X
OS Version: 12.6
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.100-rc.1.22431.12/

Host:
Version: 7.0.0-rc.1.22426.10
Architecture: arm64
Commit: 06aceb7015

.NET SDKs installed:
6.0.400 [/usr/local/share/dotnet/sdk]
7.0.100-preview.7.22377.5 [/usr/local/share/dotnet/sdk]
7.0.100-rc.1.22431.12 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0-preview.7.22376.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0-rc.1.22427.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-preview.7.22375.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-rc.1.22426.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

### Information

When this happens, vs code is not finding any references. Everything is signaled as red and unknown in vs code.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.