pepone / projectschema

PropertyPageSchema do not show with solution that contains multi projects
0 stars 0 forks source link

Code workaround for VS2022? #2

Open samhocevar opened 3 months ago

samhocevar commented 3 months ago

Hi! Thank you for submitting the issue at Microsoft. Sad that the issue is still not fixed, but disabling the project cache worked fine at least.

However I have tried the code workarounds, including and they do not work for me on VS2022. Did they work for you? Could you maybe add a new solution to this project that implements a fix? That would be tremendously helpful to the community. Thanks!

pepone commented 3 months ago

Hi @samhocevar

What workaround did you try?

samhocevar commented 3 months ago

I have tried adding a configuration condition to the property sheet reference, setting HasConfigurationConditions to false everywhere, and copy-pasting the snippet suggested by the Microsoft person into the .xml file.

pepone commented 3 months ago

We use this in Ice Builder for Visual Studio and dind't have any issues with VS 2022

See https://github.com/zeroc-ice/ice-builder-msbuild/blob/462675620c6c783fbb559f61da4f323ca9fb459e/msbuild/SliceCompile.Cpp.File.xaml#L95-L103

samhocevar commented 3 months ago

Ah, thanks! That worked properly (only after I also removed the condition on the <ImportGroup> entries though)