Closed sean-rose closed 6 years ago
After further testing, it appears this was probably caused by having Cake's LoadDependencies
option enabled, causing it to download the dependent Microsoft.PowerShell.5.ReferenceAssemblies package and use the assemblies it contains, which are not strongly signed.
If so, it might be a good idea to add a note about that in the troubleshooting docs.
Come to think of it, the Microsoft.PowerShell.5.ReferenceAssemblies package seems like it's a development-only dependency, so that dependency could be removed from the generated Cake.Powershell package to avoid the possibility of this problem occurring altogether.
Should be resolved in v0.4.5
Using the latest Cake.Powershell v0.4.4 with Cake v0.26.1 on Windows 10 x64 I got the following alert when running the script:
After downgrading to Cake.Powershell v0.4.3 and Cake v0.25.0 I don't get that alert.