Add-on components that enhance and customize the Visual Studio integrated development environment
Thank you for reaching out!
After reviewing your scenario, I'd like to clarify an important platform limitation in visual studio 2022: Currently, the project template system (.vstemplate with IWizard ) does not support extending or modifying the built-in "Create new project" flow. Specifically, it is not possible to:
- Replace the "Create" button with the "Next".
- Insert additional wizard pages into the native project's creation UI.
- Maintain a fully in-flow, multi-page wizard experience within the standard dialog.
This is by design, which is why your current implementation shows wizard steps as model dialogs.
Recommended Approach: To achieve a smooth multi-step experience, we suggest the following supported pattern:
- Allow the user to proceed with the standard flow (Template ->Configure ->Create)
- After the user clicks Create, launch a custom multi-page wizard (e.g., WPF-based on your IWizard implementation.
- Collect all additional inputs through this wizard and apply them during project generation.
This approach is widely used and ensures:
- Compatibility with Visual Studio updates
- A clean and controlled user experience
- Flexibility for adding multiple steps (Back/Next navigation)
Alternative (Advance): If a fully integrated, in-flow wizard experience is required, this would involve developing a Visual Studio Extension (VSIX) with a custom project system. Please note that this is a more complex approach and typically used for advance scenarios.
Let me know if you need any further help with this. I will be happy to assist.
If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.