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

DevelopmentDependency设置 #112

Closed
Zhuangkh opened this issue Nov 8, 2021 · 2 comments
Closed

DevelopmentDependency设置 #112

Zhuangkh opened this issue Nov 8, 2021 · 2 comments

Comments

@Zhuangkh
Copy link
Contributor

Zhuangkh commented Nov 8, 2021

设置DevelopmentDependency时,不单会设置PrivateAssetsall,同时也会将IncludeAssets设置为runtime; build; native; contentfiles; analyzers; buildtransitive,这会导致不会自动去加载源码包使用的其他nuget库.

不知有没有办法改变PrivateAssets时不去改变IncludeAssets的默认行为

@Zhuangkh
Copy link
Contributor Author

Zhuangkh commented Nov 8, 2021

这就是#111 无法加载依赖的问题来源

@Zhuangkh
Copy link
Contributor Author

Zhuangkh commented Nov 8, 2021

NuGet/Home#7084 (comment)
使用这个办法解决

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