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

如果源代码包被目标项目引用了,打出的目标项目的源代码包将会包含引用依赖 #76

Merged
merged 4 commits into from
Jun 16, 2020

Conversation

lindexi
Copy link
Member

@lindexi lindexi commented Jun 14, 2020

Fix #60

@lindexi lindexi requested a review from walterlv June 14, 2020 10:03
var isPrivateAssetsAll = privateAssets.Contains("all");

// 解决 https://github.com/dotnet-campus/SourceYard/issues/60
// 即使有某个包标记了使用 private asset 是 All 的,但是这个包是一个源代码包,那么打包的时候就需要添加他的引用依赖
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这?似乎有争议?

争议点在于,privateassets 的包一般是控制编译的,或者是分析器。可能有的不能识别非项目目录下的?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是的,现在是源代码包标记的,即使写了 PrivateAssets 是 All 也会被添加引用

@walterlv walterlv merged commit 4f87018 into master Jun 16, 2020
@walterlv walterlv deleted the t/lindexi branch June 16, 2020 08:00
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

Successfully merging this pull request may close these issues.

源码包项目引用源码包
2 participants