首页 > Web开发 > 详细

运行netcore2.2程序是报错

时间:2019-03-30 18:26:30      阅读:411      评论:0      收藏:0      [点我收藏+]

运行netcore2.2程序是报错

C:\myself\WuZhui\WuZhui\bin\Release\netcoreapp2.2>dotnet WuZhui.DLL
Error:
An assembly specified in the application dependencies manifest (WuZhui.deps.json) has already been found but with a different file extension:
package: ‘WuZhui‘, version: ‘1.0.0‘
path: ‘WuZhui.dll‘
previously found assembly: ‘C:\myself\WuZhui\WuZhui\bin\Release\netcoreapp2.2\WuZhui.DLL‘

 

最后发现是大小写问题,我的天啊,习惯window不区分大小写,怎么突然区分大小写了;

 

C:\myself\WuZhui\WuZhui\bin\Release\netcoreapp2.2>dotnet WuZhui.dll
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using ‘C:\Users\jiangwenyuan\AppData\Local\ASP.NET\DataProtection-Keys‘ as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Production
Content root path: C:\myself\WuZhui\WuZhui\bin\Release\netcoreapp2.2
Now listening on: http://localhost:5000
Now listening on: https://localhost:5001
Application started. Press Ctrl+C to shut down.

 

dll改成小写后成功

运行netcore2.2程序是报错

原文:https://www.cnblogs.com/stjwy/p/10628100.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!