madskristensen / CodeCleanupOnSave

Other
62 stars 7 forks source link

Cannot make Profile2 as default profile. #3

Open WhistlerHusky opened 5 years ago

WhistlerHusky commented 5 years ago

Hi,

Thanks for this nice extension, I didn't even know that code cleanup feature is added in VS 2019

While I was using this nice extension, I cannot save profile2 as default.

I changed from profile 1 to profile 2, but it still uses profile1 and after closing and restarting VS2019, profile1 is still default.

In the code GetOptionProperties(), somehow the enum (CodeCleanupProfile)'s IsPublic is false...this is weird. I test another enum in test project, it's also return false for IsPublic, even though the enum property is public.

midas1977 commented 3 years ago

Great extension! But same effect here. Tested with VS2022 preview 4.1.