Skip to content

添加强名称与源链接 / Add Strong Name & SourceLink - #305

Open
lillo42 wants to merge 1 commit into
TencentCloud:masterfrom
lillo42:add.strong.name
Open

添加强名称与源链接 / Add Strong Name & SourceLink#305
lillo42 wants to merge 1 commit into
TencentCloud:masterfrom
lillo42:add.strong.name

Conversation

@lillo42

@lillo42 lillo42 commented Feb 21, 2025

Copy link
Copy Markdown

fixes #72

@lillo42 lillo42 changed the title Add Strong Name 添加强名称 / Add Strong Name Feb 28, 2025
@lillo42 lillo42 changed the title 添加强名称 / Add Strong Name 添加强名称 / Add Strong Name & SourceLink Apr 23, 2025
@lillo42 lillo42 changed the title 添加强名称 / Add Strong Name & SourceLink 添加强名称与源链接 / Add Strong Name & SourceLink Apr 23, 2025
@lillo42

lillo42 commented Apr 23, 2025

Copy link
Copy Markdown
Author

@zqfan can you review this PR?

@zqfan

zqfan commented Apr 25, 2025

Copy link
Copy Markdown
Member

<AssemblyOriginatorKeyFile>$(DotnetKeyFile)</AssemblyOriginatorKeyFile>

is it enough or need to do more? @lillo42

@lillo42

lillo42 commented Apr 25, 2025

Copy link
Copy Markdown
Author

No, that is not enough, if you look at the generated dll (https://nuget.info/packages/TencentCloudSDK.Ccc/3.0.1227 or https://nuget.info/packages/TencentCloudSDK.Ccc/3.0.1227)you can see its not mark with strong name.

I think it missing the key (.snk) and/or the property DotnetKeyFile doesn't have the correct value

@wsy

wsy commented Dec 3, 2025

Copy link
Copy Markdown
image

@zqfan Hi, I think you need these two lines to enable StrongName.

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.

希望把nuget中sdk库加上强签名

3 participants