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.

对于asp.net web site项目

https://github.com/dotnet/standard/issues/481

ASP.NET web applications and web sites

  1. Web applications and web sites don't support automatic binding redirect generation. In order to resolve binding conflicts, you need to double click the warning in the error list and Visual Studio will add them to your web.config file.
  2. In web application projects, you should enable PackageReference like mentioned above. In web sites, you cannot use PackageReference as there is no project file. In that case, you need to install all NuGet packages into your web site that any of the direct or indirect project references depend on.

最新文章

  1. node.js
  2. 微信JSSDK javascript 开发 代码片段,仅供参考
  3. 解决Mac下MX4手机无法连接adb问题之解决方案
  4. .NET Framework3.0/3.5/4.0/4.5新增功能摘要
  5. MVC EF ObjectStateManager 中已存在具有同一键的对象。ObjectStateManager 无法跟踪具有相同键的多个对象。
  6. Codeforces 545C Woodcutters
  7. padding-bottom布局解析;
  8. 解決 centos中-bash: vim: command not found
  9. PHP 模板方法模式使用
  10. 从源码看springboot默认的资源文件和配置文件所在位置
  11. Server酱
  12. virtualBox centos 6.5 硬盘扩容
  13. vue学习之组件
  14. JVM中对象的回收过程
  15. 自己用HashMap来模拟一个Session缓存(简易版)
  16. Codeforces Round #532 (Div. 2)
  17. C-C和指针作业题(第一章)
  18. jeecms上传文件限制导致413-Request Entity Too Large
  19. go chapter 11 初始化 map 数组
  20. Druid配置属性列表及含义

热门文章

  1. jQuery中attr和prop方法的区别
  2. python025 Python3 正则表达式
  3. 使用SqlParameter.SqlDbType和SqlParameter.Size时需要注意的地方
  4. 第八届河南省程序设计大赛-B.最大岛屿0000110011000000
  5. 飞扬的小鸟(codevs 3729)
  6. POJ 3615 Cow Hurdles
  7. js9:设置cookie,读取cookie,删除cookie,保存cookie时间,String,Date对象
  8. Java文件内容读写
  9. oracle 启动监听报错TNS-12547: TNS:lost contact
  10. Borg Maze-POJ3026(bfs+最小生成树)