project-system icon indicating copy to clipboard operation
project-system copied to clipboard

add "My" namespace to generated settings type

Open adamint opened this issue 1 year ago • 2 comments

To fix https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1589004?src=WorkItemMention&src-action=artifact_link, we need to add "My" namespace to the MySettings class. image

This works for .net framework 4.8 VB, as well as .net core VB and .net core C#, but before approving it, another pair of eyes on the generated file would be nice

Microsoft Reviewers: Open in CodeFlow

adamint avatar Aug 10 '22 00:08 adamint

Was this always broken? I'm trying to think why this is breaking now if there haven't been significant changes in the last months/years to this code generator.

melytc avatar Aug 10 '22 05:08 melytc

this may have been related to my most recent designer changes

adamint avatar Aug 10 '22 18:08 adamint

works! caveat that System.Configuration.ConfigurationManager is a required package for .net core projects. we should consider adding a comment/automatically installing this package for users in the future @melytc

adamint avatar Aug 16 '22 21:08 adamint