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

split artifacts on OS #10816

Merged
merged 1 commit into from
Oct 22, 2024
Merged

split artifacts on OS #10816

merged 1 commit into from
Oct 22, 2024

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Oct 18, 2024

The updaters build and run in a Linux container, but I, and likely other NuGet developers, use Windows. When investigating issues that only repro in Linux, I'll commonly use a WSL instance and VS Code to do my work, but if I have to switch back and forth between Windows and WSL, it gets painful because I have to regularly clean/rebuild the artifacts directory.

By adding the well-known MSBuild value $(OS) this makes it easier to switch. The value itself isn't interesting, but usually evaluates to either Windows_NT or Unix. The end result is that there are separate bin/ and obj/ directories for each OS so it's possible to run unit tests in both instances in the same codebase at the same time.

@brettfo brettfo requested a review from a team as a code owner October 18, 2024 21:44
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Oct 18, 2024
@JamieMagee JamieMagee force-pushed the dev/brettfo/nuget-artifacts-directory branch from f86a305 to 7f8881e Compare October 21, 2024 15:45
@randhircs randhircs force-pushed the dev/brettfo/nuget-artifacts-directory branch from 7f8881e to 3ddd15d Compare October 22, 2024 16:33
@randhircs randhircs merged commit 02a681b into main Oct 22, 2024
68 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-artifacts-directory branch October 22, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants