-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cache Embedded Resources during compilation task #10928
base: main
Are you sure you want to change the base?
Conversation
…sbuild into dev/jenny/issue10644
@JanKrivanek please help with this test failure |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…net build' is incomplete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
Files not reviewed (1)
- src/Tasks/Microsoft.Common.CurrentVersion.targets: Language not supported
Comments suppressed due to low confidence (1)
src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs:1664
- The comment should start with a capital letter: 'The netfx bootstrap layout created with 'dotnet build' is incomplete'.
/// <summary>
@@ -1656,5 +1659,73 @@ private void SetEnvironmentForErrorLocations(ErrorLocations errorLocations, Erro | |||
} | |||
} | |||
} | |||
|
|||
[DotNetOnlyFact("The netfx bootstrap layout created with 'dotnet build' is incomplete")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still true?
What happens with the test when run for core?
Fixes #10644 and #5334
Context
Fast up-to-date check with SDK project doesn't see new embedded resources!
Changes Made
Add @(_CoreCompileResourceInputs) to CoreCompileCache item, to include them in the cache file which gets
included in the CoreCompile target.
Testing
EmbeddedResourcesFileCompileCache()
Notes
See dotnet/project-system#5794 for more details.