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] When selecting a .slnf for a folder, the build task builds the base .sln file #1701

Open
sdcarpenter opened this issue Dec 20, 2024 · 0 comments
Labels
area-project Project load, Solution Explorer bug Something isn't working

Comments

@sdcarpenter
Copy link

Describe the Issue

When opening a folder and selecting the corresponding solution file, if you select a filtered solution file (.slnf), the default build command will run the build command on the .sln file the .slnf file references and not the filtered solution, itself.

Steps To Reproduce

  1. Generate a filtered solution file (.slnf) that excludes at least one project.
  2. Open a folder in VS Code and select the filtered solution file.
  3. Run the default dotnet build

Expected Behavior

The default build command runs dotnet build on the filtered solution file, rather than the solution file the filtered file references.

Environment Information

  • OS: macOS
  • VS Code Version: 1.96.0
  • C# Dev Kit Versions: 1.14.14
@sdcarpenter sdcarpenter added the bug Something isn't working label Dec 20, 2024
@phil-allen-msft phil-allen-msft added the area-project Project load, Solution Explorer label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-project Project load, Solution Explorer bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants