Fix runtime FileNotFoundException from ProxyGenerator.Build leak in Cratis.dll#2245
Merged
Conversation
…tion Without an alias, the type-discovery source generator bakes typeof() references to the build helper's public types into the published Cratis.dll. Consuming applications then fail with FileNotFoundException at runtime because the build helper's DLL is not deployed to the runtime output. The alias hides the build-time tool from the global namespace during Cratis.dll's compilation while preserving its package dependency in the published nuspec.
- Cratis.Fundamentals 7.9.16 -> 7.10.3 - Cratis.Metrics.Roslyn 7.9.16 -> 7.10.3 - Testcontainers.MsSql 4.11.0 -> 4.12.0 - Testcontainers.PostgreSql 4.11.0 -> 4.12.0 - Meziantou.Analyzer 3.0.85 -> 3.0.93
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed
Cratis.dllno longer leakstypeof()references to the build-timeProxyGenerator.Buildhelper, which causedFileNotFoundExceptionat runtime in consuming applications.Changed
Cratis.FundamentalsandCratis.Metrics.Roslynfrom7.9.16to7.10.3.Testcontainers.MsSqlandTestcontainers.PostgreSqlfrom4.11.0to4.12.0.Meziantou.Analyzerfrom3.0.85to3.0.93.