Uninstall Visual F#

前端 未结 3 1023
抹茶落季
抹茶落季 2020-12-17 14:15

I use Visual Studio 2013, and it have a pretty feature to notify and install all extension updates.

So, this is very good, but I receive sometimes the request to in

3条回答
  •  时光取名叫无心
    2020-12-17 15:01

    NOTE: This does not uninstall all F# functionality and templates, just two F# packages.

    I did a search in the registry for “F#”. I found the location of the installer package for F# v3.1. The MSI installer supports manual uninstallation of such a package. So, using the paths in the registry, I uninstalled them. There are actually two packages: Visual F# 3.1 SDK and Visual F# 3.1 VS. To uninstall these two packages, an Administrator command prompt needs to be opened.

    1. Open a powershell (or command) prompt as an Administrator
    2. Run the following to uninstall the Visual F# 3.1 SDK package:

      PS C:\> msiexec /x "C:\ProgramData\Package Cache\{06EEE072-B561-38E5-85D9-485ABCBE8342}v12.0.21005\packages\fsharp\FSharpSDK.msi"

      There is a prompt to perform the uninstallation, and then it’s gone.

      F# v3.1 SDK uninstallation prompt

    3. Run the following to uninstall the Visual F# 3.1 VS package:

      PS C:\> msiexec /x "C:\ProgramData\Package Cache\{6321F2D4-366B-3AE4-877A-8E539EC3331A}v12.0.21005\packages\fsharp\FSharpVS.msi"

    Unfortunately, this does not make the Visual F# installation go away in the Extensions and Updates list, nor does it remove all F# templates. I didn't experiment with manually removing that from Visual Studio (perhaps another day).

提交回复
热议问题