diff --git a/Asm65/Asm65.csproj b/Asm65/Asm65.csproj index 7556a05..6624b10 100644 --- a/Asm65/Asm65.csproj +++ b/Asm65/Asm65.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 diff --git a/SourceGen/SourceGen.csproj b/SourceGen/SourceGen.csproj index bec1547..c1afaac 100644 --- a/SourceGen/SourceGen.csproj +++ b/SourceGen/SourceGen.csproj @@ -24,6 +24,7 @@ DEBUG;TRACE prompt 4 + false AnyCPU @@ -33,6 +34,7 @@ TRACE prompt 4 + false Res\SourceGenIcon.ico diff --git a/SourceGen/WpfGui/AboutBox.xaml b/SourceGen/WpfGui/AboutBox.xaml index 7814dfa..c024d46 100644 --- a/SourceGen/WpfGui/AboutBox.xaml +++ b/SourceGen/WpfGui/AboutBox.xaml @@ -49,12 +49,13 @@ limitations under the License. BorderThickness="0" HorizontalAlignment="Left" Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Click="WebSiteButton_Click"/> - + + diff --git a/SourceGen/WpfGui/AboutBox.xaml.cs b/SourceGen/WpfGui/AboutBox.xaml.cs index a18d3ef..5a9bbe6 100644 --- a/SourceGen/WpfGui/AboutBox.xaml.cs +++ b/SourceGen/WpfGui/AboutBox.xaml.cs @@ -15,6 +15,7 @@ */ using System; using System.IO; +using System.Runtime.InteropServices; using System.Windows; namespace SourceGen.WpfGui { @@ -40,6 +41,17 @@ public string OsPlatform { } } + /// + /// Runtime information, for display. + /// + public string RuntimeInfo { + get { + return "Runtime: " + RuntimeInformation.FrameworkDescription + ", " + + "OS-arch " + RuntimeInformation.OSArchitecture + ", proc-arch " + + RuntimeInformation.ProcessArchitecture; + } + } + /// /// Determines whether a message about assertions is visible. ///