|
28 | 28 | <!-- In the open source "Mono" build we always fully sign the binaries with the public test.snk, apart from FSharp.Core, which gets the MSFT key--> |
29 | 29 | <WhenCondition="'$(MonoPackaging)' == 'true' AND '$(AssemblyName)'!='FSharp.Core'" > |
30 | 30 | <PropertyGroup> |
31 | | - <OtherFlags>$(OtherFlags) --keyfile:"$(FSharpSourcesRoot)\fsharp\test.snk"</OtherFlags> |
| 31 | + <KeyOriginatorFile>$(FSharpSourcesRoot)\fsharp\test.snk</KeyOriginatorFile> |
32 | 32 | <DefineConstants>STRONG_NAME_FSHARP_COMPILER_WITH_TEST_KEY;$(DefineConstants)</DefineConstants> |
33 | 33 | <StrongNames>true</StrongNames> |
34 | 34 | <MicroBuildAssemblyVersionCondition="'$(MicroBuildAssemblyVersion)' == ''">$(FSCoreVersion)</MicroBuildAssemblyVersion> |
|
39 | 39 | <!-- We have to do unit test DLLs well because they can see the internals of other strong-named DLLs--> |
40 | 40 | <Otherwise> |
41 | 41 | <PropertyGroup> |
42 | | - <OtherFlagsCondition="'$(TargetDotnetProfile)' == 'coreclr' or $(BUILD_PUBLICSIGN) != '1'">$(OtherFlags) --delaysign+</OtherFlags> |
43 | | - <OtherFlagsCondition="'$(TargetDotnetProfile)' != 'coreclr' and $(BUILD_PUBLICSIGN) == '1'">$(OtherFlags) --publicsign+</OtherFlags> |
44 | | - <OtherFlags>$(OtherFlags) --keyfile:"$(FSharpSourcesRoot)\fsharp\msft.pubkey"</OtherFlags> |
| 42 | + <SignAssembly>true</SignAssembly> |
| 43 | + <DelaySign>true</DelaySign> |
| 44 | + <AssemblyOriginatorKeyFile>$(FSharpSourcesRoot)\fsharp\msft.pubkey</AssemblyOriginatorKeyFile> |
45 | 45 | <DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants> |
46 | 46 | <StrongNames>true</StrongNames> |
47 | 47 | <MicroBuildAssemblyVersion>$(FSCoreVersion)</MicroBuildAssemblyVersion> |
|