Repository navigation
Make Stunts.DynamicProxy an explicit opt-in package - #218
Merged
Merged
Conversation
kzu
enabled auto-merge (rebase)
September 25, 2026 19:26
kzu
disabled auto-merge
September 25, 2026 19:29
The Stunts package no longer embeds Stunts.DynamicProxy. Compile-time stunts are the default. Projects that can't use them (Visual Basic, C# before 9.0), or don't want them, now install the Stunts.DynamicProxy package explicitly.
kzu
force-pushed
the
dev/dynamicproxy-opt-in
branch
from
September 25, 2026 19:48
1658396 to
b42042e
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The
Stuntspackage no longer embedsStunts.DynamicProxy. Compile-time stunts are the default. Projects that can't use them (Visual Basic, C# before 9.0), or don't want them, now install theStunts.DynamicProxypackage explicitly.Stuntsdrops the DynamicProxy assembly, targets, andStunt.DynamicFactorysources, as well as its Castle.Core dependency.Stunts.DynamicProxyis now a standalone package that depends onStunts. It shipsbuild/buildTransitiveassets: a props file settingEnableCompileTimeStunts=false, plus targets that addStunt.DynamicFactory.cs/.vb.ST011when compile-time stunts are off andStunts.DynamicProxyisn't referenced, sinceStunt.Ofwould otherwise only fail at runtime. TheST010message now points to the package too.Stunts.DynamicProxyinstead of setting the property. Readmes are updated.