Does ProjectPackage example in Micosoft Doc work with Community Toolkit #288
Replies: 2 comments
-
I f I understand that guide correctly, the However, since it looks like you need to include the source code directly instead of referencing a library, yes it could be compatible because you could change that code to inherit from But, I would follow the suggestion at the top of that article instead:
|
Beta Was this translation helpful? Give feedback.
-
We have created a project system based on the MPF code and enhanced with some additions from the project system that the Wix team used (mainly the support for "Show all Files"). We have modified the MPF code so the base class of the packages is now the ToolkitPackage. Our project system works with VS 2017 & VS 2019 in one package and VS 2022 in the other. We looked at the shared project approach but found it easier to just have 2 csproj files in the same folder with different output folder names. The only disadvantage of our current solution is that it still uses the "old style" Add Reference dialogs. We looked at the newer style but had some problems to get that to work reliably. I should probably look at that again. |
Beta Was this translation helpful? Give feedback.
-
Is the example here : https://docs.microsoft.com/en-us/visualstudio/extensibility/creating-a-basic-project-system-part-1?view=vs-2022
Compatible with a toolkit derived project ... if not, is an example showing how to build a project package with the Community Toolkit available somewhere? (the sample says you have to derive a project package class from ProjectPackage)
Beta Was this translation helpful? Give feedback.
All reactions