Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Unable to install Microsoft.CodeAnalysis NuGet package #422

@mrward

Description

@mrward

Unable to install the new Roslyn NuGet package into SharpDevelop.

To reproduce

Create a .NET 4.5 C# console project.
Select IncludePrerelease checkbox.
Search for "id:Microsoft.CodeAnalysis".
Click the Add button.

Expected result

Microsoft.CodeAnalysis and several other NuGet packages are installed and assembly references are added.

Actual result

Nothing happens.

Looking at the code the Microsoft.CodeAnalysis has no assembly references so it is treated as a solution package and none of its dependencies are installed. The code should probably check dependencies. However it might be worth looking at the NuGet source code to see how this is handled.

Would be good to have unit tests for the new solution level packages and this bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions