Skip to content

Conversation

@lillo42
Copy link

@lillo42 lillo42 commented Feb 21, 2025

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
Copy link
Author

lillo42 commented Apr 23, 2025

@zqfan can you review this PR?

@zqfan
Copy link
Member

zqfan commented Apr 25, 2025

<AssemblyOriginatorKeyFile>$(DotnetKeyFile)</AssemblyOriginatorKeyFile>

is it enough or need to do more? @lillo42

@lillo42
Copy link
Author

lillo42 commented Apr 25, 2025

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
Copy link

wsy commented Dec 3, 2025

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