-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
@Zhuangkh 特别感谢你的更改,但是由于最近杂事较多,需要迟一点看哈 |
@Zhuangkh 有个坏消息是收集时机问题,按照本次更改的逻辑,似乎存在收集不全的情况 |
@@ -1,5 +1,12 @@ | |||
<Project> | |||
|
|||
<ItemGroup> | |||
<PackageReference Update="#(PackageId)"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这句话不能加的,会影响其他的安装的库
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
影响的点是..? 这句话解决的问题是#112
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Zhuangkh 遵循用户的意愿较好
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
参考 NuspecMetadata 的 DevelopmentDependency 属性
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Zhuangkh 权衡了一下,我决定采用你的这个方法
有没有可供测试的项目文件? |
@Zhuangkh 很抱歉,我用的是内部实际的项目去跑,相对复杂一些。我试试构建出 demo 来给你,但是没那么快能给出,十分感谢你的贡献 |
<EmbeddedResourceTextFile>$(SourcePackingDirectory)EmbeddedResourceFile.txt</EmbeddedResourceTextFile> | ||
<PageTextFile>$(SourcePackingDirectory)PageFile.txt</PageTextFile> | ||
<ApplicationDefinitionTextFile>$(SourcePackingDirectory)ApplicationDefinitionFile.txt</ApplicationDefinitionTextFile> | ||
<CompileTextFile>$(PackingDirectory)CompileFile.txt</CompileTextFile> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不适合采用 PackingDirectory 因为有时机要求,可能是空值
感谢 @Zhuangkh 我准备在你的基础上进行优化 |
@lindexi 不用这么客气哈,项目思路很好,解决了我一些问题😋 |
@Zhuangkh 我今天正在改改改,然后翻车中。原因是我的项目们正在升级到 .NET 6 上,存在一些兼容性的问题,其中一项就是 SourceYard 库的寻找逻辑,于是开始修 |
No description provided.