Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while uninstalling. #7

Open
wischi-chr opened this issue Nov 22, 2017 · 0 comments
Open

Error while uninstalling. #7

wischi-chr opened this issue Nov 22, 2017 · 0 comments

Comments

@wischi-chr
Copy link

wischi-chr commented Nov 22, 2017

Tried to uninstall the extension but an exception was thrown and the extension could not be uninstalled.

System.IO.FileNotFoundException: Die Datei "C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_AF987EE6\EXTENSIONS\LICENSE.md" konnte nicht gefunden werden.
Dateiname: "C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_AF987EE6\EXTENSIONS\LICENSE.md"
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   bei Microsoft.VisualStudio.ExtensionManager.ExtensionHeaderImpl.get_License()
   bei Microsoft.VisualStudio.ExtensionManager.CachedInstalledExtensionHeader.get_License()
   bei VSIXInstaller.ViewModel.ExtensionViewModel..ctor(IExtension extension, IEnumerable`1 packages, Boolean satisfied, Boolean showPackages)
   bei VSIXInstaller.ViewModel.ExtensionViewModel.Create(UninstallExtensionData uninstallData, SupportedVSSKU sku)
   bei VSIXInstaller.MultipleChangePage..ctor(ExtensionData data)
   bei VSIXInstaller.LoadingPage.<>c__DisplayClass11_1.<OnLoaded>b__2()

I worked around it by placing a dummy LICENSE.md in that location and it worked. I think there is a path wrong somewhere. There is a LICENSE.md inside the extensions folder but the VSIX installer search one folder up for some reason.

Update: I did a quick search in the repo and I guess the .. in the manifest is wrong.
AlwaysAlignedVS/source.extension.vsixmanifest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant