How to specify ASP.NET Core target framework imports in .csproj file (instead of project.json)?

后端 未结 1 1913
夕颜
夕颜 2021-01-05 02:53

I\'m building an ASP.NET Core app, and am trying to install the Azure Storage package.

From the Azure Storage github page, it says I need to place the following in

1条回答
  •  情书的邮戳
    2021-01-05 03:16

    After migrating one of my projects to the new model, this is what it generated:

    
        netcoreapp1.6
        true
        TestApp
        Exe
        $(PackageTargetFallback);dotnet5.6;portable-net45+win8
    
    

    Try adding dnxcore50 and portable-net451+win8 in a similar fashion, something like this:

    
        Exe
        netcoreapp1.1
        true
        $(PackageTargetFallback);dnxcore50;portable-net451+win8
    
    

    0 讨论(0)
提交回复
热议问题