question

BurraAbhishekuie90914-1332 avatar image
0 Votes"
BurraAbhishekuie90914-1332 asked TianyuSun-MSFT commented

wizard Templet project creation failed in 2017 but works in 2015

I have a custom Visual studio wizard for C++ project which works fine in visual studio 2015.
when I am migrating it to visual studio 2017 it is not working. It shows a dialog below

""Creating project 'xxx’ project creation failed.""

…. there is work around scenario if visual studio 2015 is installed along with 2017 in the system then it works without any issue but unfortunately, we need rule out visual studio 2015 in my system and move it to 2017...could you please help me with resolving this issue. What are the prerequisites and packages, or patches needed to be installed to make it work in 2017?










c++vs-general
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


How did you create the wizard? Maybe it must be recompiled using Visual Studio 2017.


0 Votes 0 ·

Hi @BurraAbhishekuie90914-1332 , welcome to Microsoft Q&A forum. Do you mean if VS 2015 is installed along with VS 2017 on the same machine then this wizard works in VS 2017? If so, sounds like some necessary components are provided by VS 2015.

0 Votes 0 ·

1 Answer

BurraAbhishekuie90914-1332 avatar image
0 Votes"
BurraAbhishekuie90914-1332 answered TianyuSun-MSFT commented

Hello Everyone, issue got resolved, issue lies in the .vsz file, where engine version is mismatching,
luckily there is pre-defined basic template exists in VSwizard folder and vsprojects folder which helped me to debug the issue. I just compared all the relevant files and found the root cause.

and this template creation steps me help to debug faster:https://www.codeproject.com/Articles/13745/How-to-create-a-custom-project-template-using-Visu

and thanks for all the responses.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @BurraAbhishekuie90914-1332 , happy to hear that your issue was resolved. Thank you for sharing the solution and the root cause here, we appreciate it. Have a nice day.

Regards,
Tianyu

1 Vote 1 ·