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

Add strong name signed core nuget #206

Merged
merged 10 commits into from
Nov 15, 2016
Merged

Add strong name signed core nuget #206

merged 10 commits into from
Nov 15, 2016

Conversation

angularsen
Copy link
Owner

Draft for strong name signing as discussed in #135.

Type constants into JSON and test cases instead. Also avoids issue with
friendly assemblies and strong name signing.
Only usage was Constants type, which is now deleted. Also
it complicated the setup of strong naming on build server
while not exposing any keys in repo, when having a friend
assembly.
Found that the test incorrectly accessed internal members that circumvented
the WinRT API surface. After test assembly no longer is a friend assembly,
this forced us to properly deal with the incompatible test cases.
If specified and file exists, the solution will be built with strong name
signing enabled. Typically only the build server will do this, which has
the private key installed.
* Add build-signed.msbuild and bat file
* Rename all.msbuild to build-all.msbuild for consistency
* Rewrite msbuild files to Clean, Build and Rebuild targets
* Update build scripts
* build.bat takes optional .pfx key file for signing

Notes:
* Moves binaries to Src-signed and Src-unsigned dirs after each build
* Only builds signed binaries after tests have passed
* If no key file is specified, signed binaries are skipped
* Only build server has .pfx key file
@angularsen angularsen changed the title Add strong name signing (WIP) Add strong name signed nuget Nov 15, 2016
@angularsen angularsen changed the title Add strong name signed nuget Add strong name signed core nuget Nov 15, 2016
@angularsen angularsen merged commit 3ad609f into master Nov 15, 2016
@angularsen angularsen deleted the add-strong-name-sign branch November 15, 2016 22:08
@angularsen
Copy link
Owner Author

Heads up on strong name signing key now being published and also changed to a new key:
#262

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.

1 participant