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

[Bug/Linux] dotnet CLI recursively compiling projects #47209

Open
LunarN0v4 opened this issue Mar 1, 2025 · 0 comments
Open

[Bug/Linux] dotnet CLI recursively compiling projects #47209

LunarN0v4 opened this issue Mar 1, 2025 · 0 comments
Labels
Area-WebSDK untriaged Request triage from a team member

Comments

@LunarN0v4
Copy link

LunarN0v4 commented Mar 1, 2025

Describe the bug

dotnet build tries to recursively build projects, even if it wasn't asked to.

To Reproduce

  1. Create an ASP.NET project and cd into it (dotnet new webapi -n test && cd test)
  2. Initialise a Git repo (git init)
  3. Add a Git submodule with kwsch/PKHeX (git submodule add https://github.com/kwsch/PKHeX.git) [this is where I initially saw the issue, especially since I'm on Linux and can't compile PKHeX]
  4. Build the ASP.NET project (dotnet build)

Exceptions (if any)

N/A

Further technical details

  • Include the output of dotnet --info
❯ dotnet --info
.NET SDK:
 Version:           9.0.103
 Commit:            c4e5fd73fe
 Workload version:  9.0.100-manifests.e611c4b6
 MSBuild version:   17.12.24+c4e5fd73f

Runtime Environment:
 OS Name:     arch
 OS Version:  
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/9.0.103/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
  Version:      9.0.2
  Architecture: x64
  Commit:       c4e5fd73fe

.NET SDKs installed:
  6.0.136 [/usr/share/dotnet/sdk]
  8.0.113 [/usr/share/dotnet/sdk]
  9.0.103 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 9.0.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.36 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 9.0.2 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download
  • The IDE (VS / VS Code/ VS4Mac) you're running on, and its version
VSCode 1.97.2-2
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-WebSDK untriaged Request triage from a team member labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-WebSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant