tofacebook.com -专业IT技术社区 【百家号】脸书百科,Can't remove netstandard folder from output path Web程序 - tofacebook.com-专业IT技术社区
73°

【百家号】脸书百科,Can't remove netstandard folder from output path Web程序

标签:The   folder   iss   put   existing   ndt   append   issues   eve   

https://developercommunity.visualstudio.com/content/problem/30940/cant-remove-netstandard-folder-from-output-path.html

You can set the following in your .csproj to disable this behavior.

<PropertyGroup>

<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>

</PropertyGroup>

 

 

https://github.com/NuGet/Home/issues/4488

 

This is going to be a very common scenario. People are creating new .NET Standard projects and will add p2p refs to them from their existing "legacy" projects. -- Xamarin, Desktop, etc.

The right binaries won‘t be in the output directory and people will be confused by this broken behavior.

The only workaround is that you have to add <RestoreProjectStyle>PackageReference</RestoreProjectStyle> to the legacy project.

 

Can't remove netstandard folder from output path

标签:The   folder   iss   put   existing   ndt   append   issues   eve   

原文地址:https://www.cnblogs.com/chucklu/p/9372777.html


本文由百家号/熊掌号作者上传并发布,百家号仅提供信息发布平台。文章仅代表作者个人观点,不代表百度立场。

已有 0 条评论

    我有话说: