runtime: deps.json has a bug when dll version is end with zero

Steps to reproduce

I try to put the Microsoft..dll and System..dll togather to a new folder. 以便把(第三方或)系统的和应用的dll分开。 之前花了很长的一段时间研究之后: I find xxx.deps.json can make it work. 之后我还特意写了篇文章介绍它:https://www.cnblogs.com/cyq1162/p/10542832.html but today,when i update the Microsoft. Aspnetcore to 2.2.0 version. it dose not work, and make me crazy.

because it always show me the msg like this:

F:\Code\OpenSource\Aries-GitHub\trunk\Aries.DevFramework\Web.UI_NetCore\bin\Rele ase\PublishOutput>dotnet Web.UI.dll Error: **An assembly specified in the application dependencies manifest (Web.UI.deps.js on) was not found**: package: 'Microsoft.AspNetCore.Authentication.Abstractions', version: '2.2.0 ' path: 'lib/netstandard2.0/Microsoft.AspNetCore.Authentication.Abstractions.d ll' and the json like this:

"Microsoft.AspNetCore.Authentication.Abstractions/2.2.0": {
        "dependencies": {
          "Microsoft.AspNetCore.Http.Abstractions": "2.2.0",
          "Microsoft.Extensions.Logging.Abstractions": "2.2.0",
          "Microsoft.Extensions.Options": "2.2.0"
        },
        "runtime": {
          "lib/netstandard2.0/Microsoft.AspNetCore.Authentication.Abstractions.dll": {
            "fileVersion": "2.2.0.18316"
          }
        }
      }

我花了N长的时间在检测配置和确定路径的正确性,但结果,却依旧很悲催。 it take me much time to find out the question what it’s. when i try to maike it like this: Microsoft.AspNetCore.Authentication.Abstractions Microsoft.AspNetCore.Authentication.Abstractions/2.2.xxx it work. 就是这样,只要版本号不是2.2.0,它就一切正常。 之后又几次测试,发现版本号是4.6.0也同样有问题。 and then i find the version on /4.6.0 ,it does not work also. 就是这样,版本号三位数,尾数是0的,就提示找不到dll。 how ugly this bug it’s.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

Thank you for reminding me。 I find something in the Taurus.View.runtimeconfig.json

and that ' s what make it work well. -_-.....
That's what I used to do in my experiments, so I never noticed it.
thanks a lot.