运行netcore2.2程序是报错
C:myselfWuZhuiWuZhuiinRelease
etcoreapp2.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:myselfWuZhuiWuZhuiinRelease
etcoreapp2.2WuZhui.DLL'
最后发现是大小写问题,我的天啊,习惯window不区分大小写,怎么突然区分大小写了;
C:myselfWuZhuiWuZhuiinRelease
etcoreapp2.2>dotnet WuZhui.dll
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using 'C:UsersjiangwenyuanAppDataLocalASP.NETDataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Production
Content root path: C:myselfWuZhuiWuZhuiinRelease
etcoreapp2.2
Now listening on: http://localhost:5000
Now listening on: https://localhost:5001
Application started. Press Ctrl+C to shut down.
dll改成小写后成功