c# - How to reset initial install directory of 2015 after using a custom install directory? -
problem: after installing visual studio 2015 community partition (f:), visual studio not recognizing assemblies installed.
how reset installation install default c:\ location gac assemblies working properly?
after research , many uninstalls , frustration, had use following tool check visual studio versions installed in registry.
in order use tool, had follow instructions listed here allowing powershell run scripts.
http://www.howtogeek.com/106273/how-to-allow-the-execution-of-powershell-scripts-on-windows-7/
i had run following tool check versions of vs installed.
i extremely satisfied when able complete installation in default c:\ location.
process:
run powershell under context of admin (listed in order):
set-executionpolicy unrestricted
get-msicomponentinfo '{777cbcac-12ab-4a57-a753-4a7d23b484d3}' | get-msiproductinfo
get-msicomponentinfo '{777cbcac-12ab-4a57-a753-4a7d23b484d3}' | get-msiproductinfo | uninstall-msiproduct -properties ignoredependencies=all
set-executionpolicy restricted
that allowed me choose default install location once again.
edit:
this helped me visual studio , running again did not "solve" problem. goal visual studio 2015 community , running without errors. turns out after doing below, corrupted installation , after multiple uninstalls/reinstalls, way fix problem system refresh...very unfortunate.
i don't think i've ever had problem when uninstalled visual studio in past. occurred because installed partition (in case).
i never advise unless absolutely necessary, if decide install visual studio partition besides c:\, prepared system refresh if else fails last resort.
Comments
Post a Comment