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

增加分版本的package引用和framework引用 #111

Closed
wants to merge 4 commits into from

Conversation

Zhuangkh
Copy link
Contributor

@Zhuangkh Zhuangkh commented Nov 5, 2021

No description provided.

@Zhuangkh Zhuangkh marked this pull request as ready for review November 8, 2021 08:44
@lindexi
Copy link
Member

lindexi commented Nov 10, 2021

@Zhuangkh 特别感谢你的更改,但是由于最近杂事较多,需要迟一点看哈

@lindexi lindexi self-requested a review November 10, 2021 01:28
@lindexi
Copy link
Member

lindexi commented Nov 15, 2021

@Zhuangkh 有个坏消息是收集时机问题,按照本次更改的逻辑,似乎存在收集不全的情况

@@ -1,5 +1,12 @@
<Project>

<ItemGroup>
<PackageReference Update="#(PackageId)">
Copy link
Member

Choose a reason for hiding this comment

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

这句话不能加的,会影响其他的安装的库

Copy link
Contributor Author

Choose a reason for hiding this comment

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

影响的点是..? 这句话解决的问题是#112

Copy link
Member

Choose a reason for hiding this comment

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

@Zhuangkh 遵循用户的意愿较好

Copy link
Member

Choose a reason for hiding this comment

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

参考 NuspecMetadata 的 DevelopmentDependency 属性

Copy link
Member

Choose a reason for hiding this comment

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

@Zhuangkh 权衡了一下,我决定采用你的这个方法

@Zhuangkh
Copy link
Contributor Author

@Zhuangkh 有个坏消息是收集时机问题,按照本次更改的逻辑,似乎存在收集不全的情况

有没有可供测试的项目文件?

@lindexi
Copy link
Member

lindexi commented Nov 15, 2021

@Zhuangkh 很抱歉,我用的是内部实际的项目去跑,相对复杂一些。我试试构建出 demo 来给你,但是没那么快能给出,十分感谢你的贡献

<EmbeddedResourceTextFile>$(SourcePackingDirectory)EmbeddedResourceFile.txt</EmbeddedResourceTextFile>
<PageTextFile>$(SourcePackingDirectory)PageFile.txt</PageTextFile>
<ApplicationDefinitionTextFile>$(SourcePackingDirectory)ApplicationDefinitionFile.txt</ApplicationDefinitionTextFile>
<CompileTextFile>$(PackingDirectory)CompileFile.txt</CompileTextFile>
Copy link
Member

Choose a reason for hiding this comment

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

不适合采用 PackingDirectory 因为有时机要求,可能是空值

@lindexi
Copy link
Member

lindexi commented Nov 18, 2021

感谢 @Zhuangkh 我准备在你的基础上进行优化

@Zhuangkh
Copy link
Contributor Author

@lindexi 不用这么客气哈,项目思路很好,解决了我一些问题😋

@lindexi
Copy link
Member

lindexi commented Nov 18, 2021

@Zhuangkh 我今天正在改改改,然后翻车中。原因是我的项目们正在升级到 .NET 6 上,存在一些兼容性的问题,其中一项就是 SourceYard 库的寻找逻辑,于是开始修

lindexi added a commit that referenced this pull request Nov 18, 2021
[增加分版本的package引用和framework引用 by Zhuangkh · Pull Request #111 · dotnet-campus/SourceYard](#111 )
lindexi added a commit that referenced this pull request Nov 18, 2021
lindexi added a commit that referenced this pull request Nov 19, 2021
@Zhuangkh Zhuangkh closed this Nov 19, 2021
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.

None yet

2 participants