5

Dostaję błąd:Nie można znaleźć punktu wejścia o nazwie "?" w DLL PkgdefMgmt.dll 'w Visual Studio 2017 (VS 2017)

Unable to find an entry point named '?' in DLL 'PkgdefMgmt.dll'

podczas instalowania programu Visual Studio Extension (vsix) dla VS 2017

To rozszerzenie został opracowany w VS2015, więc pomyślałem, że będę go uaktualniać, rekompilować i ponownie instalować, ale pojawia się ten sam błąd.

Jest to nowy laptop z Windows 10 i VS 2017

Wszelkie pomysły naprawić?

Oto pełna zainstalować dziennika:

5/9/2017 10:23:21 AM - Microsoft VSIX Installer 5/9/2017 10:23:21 AM - ------------------------------------------- 5/9/2017 10:23:21 AM - vsixinstaller.exe version: 5/9/2017 10:23:21 AM - 15.0.26403.7 built by: D15SVC 5/9/2017 10:23:21 AM - ------------------------------------------- 5/9/2017 10:23:21 AM - Command line parameters: 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 5/9/2017 10:23:21 AM - ------------------------------------------- 5/9/2017 10:23:21 AM - Microsoft VSIX Installer 5/9/2017 10:23:21 AM - ------------------------------------------- 5/9/2017 10:23:21 AM - Failed to initialize settings for Isolated Shell C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\ssms.exe: Unable to find an entry point named '?' in DLL 'PkgdefMgmt.dll'. 5/9/2017 10:23:22 AM - Initializing Install... 5/9/2017 10:23:22 AM - Extension Details... 5/9/2017 10:23:22 AM - Identifier : XXXXX.XXXXXXX.XXXXXXXXXXXXXXXX.Company.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX7acae2 5/9/2017 10:23:22 AM - Name : YYYYYYYYYY YYYYYYYY YYYY 5/9/2017 10:23:22 AM - Author : OOOOOOOOOO 5/9/2017 10:23:22 AM - Version : 5.0 5/9/2017 10:23:22 AM - Description : Empty VSIX Project. 5/9/2017 10:23:22 AM - Locale : en-US 5/9/2017 10:23:22 AM - MoreInfoURL
: 5/9/2017 10:23:22 AM - InstalledByMSI : False 5/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 5/9/2017 10:23:22 AM - Supported Products : 5/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.0 5/9/2017 10:23:22 AM - Version : [14.0] 5/9/2017 10:23:22 AM - MoreInfoURL : 5/9/2017 10:23:22 AM - Nested : No 5/9/2017 10:23:22 AM - 5/9/2017 10:23:22 AM - Signature Details... 5/9/2017 10:23:22 AM - Extension is not signed. 5/9/2017 10:23:22 AM - 5/9/2017 10:23:22 AM - Searching for applicable products... 5/9/2017 10:23:22 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated) 5/9/2017 10:23:22 AM - Found installed product - Global Location 5/9/2017 10:23:22 AM - Found installed product - Visual Studio Professional 2017 5/9/2017 10:23:22 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products. at 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 1.InnerInvoke() at System.Threading.Tasks.Task.Execute()

Odpowiedz

1

Any ideas to fix?

Jeśli chcesz uruchomić swoje przedłużenie w Visual Studio 2017, należy uaktualnić z rozszerzeniem manifest wersja 2 (VSIX v2) do nowej wersji 3 VSIX format manifestu (VSIX v3). Aby uzyskać więcej informacji, zapoznaj się z:

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

Jeśli chcesz zbudować v3 VSIX z Visual Studio 2015, będzie też trzeba dodać element VsixType określającą v3 do pliku projektu:

<VsixType>v3</VsixType> 

aby uzyskać więcej informacji, zapoznaj się z:

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