Visual Studio - vdproj is incompatible
Asked Answered
A

7

152

I have a project in a solution I am working on in Visual Studio 2012, and I get this message for one of the projects: "This version of Visual Studio does not have the following project types installed, or does not support them." It is a vdproj. What does this mean and how do I resolve this problem

Arthrospore answered 25/9, 2014 at 0:45 Comment(0)
T
71

vdproj is a MSI creation project for Visual Studio. Its been deprecated and most people have moved on to either WIX or NSIS or a professional grade installer creation tools such as Install Shield.

If you do not require an installer for your product just exclude the vdproj project from the solution and continue with your life

for fun if you want to try to transition right away to wix, try this powershell script https://github.com/chrisoldwood/vdproj2wix

Tapioca answered 1/12, 2014 at 21:19 Comment(6)
InnoSetup is also a great and simple installer framework.Guanabara
This should not be marked as the correct answer John Pittaway has provided a link in his comment to the required installer for 2017 - I installed this and my vdproject is working as expected againEastsoutheast
Yes, John Pittaway's answer worked for me as well. Also, for VS 2015, there was a different extension that was called "Visual Studio Setup and Deployment Projects" which worked for me for several years.Aristocrat
It's still a good choice for simple installers which don't warrant the near vertical learning curve of Wix.Koeppel
@Tapioca Can vdproj be excluded easily?Iodometry
@Sidso sure, remove it from the slnTapioca
A
234

The correct procedure to resolve "Incompatible" issue with VDPROJ Projects coming from Visual Studio 2010 and 2015 in 2017, 2019 or 2022 is:

  1. Enter Visual Studio .NET 2017, 2019 or 2022
    • 2017: Click on "Tools" -> Extension and Updates -> Online
    • 2019 or higher: Click on "Extensions" -> Manage Extensions -> Online
  2. Type "Installer Project" on the search box
  3. Click on "Install" in Microsoft Visual Studio Installer Project
  4. Restart Visual Studio .NET and follow the instructions to install the extension
  5. Right click on the projects which have "Incompatible" and click "reload" (tested in VS2022).

With this extension the old project (2010, 2015) is capable to work in (2017, 2019, 2022). VDPROJ are not deprecated, simply they are improved with a new extension, for more information about this please visit the oficial MarketPlace.

Annamariaannamarie answered 26/2, 2019 at 16:5 Comment(10)
I had to do a "Reload Project" after installing the extension before the "Incompatible" project designation would go away on VS2019.Ready
Now under "Extensions" -> "Manage Extensions"Henriques
This doesn't work. After installing and enabling, VDPROJ projects are still "incompatible".Song
Works as of Feb 2021 :)Putput
Works for me too. Close Visual Studio and install extension then start visual studio again. After properly start VS, open your solution. In case your setup project excluded then include it in solution.Illbred
Can confirm it works, you need to right click on the projects which have "Incompatible" and click "reload".Tapeworm
Extensions -> Manage Extensions. Make sure the VSIX window doesn't get hidden behind other windows. Close VS, install the extension, start VS. Reload project.Duodiode
After about 6 months I had the same issue; it was still installed under the Extensions but was disabled. Re-enabled, Re-started VS, Re-loaded the project and all worked again.Rigby
It's also working for Visual Studio 2022. Extension: marketplace.visualstudio.com/… Then reload project as MZB notedMarlomarlon
Works as of April/2023 with Visual Studio Enterprise 2022 Preview. Remember you need to right click on the projects which have "Incompatible" and click "reload".Annamariaannamarie
F
74

There is also the official:

if you can jump to VS 2013, 2015, 2017+2019, or 2022

But BozoJoe is right, its time to drop vdproj and move on to WiX.

Farmhouse answered 15/1, 2016 at 17:3 Comment(5)
Fixed my issue temporarily, but then about 6 months later for no discernible reason my install projects all went back to being incompatible. Reinstalling has not helped.Pharmacy
This should be marked as answer. Thank you, works flawlesslyGrandma
Installer projects do not work in VS anymore. Looks like they removed compatibility in 16.0.1Song
I'm running VS 2019 version 16.6.3 and the extension version 0.9.8 and I can load my legacy-style installer projects - maybe there is something wrong with your .vdproj or Visual Studio installation?Farmhouse
Microsoft just released version 0.9.9 of this extension (2020/09/16) so the .vdproj is not quite as "dead" as we might think.Farmhouse
T
71

vdproj is a MSI creation project for Visual Studio. Its been deprecated and most people have moved on to either WIX or NSIS or a professional grade installer creation tools such as Install Shield.

If you do not require an installer for your product just exclude the vdproj project from the solution and continue with your life

for fun if you want to try to transition right away to wix, try this powershell script https://github.com/chrisoldwood/vdproj2wix

Tapioca answered 1/12, 2014 at 21:19 Comment(6)
InnoSetup is also a great and simple installer framework.Guanabara
This should not be marked as the correct answer John Pittaway has provided a link in his comment to the required installer for 2017 - I installed this and my vdproject is working as expected againEastsoutheast
Yes, John Pittaway's answer worked for me as well. Also, for VS 2015, there was a different extension that was called "Visual Studio Setup and Deployment Projects" which worked for me for several years.Aristocrat
It's still a good choice for simple installers which don't warrant the near vertical learning curve of Wix.Koeppel
@Tapioca Can vdproj be excluded easily?Iodometry
@Sidso sure, remove it from the slnTapioca
P
47

Visual Studio 2017 can use the Visual Studio Installer. It is NOT a default. You have to run InstallerProjects.vsix. You can get it at Microsoft Visual Studio 2017 Installer Projects. I have used it and worked great, at least for a windows GUI project. It's worth a shot before you get into the Install Shield intricacies.

Pennyroyal answered 3/8, 2017 at 22:4 Comment(2)
This one now also has Visual Studio 2019 supportRegatta
This is the most valid answer to the problem/question, it works for VS 2017 and VS 2019. ThanksMarquetry
P
7

if You use Microsoft Visual Studio Installer Project (Vs2017). Microsoft Visual Studio Installer Project may be disabled after an update.

  • Tools -> Extensions and Updates..
  • Click Installed
  • Find and Select -> Microsoft Visual Studio Installer Project
  • do Enable
  • Restart Visual Studio
Phototelegraph answered 12/2, 2019 at 8:9 Comment(1)
Now under "Extensions" -> "Manage Extensions"Henriques
P
1

Just Download the new extension for Microsoft Visual Studio Installer Project to work.

Pelvis answered 14/4, 2023 at 10:19 Comment(0)
W
1

visual studio 2022:

If you have the Microsoft Visual Studio Installer Project extension already added to your project, also make sure its enabled.

Extensions -> Manage Extensions -> Installed -> Find the installer project on the list and if it says "Enable", click on it, this should enable it.

Wahhabi answered 6/10, 2023 at 5:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.