Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<EnableDynamicLoading>true</EnableDynamicLoading><TargetFramework>netstandard2.0</TargetFramework> 采用 dotnet build 无效 #18

Open
yiyungent opened this issue Apr 23, 2022 · 0 comments

Comments

@yiyungent
Copy link
Owner

<EnableDynamicLoading>true</EnableDynamicLoading><TargetFramework>netstandard2.0</TargetFramework> 采用 dotnet build 无效

发现尽管 加上了 EnableDynamicLoading , 还是无法生成除了 主dll 外的第三方包的dll, 但当 TargetFrameworknet6.0 等的时候就可以

微软官方推荐 TargetFrameworknet6.0 这种,即 Framework, 而不是 netstandard

可考虑使用 dotnet publish , 这个会始终复制所有dll到输出目录,但这么做就需要 手动删除插件包中 主程序中已有dll 了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant