From 1760931e93db78ba8b7cdc959e9538e6a308a3e6 Mon Sep 17 00:00:00 2001 From: John Zabroski Date: Sat, 26 Oct 2019 17:35:20 -0400 Subject: [PATCH] Update public-signing.md (dotnet/corefx#42129) @jaredpar Updated this doc based on comments on Twitter discussion with you and @dsplaisted Commit migrated from https://github.com/dotnet/corefx/commit/cf28b7896a762f71c990a5896a160a4138d833c9 --- docs/libraries/project-docs/public-signing.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/libraries/project-docs/public-signing.md b/docs/libraries/project-docs/public-signing.md index e1c3885..8a23cf0 100644 --- a/docs/libraries/project-docs/public-signing.md +++ b/docs/libraries/project-docs/public-signing.md @@ -31,6 +31,10 @@ CorFlags : 0x2000b The bit that is flipped is 0x8. If the bit is set, the assembly is strong-named. Additionally, the `sn.exe -vf` tool can show the same information. It will output ` is a delay-signed or test-signed assembly` or `Failed to verify assembly -- Strong name validation failed.` for a public-signed binary. -The [FakeSign package on NuGet](https://www.nuget.org/packages/fakesign) contains the `FakeSign.exe` tool that can flip the bit on or off. +# MSBuild and Compiler Tooling Support -Additionally, starting with Visual Studio 2015 Update 2 the C# and VB compilers support the new `/publicsign` command-line argument. You can also pass it to the compiler from your MSBuild project by setting the `True` MSBuild property to true. Note that you have to set `False` otherwise you will get an error that DelaySign and PublicSign can't be both specified at the same time. +Starting with Visual Studio 2015 Update 2, the C# and VB compilers support the new `/publicsign` command-line argument. You can also pass it to the compiler from your MSBuild project by setting the `True` MSBuild property to true. Note that you have to set `False` otherwise you will get an error that DelaySign and PublicSign can't be both specified at the same time. + +# Legacy FakeSign tool + +If you're not able to use Visual Studio 2016 Update 2 or later, the [FakeSign package on NuGet](https://www.nuget.org/packages/fakesign) contains the `FakeSign.exe` tool that can flip the bit on or off. -- 2.7.4