Dotnet发布(依赖于框架)创建依赖的DLL

时间:2018-12-15 16:48:21

标签: deployment .net-core

我正在使用Visual Studio 2017开发ASP.NetCore Web应用程序。以前,当我运行dotnet publish --configuration Release --output "path to output directory"时,我只是获得了Project DLL和Views DLL。突然之间,我现在获得了所有依赖项DLL,例如Microsoft.EntityFrameworkCore.dllAutoMapper.dll。现在,结果是我的部署文件夹更大了。

dotnet --version返回2.1.500。我尝试设置--self-contained false,但没有区别。任何人都可以解释这种行为吗?

0 个答案:

没有答案
相关问题