Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add reference to netstandard through Visual Studio UI #267

Open
workgroupengineering opened this issue May 27, 2021 · 0 comments

Comments

@workgroupengineering
Copy link

How Reproduce:

  1. Create multi target C# Project like this

    <Project Sdk="MSBuild.Sdk.Extras" ToolsVersion="15.0">
      <PropertyGroup>
        <TargetFrameworks>netstandard2.1;xamarinmac20;xamarinios10;MonoAndroid11.0;MonoAndroid10.0</TargetFrameworks>
        <LangVersion>latest</LangVersion>
      </PropertyGroup>
    
      <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
        <PackageReference Include="System.Buffers" Version="4.5.1" />
        <PackageReference Include="System.Memory" Version="4.5.4" />
      </ItemGroup>
    
      <ItemGroup>
        <PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.0.0" />    
      </ItemGroup>
    </Project>
  2. Try to add reference to netstandard through Visual Studio UI

I have already posted the issue at https://developercommunity.visualstudio.com/, but they suggest opening it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant