Reinstall of VS2015 results in error opening/creating PowerShell Projects

Welcome Forums General PowerShell Q&A Reinstall of VS2015 results in error opening/creating PowerShell Projects

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 7 months ago.

  • Author
    Posts
  • #35473

    Participant
    Points: 0
    Rank: Member

    I had to uninstall/reinstall VS2015 due to disk issues. I installed VS2015 Enterprise with Update 1 and included the PowerShell Tools option in the configuration. I opened VS2015 and tried to open an existing VS2015 Solution that has several PowerShell Script projects in it. All the projects failed to load with the following message:

    C:\Users\rs02130\Documents\Visual Studio 2015\Projects\cto_sdf_powershell\AHPEventsToSQL\AHPEventsToSQL.pssproj : error  : 
    ould not load file or assembly 'Microsoft.Windows.Design.Host, Version=4.2.0.0, 
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 
    The system cannot find the file specified.
    

    I also tried creating a new project and got the same error. I've Googled and Binged this to death and can't find anything. Anyone have any idea how to fix this?

  • #35524

    Keymaster
    Points: 1
    Rank: Member

    Not something I've run into. Sounds like something in the install for corrupted, though – Microsoft.Windows.Design.Host is part of Visual Studio. Not really PowerShell causing the problem here, I don't think.

  • #35638

    Participant
    Points: 0
    Rank: Member

    I'm trying uninstall/reinstall but it's giving me problems. VS uninstall doesn't clean up very well. Had this discussion with the presenter on UWP last year at VSLive in Redmond. "Why do you include UWP development tools in a product (VS 2015) that isn't itself UWP? When are the product teams going to adapt UWP so we can safely uninstall your products?" He looked off into the distance and said "Yeah, we probably should do that, huh?" You think?

The topic ‘Reinstall of VS2015 results in error opening/creating PowerShell Projects’ is closed to new replies.