mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
给一些报错添加跳过
This commit is contained in:
parent
934595bd6d
commit
537e0a549c
@ -68,7 +68,8 @@ namespace VPet_Simulator.Windows
|
||||
if (ErrorReport.Contains(expt))
|
||||
return;//防止重复报错
|
||||
ErrorReport.Add(expt);
|
||||
if (expt.Contains("MainWindow.Close"))
|
||||
if (expt.Contains("MainWindow.Close") || expt.Contains("System.Windows.Window.DragMove") ||
|
||||
expt.Contains("winConsole"))
|
||||
return;
|
||||
else if ((!isFatality && MainWindow != null && ((MainWindow)MainWindow).GameSavesData?.GameSave != null &&
|
||||
(((MainWindow)MainWindow).GameSavesData.GameSave.Money > int.MaxValue || ((MainWindow)MainWindow).GameSavesData.GameSave.Exp > int.MaxValue)
|
||||
|
@ -40,22 +40,26 @@
|
||||
<OutputPath>bin\x64\Debug\</OutputPath>
|
||||
<DefineConstants>$(DefineConstants);X64</DefineConstants>
|
||||
<NoWarn>1701;1702</NoWarn>
|
||||
<DebugType>embedded</DebugType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<OutputPath>bin\x64\Release\</OutputPath>
|
||||
<DefineConstants>$(DefineConstants);X64</DefineConstants>
|
||||
<NoWarn>1701;1702</NoWarn>
|
||||
<DebugType>embedded</DebugType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<OutputPath>bin\x86\Debug\</OutputPath>
|
||||
<NoWarn>1701;1702</NoWarn>
|
||||
<DebugType>embedded</DebugType>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<OutputPath>bin\x86\Release\</OutputPath>
|
||||
<NoWarn>1701;1702</NoWarn>
|
||||
<DebugType>embedded</DebugType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<AssemblyAttribute Include="System.Reflection.AssemblyTrademarkAttribute">
|
||||
|
Loading…
Reference in New Issue
Block a user