码迷,mamicode.com
首页 > Web开发 > 详细

Can't remove netstandard folder from output path

时间:2018-07-26 18:40:25      阅读:201      评论:0      收藏:0      [点我收藏+]

标签: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)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!