Merge pull request #656 from Noggog/include-symbols

Include symbols
This commit is contained in:
Timothy Baldridge 2020-03-30 14:39:50 -06:00 committed by GitHub
commit da9fe77cb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 1 deletions

View File

@ -22,8 +22,17 @@ namespace Wabbajack.Launcher
{ {
public MainWindow() public MainWindow()
{ {
DataContext = new MainWindowVM();
InitializeComponent(); InitializeComponent();
try
{
DataContext = new MainWindowVM();
}
catch(Exception ex)
{
System.Console.Error.WriteLine("Error creating datacontext.");
System.Console.Error.WriteLine(ex);
throw;
}
} }
} }
} }

View File

@ -13,6 +13,7 @@
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AssemblyName>Wabbajack</AssemblyName> <AssemblyName>Wabbajack</AssemblyName>
<RootNamespace>Wabbajack</RootNamespace> <RootNamespace>Wabbajack</RootNamespace>
<IncludeSymbolsInSingleFile>true</IncludeSymbolsInSingleFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>

View File

@ -13,6 +13,7 @@
<PublishReadyToRun>true</PublishReadyToRun> <PublishReadyToRun>true</PublishReadyToRun>
<StartupObject></StartupObject> <StartupObject></StartupObject>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IncludeSymbolsInSingleFile>true</IncludeSymbolsInSingleFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>