Closed mrlucmorin closed 5 years ago
Further information:
I needed to get the Trimming tool to work ASAP, so I disabled strong name checking altogether on my test machine, and it seems to have worked.
@ericstj, could you take look?
So this is not a public release, but just a nightly build. The public releases on nuget.org should be fully signed. https://www.nuget.org/packages/Microsoft.Packaging.Tools.Trimming/1.1.0-preview1-26619-01
@wtgodbe it looks like this may have been caused by your changes to enable arcade signing: https://github.com/dotnet/standard/commit/e33a28a8152f17be7c119520869340d2524b5859
I recall @weshaggard had to do something to make arcade aware of the open key. Perhaps we're missing a change?
edit (updated to correct link)
We need https://github.com/dotnet/arcade/issues/1204 to fix the open signing issue.
@weshaggard even though this repo isn't actually doing IL rewriting? I would have expected us to just set the flags that tell CSC to fully-sign the assemblies.
@ericstj that is fair perhaps delay signing got turned on somewhere.
This issue was moved to ericstj/Microsoft.Packaging.Tools.Trimming#1
Hi,
I installed Microsoft.Packaging.Tools.Trimming, making sure to use the "-pre" cli parameter as recommended in #518 .
Version of the trimming tool is 1.1.0-preview1-27107-01
Project is targeting .NET Framework 4.6.1
Added the following to the .csproj file:
I added it as the very first PropertyGroup if that matters.
When building the project from within VS2017, the following error happens:
Microsoft Visual Studio Professional 2017 Version 15.8.9 VisualStudio.15.Release/15.8.9+28010.2050 Microsoft .NET Framework Version 4.7.03056
Any suggestion?
Thanks