-
Version: 0.5.2-pre.115
-
Target: win-x64
Attempt to auto-resolve RuntimeIdentifier create a regression in Visual Studio. Projects are unable to be loaded.
Steps to Reproduce:
- Open solution using Visual Studio
error : Invalid static method invocation syntax: "[System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier". Method 'System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order.
Visual Studio might use netstandard2.0 where this property do not exists while available with dotnet cli.
- Proposed fix : Electron builder resolve by default the RuntimeIdentifier to be the current host target. Remove the default RuntimeIdentifier. Only define electron builder architecture and os when the RuntimeIdentifier is manually set and remove these arguments when undefined.
Version: 0.5.2-pre.115
Target: win-x64
Attempt to auto-resolve RuntimeIdentifier create a regression in Visual Studio. Projects are unable to be loaded.
Steps to Reproduce:
Visual Studio might use netstandard2.0 where this property do not exists while available with dotnet cli.