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

有没有强名称(strong name)版的SDK #21

Open
tonylu81 opened this issue Mar 17, 2023 · 1 comment
Open

有没有强名称(strong name)版的SDK #21

tonylu81 opened this issue Mar 17, 2023 · 1 comment

Comments

@tonylu81
Copy link

有没有强名称(strong name)版的SDK

@andywu188
Copy link

建议为程序集添加强名称,由于没有强名称,导致开发者在引用程序集时,无法为自身程序集添加强名称,在.net中,强名称程序集无法引用无强名称的程序集,希望能够及时改进。

只需要在解决方案根目录中增加 Directory.Build.props 文件,即可对所有项目生效

$(MSBuildThisFileDirectory)StrongName.snk true

并将StrongName.snk放在解决方案根目录

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

No branches or pull requests

2 participants