icsharpcode / AvaloniaILSpy

Avalonia-based .NET Decompiler (port of ILSpy)
1.55k stars 173 forks source link

Update to Avalonia 0.10.4 #72

Closed christophwille closed 3 years ago

christophwille commented 3 years ago

Note the warnings - there are a couple of obsoletion we should take care of:

2>------ Build started: Project: ICSharpCode.Decompiler.PdbProvider.Cecil, Configuration: Debug Any CPU ------ 1>D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\EditTextBox.cs(21,27,21,44): warning CS0672: Member 'EditTextBox.OnTemplateApplied(TemplateAppliedEventArgs)' overrides obsolete member 'TemplatedControl.OnTemplateApplied(TemplateAppliedEventArgs)'. Add the Obsolete attribute to 'EditTextBox.OnTemplateApplied(TemplateAppliedEventArgs)'. 1>D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\EditTextBox.cs(34,8,34,17): warning CS0108: 'EditTextBox.SelectAll()' hides inherited member 'TextBox.SelectAll()'. Use the new keyword if hiding was intended. 1>D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\SharpTreeView.cs(768,15,768,26): warning CS0108: 'SharpTreeView.UnselectAll()' hides inherited member 'ListBox.UnselectAll()'. Use the new keyword if hiding was intended. 1>D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\EditTextBox.cs(23,4,23,29): warning CS0618: 'TemplatedControl.OnTemplateApplied(TemplateAppliedEventArgs)' is obsolete: 'Use OnApplyTemplate' 1>D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\SharpTreeViewItem.cs(60,8,60,21): warning CS0618: 'PointerPressedEventArgs.MouseButton' is obsolete: 'Use PointerPressedEventArgs.GetCurrentPoint(this).Properties' 1>D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\SharpTreeViewItem.cs(64,9,64,21): warning CS0618: 'PointerPressedEventArgs.ClickCount' is obsolete: 'Use DoubleTapped event or Gestures.DoubleRightTapped attached event' 1>CSC : warning CS8002: Referenced assembly 'AvaloniaEdit, Version=0.10.4.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. 2>ICSharpCode.Decompiler.PdbProvider.Cecil -> D:\GitWorkspace\AvaloniaILSpy\ICSharpCode.Decompiler.PdbProvider.Cecil\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.PdbProvider.Cecil.dll 1>SharpTreeView -> D:\GitWorkspace\AvaloniaILSpy\SharpTreeView\bin\Debug\netstandard2.0\SharpTreeView.dll 1>Done building project "SharpTreeView.csproj". 3>------ Build started: Project: ILSpy.Core, Configuration: Debug Any CPU ------ 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\ILSpy.Core.csproj : warning NU1701: Package 'Microsoft.DiaSymReader.Converter.Xml 1.1.0-beta2-21110-01' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\Controls\DockedPane.cs(38,33,38,50): warning CS0672: Member 'DockedPane.OnTemplateApplied(TemplateAppliedEventArgs)' overrides obsolete member 'TemplatedControl.OnTemplateApplied(TemplateAppliedEventArgs)'. Add the Obsolete attribute to 'DockedPane.OnTemplateApplied(TemplateAppliedEventArgs)'. 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\TreeNodes\ResourceNodes\ResourceTreeNode.cs(78,79,78,113): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\Commands\SaveCodeContextMenuEntry.cs(39,13,39,47): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\Controls\DockedPane.cs(40,13,40,38): warning CS0618: 'TemplatedControl.OnTemplateApplied(TemplateAppliedEventArgs)' is obsolete: 'Use OnApplyTemplate' 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\TextView\DecompilerTextView.xaml.cs(789,69,789,116): warning CS0618: 'IPointerDevice.GetPosition(IVisual)' is obsolete: 'Use PointerEventArgs.GetPosition' 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\MainWindow.xaml.cs(437,33,437,56): warning CS0618: 'NativeMenuItemSeperator' is obsolete: 'This class exists to maintain backwards compatiblity with existing code. Use NativeMenuItemSeparator instead' 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\MainWindow.xaml.cs(1248,4,1248,60): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\Commands\SimpleCommand.cs(27,29,27,46): warning CS0067: The event 'SimpleCommand.CanExecuteChanged' is never used 3>D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\MainWindow.xaml.cs(68,8,68,37): warning CS0414: The field 'MainWindow.handlingNugetPackageSelection' is assigned but its value is never used 3>CSC : warning CS8002: Referenced assembly 'AvaloniaEdit, Version=0.10.4.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. 3>CSC : warning CS8002: Referenced assembly 'ICSharpCode.Decompiler.PdbProvider.Cecil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. 3>ILSpy.Core -> D:\GitWorkspace\AvaloniaILSpy\ILSpy.Core\bin\Debug\netstandard2.0\ILSpy.Core.dll 3>Done building project "ILSpy.Core.csproj".