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

don't fail loading build files that don't exist #9385

Merged
merged 1 commit into from Mar 31, 2024

Conversation

brettfo
Copy link
Collaborator

@brettfo brettfo commented Mar 28, 2024

When loading projects, we use the flag IgnoreMissingImports but if a project referencing the Aspire workload is loaded when that workload is not installed will fail because an attempt is made to load a generated project that isn't on disk. The fix is to simply ensure all files exist.

@brettfo brettfo requested a review from a team as a code owner March 28, 2024 17:29
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Mar 28, 2024
@brettfo brettfo force-pushed the dev/brettfo/nuget-generated-proj-not-on-disk branch from be3939a to 00bf977 Compare March 28, 2024 22:32
When loading projects, we use the flag `IgnoreMissingImports` but if a project referencing the Aspire workload is loaded when that workload is not installed will fail because an attempt is made to load a generated project that isn't on disk.  The fix is to simply ensure all files exist.
@brettfo brettfo force-pushed the dev/brettfo/nuget-generated-proj-not-on-disk branch from 00bf977 to 37cc6d1 Compare March 29, 2024 19:25
@abdulapopoola abdulapopoola merged commit fe6b41e into main Mar 31, 2024
71 checks passed
@abdulapopoola abdulapopoola deleted the dev/brettfo/nuget-generated-proj-not-on-disk branch March 31, 2024 19:32
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.

None yet

4 participants