Do not fail at attaching developer tools
Some checks failed
Dotnet build and test / build (pull_request) Failing after 10m48s
Some checks failed
Dotnet build and test / build (pull_request) Failing after 10m48s
This commit is contained in:
parent
6d6c4f2a8a
commit
50a07102cb
1 changed files with 8 additions and 1 deletions
|
|
@ -33,7 +33,14 @@ public partial class App : Application
|
||||||
{
|
{
|
||||||
AvaloniaXamlLoader.Load(this);
|
AvaloniaXamlLoader.Load(this);
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
this.AttachDeveloperTools();
|
try {
|
||||||
|
this.AttachDeveloperTools();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Console.Error.WriteLine(
|
||||||
|
$"Could not attache developer tools : {ex.Message}");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue