Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Could not load type 'Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace'
posted

Running VS 2017 Prof. 15.8.0 Preview 2.0

1. downloaded latest version of AppMap 

2. create new project and picked appmap

3. at the end while appmap is generating files got this error - 

06/17/18 14:08:47: System.TypeLoadException: Could not load type 'Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace' from assembly 'Microsoft.CodeAnalysis.Workspaces.Desktop, Version=2.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Infragistics.VisualStudio.Wizards.Xamarin.AppMap.CodeGeneration.CodeGenerator.UpdateApplicationClass(PageTemplateModel mainPageTemplateModel, IEnumerable`1 pagesToRegisterForNavigation)
   at Infragistics.VisualStudio.Wizards.Xamarin.AppMap.CodeGeneration.CodeGenerator.Generate()
   at Infragistics.VisualStudio.Wizards.Xamarin.AppMap.AppMapWizard.GenerateAppMap()

Please suggest a fix.

Thank you,

Barun

  • 5170
    Suggested Answer
    Offline posted

    I have uploaded the fix to the market place.  Please update to v2.0.13 and test.  Let me know if you have any more issues.

  • 375
    Offline posted in reply to Brian Lagunas

    I'm getting the same error, please tell me how i can test this.  This is what I have installed:

    Microsoft Visual Studio Enterprise 2017
    Version 15.8.4
    VisualStudio.15.Release/15.8.4+28010.2026
    Microsoft .NET Framework
    Version 4.7.03056
    Installed Version: Enterprise
    Architecture Diagrams and Analysis Tools   00369-60000-00001-AA914
    Microsoft Architecture Diagrams and Analysis Tools
    Visual C++ 2017   00369-60000-00001-AA914
    Microsoft Visual C++ 2017
    ApexSQL Complete   1.0
    ApexSQL Complete Visual Studio Addin Component
    ApexSQL Refactor   1.0
    ApexSQL Refactor Visual Studio Addin Component
    ApexSQL Search   1.0
    ApexSQL Search Visual Studio Addin Component
    Application Insights Tools for Visual Studio Package   8.13.10627.1
    Application Insights Tools for Visual Studio
    ASP.NET and Web Tools 2017   15.8.05085.0
    ASP.NET and Web Tools 2017
    ASP.NET Core Razor Language Services   15.8.31590
    Provides languages services for ASP.NET Core Razor.
    ASP.NET Web Frameworks and Tools 2017   5.2.60618.0
    For additional information, visit https://www.asp.net/
    Azure App Service Tools v3.0.0   15.8.05023.0
    Azure App Service Tools v3.0.0
    Azure Data Lake Node   1.0
    This package contains the Data Lake integration nodes for Server Explorer.
    Azure Data Lake Tools for Visual Studio   2.3.3000.5
    Microsoft Azure Data Lake Tools for Visual Studio
    Azure Functions and Web Jobs Tools   15.8.05023.0
    Azure Functions and Web Jobs Tools
    Azure Stream Analytics Tools for Visual Studio   2.3.3000.5
    Microsoft Azure Stream Analytics Tools for Visual Studio
    C# Tools   2.9.0-beta8-63208-01
    C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
    Common Azure Tools   1.10
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
    Cookiecutter   15.8.18241.1
    Provides tools for finding, instantiating and customizing templates in cookiecutter format.
    Extensibility Message Bus   1.1.49 (remotes/origin/d15-8@ee674f3)
    Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
    Fabric.DiagnosticEvents   1.0
    Fabric Diagnostic Events
    GitClientVSPackage Extension   1.0
    GitClientVSPackage Visual Studio Extension Detailed Info
    Infragistics Version Utility   1.0
    This utility lets you set the Infragistics version that a specific project is using.
    Infragistics.VSExtension   1.0
    Infragistics Visual Studio Extension (AddIn) adds scheduled check for update functionality to your Visual Studio IDE. It also provides some fast shortcuts to infragistics products and online resources.
    JavaScript Language Service   2.0
    JavaScript Language Service
    JavaScript Project System   2.0
    JavaScript Project System
    Microsoft Azure HDInsight Azure Node   2.3.3000.5
    HDInsight Node under Azure Node
    Microsoft Azure Hive Query Language Service   2.3.3000.5
    Language service for Hive query
    Microsoft Azure Service Fabric Tools for Visual Studio   2.3
    Microsoft Azure Service Fabric Tools for Visual Studio
    Microsoft Azure Stream Analytics Language Service   2.3.3000.5
    Language service for Azure Stream Analytics
    Microsoft Azure Stream Analytics Node   1.0
    Azure Stream Analytics Node under Azure Node
    Microsoft Azure Tools   2.9
    Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.10730.2
    Microsoft Continuous Delivery Tools for Visual Studio   0.4
    Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
    Microsoft JVM Debugger   1.0
    Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
    Microsoft Library Manager   1.0
    Install client-side libraries easily to any web project
    Microsoft MI-Based Debugger   1.0
    Provides support for connecting Visual Studio to MI compatible debuggers
    Microsoft Visual C++ Wizards   1.0
    Microsoft Visual C++ Wizards
    Microsoft Visual Studio Tools for Containers   1.1
    Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
    Microsoft Visual Studio VC Package   1.0
    Microsoft Visual Studio VC Package
    MLGen Package Extension   1.0
    MLGen Package Visual Studio Extension Detailed Info
    Mono Debugging for Visual Studio   4.11.8-pre (009db7d)
    Support for debugging Mono processes with Visual Studio.
    Node.js Tools   1.4.20802.1 Commit Hash:97e1085d8b4b8e3e51c398e910177f87e86d135e
    Adds support for developing and debugging Node.js apps in Visual Studio
    NuGet Package Manager   4.6.0
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
    ProjectServicesPackage Extension   1.0
    ProjectServicesPackage Visual Studio Extension Detailed Info
    Python   15.8.18241.1
    Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
    Python - Django support   15.8.18241.1
    Provides templates and integration for the Django web framework.
    Python - IronPython support   15.8.18241.1
    Provides templates and integration for IronPython-based projects.
    Python - Profiling support   15.8.18241.1
    Profiling support for Python projects.
    Python - UWP support   15.8.18241.1
    Provides templates and integration for the UWP framework.
    Python - VC Project Support   15.8.18116.3
    Provides support for launching C++ projects with Python debugging enabled.
    R Tools for Visual Studio   1.3.40517.1016
    Provides project system, R Interactive window, plotting, and more for the R programming language.
    Redgate SQL Change Automation   3.0.18177.211
    Extend DevOps processes to your SQL Server databases and safely automate database deployments.
    Visit www.red-gate.com/.../productpage for more information.
    Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.
    This software contains components from Component Owl.
    SQL Server is a registered trademark of Microsoft Corporation.
    Visual Studio is a registered trademark of Microsoft Corporation.
    SQL Change Automation contains code from the following open source software:
    This product contains icons from http://www.visualpharm.com distributed under a free backlink license.
    For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the SQL Change Automation application folder.
       
    Redgate SQL Prompt   9.2.0.5601
    Write, format, and refactor SQL effortlessly
    ResourcePackage Extension   1.0
    ResourcePackage Visual Studio Extension Detailed Info
    ResourcePackage Extension   1.0
    ResourcePackage Visual Studio Extension Detailed Info
    ResXFileCodeGeneratorEx Package   1.0
    Installs the ResXFileCodeGeneratorEx custom tool
    Snapshot Debugging Extension   1.0
    Snapshot Debugging Visual Studio Extension Detailed Info
    SQL Server Data Tools   15.1.61808.07020
    Microsoft SQL Server Data Tools
    TestAddin   1.0

    ToolWindowHostedEditor   1.0
    Hosting json editor into a tool window
    TypeScript Tools   15.8.20801.2001
    TypeScript Tools for Microsoft Visual Studio
    Visual Basic Tools   2.9.0-beta8-63208-01
    Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
    Visual F# Tools 10.2 for F# 4.5   15.8.0.0.  Commit Hash: c55dd2c3d618eb93a8d16e503947342b1fa93556.
    Microsoft Visual F# Tools 10.2 for F# 4.5
    Visual Studio Code Debug Adapter Host Package   1.0
    Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
    Visual Studio Tools for Apache Cordova   15.123.7408.1
    Visual Studio Tools for Apache Cordova
    Visual Studio Tools for Containers   1.0
    Visual Studio Tools for Containers
    Visual Studio Tools for Universal Windows Apps   15.0.28010.00
    The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
    VisualStudio.Mac   1.0
    Mac Extension for Visual Studio
    VSProject.Extension   1.0
    Information about my package
    Windows Template Studio   2.3.18212.1
    Windows Template Studio quickly builds a UWP app, using a wizard-based UI to turn your needs into a foundation of Windows 10 patterns and best practices.
    Xamarin   4.11.0.756 (d15-8@b66ff7180)
    Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
    Xamarin Designer   4.14.221 (a73ca07f7)
    Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
    Xamarin Templates   1.1.116 (9619170)
    Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
    Xamarin.Android SDK   9.0.0.19 (HEAD/a8a3b0ec7)
    Xamarin.Android Reference Assemblies and MSBuild support.
    Xamarin.iOS and Xamarin.Mac SDK   11.14.0.13 (373c313)
    Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
  • 5170
    Offline posted

    I believe I have fixed the issue. Would someone be willing to test it for me to verify it works for them before I publish the update?

  • 5170
    Offline posted

    We have identified the issue and we are trying to determine if it can be fixed.  Essentially Microsoft broke us with this update and the fix may not be backwards compatible.  I'll post something as soon as we determine our path forward.