Could not find entry point named "?" in the DLL 'PkgdefMgmt.dll' on Visual Studio 2017 (VS 2017)

I get an error message:

Could not find entry point named '?' in the dll 'pkgdefmgmt.dll'

when installing the Visual Studio extension (vsix) for VS 2017.

This extension was developed in VS2015, so I decided to upgrade, recompile and reinstall it, but I get the same error.

This is a new laptop with Windows 10 and VS 2017.

Any ideas for a fix?

Here is the complete installation log:

09/05/2017 10:23:21 AM - Microsoft VSIX Installer 9/9/2017 10:23:21 AM - ----------------------- -------------------- 5/9/2017 10: 23:21 AM - version of vsixinstaller.exe: 5/9/2017 10:23:21 AM - 15.0 .26403.7 built by: D15SVC 09/05/2017 10:23:21 AM - -------------------------------- ----------- 5/9/2017 10: 23:21 AM - Command line options: 5/9/2017 10:23:21 AM - C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Professional \ Common7 \ IDE \ VSIXInstaller.exe, C: \ XXXXXXX \ Bin \ Release \ xxxxxx.vsix 9/9/2017 10:23:21 AM - ------------ -------------------------- ----- 05/7/2017 10:23:21 AM - Microsoft VSIX Installer 5/9 / 2017 10:23:21 AM - ------------------------------------------ - 5/9/2017 10: 23:21 - Failed to initialize settings for the isolated shell C: \ Program Files (x86) \ Microsoft SQL Server \ 140 \ Tools \ Binn \ ManagementStudio \ ssms.exe: Could not find entry point but with the name "?" in the dll 'pkgdefmgmt.dll'. 09/05/2017 10:23:22 AM - Initializing the installation ... 5/9/2017 10:23:22 AM - More details ... 5/9/2017 10:23:22 AM - Identifier: XXXXX.XXXXXXX .XXXXXXXXXXXXXXXXX.Company.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXacacae2 09/09/2017 10:23:22 AM - Name: YYYYYYYYYYYYYYYYYYYYYYYY 05/07/2017 10:23 AM 07:59/2017 10:23:23 PM PM 10:21 p.m. 5.0 9/9/2017 10:23:22 AM - Description: An empty VSIX project. 9/9/2017 10:23:22 AM - Language: ru-US 5/9/2017 10:23:22 AM - MoreInfoURL
: 5/9/2017 10:23:22 AM - InstalledByMSI: False 9/9/2017 10:23:22 AM - SupportedFrameworkVersionRange: [4.5,) 5/9/2017 10:23:22 AM - 5/9 / 2017 10:23:22 AM - SignatureState: Unsigned 9/9/2017 10:23:22 AM - Supported Products: 9/9/2017 10:23:22 AM - Microsoft.VisualStudio.Community 5/9/2017 10 : 23: 22 AM - Version: [14.0] 5/9/2017 10:23:22 AM - 5/9/2017 10:23:22 AM - References
: 5/9/2017 10:23:22 AM - ------------------------------------- ------------- ----- 5/9/2017 10:23:22 AM - Identifier: Microsoft.VisualStudio.MPF.14.0 5/9/2017 10:23:22 AM - Name: Visual Studio MPF 14/09/2017 10:23:22 AM - Version: [14.0] 5/9/2017 10:23:22 AM - MoreInfoURL: 5/9/2017 10:23:22 AM - Invested: no 5/9/2017 10:23:22 AM - 05/05/2010 10:23:22 - Signature Details ... 5/9/2017 10:23:22 AM - The extension is not signed. 5/9/2017 10:23:22 AM - 5/9/2017 10:23:22 AM - Search for suitable products ... 5/9/2017 10:23:22 AM - An installed product was found - Microsoft Visual Studio 2015 Shell (Integrated) 09/09/2017 10:23:22 AM - Installed product found - Global Location 9/9/2017 10:23:22 AM - Installed product found - Visual Studio Professional 2017 5/9/2017 10:23 : 22 AM - VSIXInstaller.NoApplicableSKUsException: this extension is not installed on any products currently installed. in VSIXInstaller.App.GetInstallableData (String vsixPath, Boolean isRepairSupported, IEnumerable 1& skuData) at VSIXInstaller.App.Initialize(Boolean isRepairSupported) at VSIXInstaller.App.Initialize() at System.Threading.Tasks.Task System.readask .Threading.Tasks.Task.Execute ()

+5
source share
1 answer

Any ideas for a fix?

If you want to run the extension on Visual Studio 2017, upgrade your manifest version 2 (VSIX v2) to the VSIX format of new version 3 (VSIX v3). For more information, please refer to:

https://docs.microsoft.com/en-us/visualstudio/extensibility/how-to-migrate-extensibility-projects-to-visual-studio-2017

If you want to build VSIX v3 with Visual Studio 2015, you also need to add the VsixType element that defines v3 to the project file:

 <VsixType>v3</VsixType> 

For more information, contact:

https://github.com/Microsoft/visualstudio-docs/blob/master/docs/extensibility/faq-2017.md#can-i-build-a-vsix-v3-with-visual-studio-2015

https://social.msdn.microsoft.com/Forums/vstudio/en-US/743061f9-98ea-4c22-881a-b144b0412cb8/can-i-build-a-vsix-v3-with-visual-studio-2015? forum = vsx

+1
source

All Articles