how to copy a deployment project from one solution to a different solution in visual studio 2019

Darryl Hoar 181 Reputation points
2024-08-30T16:20:31.2033333+00:00

I have a solution that has a deployment project called installer.

I have used the Export template method to "copy" all the projects from a solution to a new solution. Unfortunately, the Deployment project does not show up in the list of projects when creating a template.

how do you "copy" a deployment project so I can "add" it to a new solution ? I realize I will have to make some adjustments to the project once added to the new solution.

thanks.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,064 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 45,326 Reputation points
    2024-08-30T18:53:52.96+00:00

    Visual Studio installer projects have a completely different format than the C++ project .vcxproj files. As far as I know the details of their format are not documented.

    I would take Visual Studio's inability to recognize and export these deployment projects as a sign that you would be better served by adding new installer projects to your solutions instead of attempting to copy existing ones from other solutions. Of course, you could copy the folder containing the installer project .vdproj file from one solution to another and make whatever edits you believe are needed. I have no idea what those edits should be.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.