You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to set the value of BypassAutoPropertySettersInConstructors in the FodyWeavers.xml file as well as an assembly level attribute? We have a few project templates that share FodyWeavers.xml files and it would be great to have this option. It may already be the case but I couldn't see any mention in the documentation.
Thanks in advance
The text was updated successfully, but these errors were encountered:
/// Controls whether property setters for auto-properties are bypassed when a value is assigned to an auto-property in a constructor.<para/>
/// When this attribute is set with it's parameter being <c>true</c>, all property setters of auto-properties are replaced with code that assigns the value directly to the backing field.
Hi @tom-englert , I understand that. My question is specifically about using the FodyWeavers.xml as well as the attribute. We don't have any other assembly level attributes as, in SDK-style projects, most "standard" ones have been replaced by properties from the .csproj. Given that some weavers do allow the addition of settings at that level I was wondering if that would be possible here too. Thanks
Would it be possible to set the value of
BypassAutoPropertySettersInConstructors
in the FodyWeavers.xml file as well as an assembly level attribute? We have a few project templates that share FodyWeavers.xml files and it would be great to have this option. It may already be the case but I couldn't see any mention in the documentation.Thanks in advance
The text was updated successfully, but these errors were encountered: