bug处理记录、备忘

bug:(20180703)

"Message": "出现错误。","ExceptionMessage": "找不到方法:“System.Net.Http.HttpRequestMessage System.Web.Http.Controllers.HttpActionContext.get_Request()”。"

处理:

升级System.Net.Http nuget包即可
https://q.cnblogs.com/q/102990/
https://stackoverflow.com/questions/46451247/missing-method-in-system-web-http-apicontroller-get-request

bug:(20180703)

未能找到 CodeDom 提供程序类型“Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf385

处理:

工具->NuGet包管理器->程序包管理控制台
Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform

.net core单元测试覆盖率(20180720)

手动添加 <DebugType>full</DebugType>  
https://dotnetthoughts.net/measuring-code-coverage-of-dotnet-core-applications-with-vs2017/
posted @ 2018-07-03 10:40  农码一生  阅读(500)  评论(0编辑  收藏  举报
.