AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.8k stars 2.23k forks source link

VS 2019 build fails #2451

Closed tdjastrzebski closed 5 years ago

tdjastrzebski commented 5 years ago

I attempted build using quite fresh VS 2019 (16.1.0) and http://avaloniaui.net/contributing/build stesp. Build failed, output below.

1>------ Rebuild All started: Project: Avalonia.Build.Tasks, Configuration: Debug Any CPU ------ 2>------ Rebuild All started: Project: Avalonia.Remote.Protocol, Configuration: Debug Any CPU ------ 1>C:\Program Files\dotnet\sdk\2.2.300-preview-010046\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview 1>Avalonia.Build.Tasks -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll 3>------ Rebuild All started: Project: Avalonia.Base, Configuration: Debug Any CPU ------ 2>C:\Program Files\dotnet\sdk\2.2.300-preview-010046\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview 2>Avalonia.Remote.Protocol -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Remote.Protocol\bin\Debug\netstandard2.0\Avalonia.Remote.Protocol.dll 3>Utilities\WeakEventHandlerManager.cs(166,86,166,99): warning CS0252: Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'MulticastDelegate' 3>Avalonia.Base -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Base\bin\Debug\netstandard2.0\Avalonia.Base.dll 3>Done building project "Avalonia.Base.csproj". 4>------ Rebuild All started: Project: Avalonia.Animation, Configuration: Debug Any CPU ------ 4>Avalonia.Animation -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Animation\bin\Debug\netstandard2.0\Avalonia.Animation.dll 5>------ Rebuild All started: Project: Avalonia.Styling, Configuration: Debug Any CPU ------ 5>Avalonia.Styling -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Styling\bin\Debug\netstandard2.0\Avalonia.Styling.dll 6>------ Rebuild All started: Project: Avalonia.Visuals, Configuration: Debug Any CPU ------ 6>Avalonia.Visuals -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Visuals\bin\Debug\netstandard2.0\Avalonia.Visuals.dll 7>------ Rebuild All started: Project: Avalonia.Layout, Configuration: Debug Any CPU ------ 8>------ Rebuild All started: Project: Avalonia.Markup, Configuration: Debug Any CPU ------ 9>------ Rebuild All started: Project: Avalonia.OpenGL, Configuration: Debug Any CPU ------ 9>EglInterface.cs(54,34,54,48): warning CS0108: 'EglInterface.GetProcAddress' hides inherited member 'GlInterfaceBase.GetProcAddress(string)'. Use the new keyword if hiding was intended. 9>Avalonia.OpenGL -> C:\Temp\Avalonia\Avalonia\src\Avalonia.OpenGL\bin\Debug\netstandard2.0\Avalonia.OpenGL.dll 9>Done building project "Avalonia.OpenGL.csproj". 7>C:\Program Files\dotnet\sdk\2.2.300-preview-010046\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview 8>Avalonia.Markup -> C:\Temp\Avalonia\Avalonia\src\Markup\Avalonia.Markup\bin\Debug\netstandard2.0\Avalonia.Markup.dll 7>Avalonia.Layout -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Layout\bin\Debug\netstandard2.0\Avalonia.Layout.dll 10>------ Rebuild All started: Project: Avalonia.Interactivity, Configuration: Debug Any CPU ------ 10>Avalonia.Interactivity -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Interactivity\bin\Debug\netstandard2.0\Avalonia.Interactivity.dll 11>------ Rebuild All started: Project: Avalonia.Input, Configuration: Debug Any CPU ------ 11>Avalonia.Input -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Input\bin\Debug\netstandard2.0\Avalonia.Input.dll 12>------ Rebuild All started: Project: Avalonia.Controls, Configuration: Debug Any CPU ------ 12>Avalonia.Controls -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Controls\bin\Debug\netstandard2.0\Avalonia.Controls.dll 13>------ Rebuild All started: Project: Avalonia.Markup.Xaml, Configuration: Debug Any CPU ------ 14>------ Rebuild All started: Project: Avalonia.Logging.Serilog, Configuration: Debug Any CPU ------ 15>------ Rebuild All started: Project: Avalonia.Controls.DataGrid, Configuration: Debug Any CPU ------ 15>Collections\DataGridGroupDescription.cs(61,33,61,48): warning CS0649: Field 'DataGridPathGroupDescription._valueConverter' is never assigned to, and will always have its default value null 15>DataGrid.cs(101,41,101,64): warning CS0169: The field 'DataGrid._currentCellCoordinates' is never used 15>DataGrid.cs(75,33,75,50): warning CS0169: The field 'DataGrid._validationErrors' is never used 15>DataGrid.cs(140,34,140,57): warning CS0169: The field 'DataGrid._currentCellEditBinding' is never used 15>Utils\CellEditBinding.cs(60,26,60,45): warning CS0414: The field 'CellEditBinding.SubjectWrapper._settingSourceValue' is assigned but its value is never used 15>Collections\DataGridCollectionView.cs(930,65,930,80): warning CS1574: XML comment has cref attribute 'SortDescription' that could not be resolved 15>DataGridColumn.cs(671,117,671,124): warning CS1573: Parameter 'binding' has no matching param tag in the XML comment for 'DataGridColumn.GenerateEditingElement(DataGridCell, object, out ICellEditBinding)' (but other parameters do) 15>Avalonia.Controls.DataGrid -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Controls.DataGrid\bin\Debug\netstandard2.0\Avalonia.Controls.DataGrid.dll 15>Done building project "Avalonia.Controls.DataGrid.csproj". 14>Avalonia.Logging.Serilog -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Logging.Serilog\bin\Debug\netstandard2.0\Avalonia.Logging.Serilog.dll 13>PortableXaml\AvaloniaXamlType.cs(229,29,232,51): warning CS0618: 'SetterValueTypeConverter.ConvertSetterValue(ITypeDescriptorContext, XamlSchemaContext, CultureInfo, Setter, object)' is obsolete: 'TODO: try assosiate Setter.Value property with SetterValueTypeConverter, so far coouldn't make it :(' 13>PortableXaml\AvaloniaXamlSchemaContext.cs(118,24,118,73): warning CS0618: 'AvaloniaXamlSchemaContext.ResolveSimpleTypeName(string, string)' is obsolete: 'TODO: remove once it's fixed in Portable.xaml' 13>Converters\SetterValueTypeConverter.cs(26,20,26,98): warning CS0618: 'SetterValueTypeConverter.ConvertSetterValue(ITypeDescriptorContext, XamlSchemaContext, CultureInfo, Setter, object)' is obsolete: 'TODO: try assosiate Setter.Value property with SetterValueTypeConverter, so far coouldn't make it :(' 13>Avalonia.Markup.Xaml -> C:\Temp\Avalonia\Avalonia\src\Markup\Avalonia.Markup.Xaml\bin\Debug\netstandard2.0\Avalonia.Markup.Xaml.dll 13>Done building project "Avalonia.Markup.Xaml.csproj". 16>------ Rebuild All started: Project: Avalonia.Themes.Default, Configuration: Debug Any CPU ------ 16>Avalonia.Themes.Default -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll 17>------ Rebuild All started: Project: Avalonia.Diagnostics, Configuration: Debug Any CPU ------ 18>------ Rebuild All started: Project: Avalonia.DesignerSupport, Configuration: Debug Any CPU ------ 18>Avalonia.DesignerSupport -> C:\Temp\Avalonia\Avalonia\src\Avalonia.DesignerSupport\bin\Debug\netstandard2.0\Avalonia.DesignerSupport.dll 17>Avalonia.Diagnostics -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Diagnostics\bin\Debug\netstandard2.0\Avalonia.Diagnostics.dll 19>------ Rebuild All started: Project: Avalonia, Configuration: Debug Any CPU ------ 19>Avalonia -> C:\Temp\Avalonia\Avalonia\packages\Avalonia\bin\Debug\netstandard2.0\Avalonia.dll 19>CSC : error CS0006: Metadata file 'C:\Temp\Avalonia\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\netcoreapp2.0\Avalonia.DesktopRuntime.dll' could not be found 19>Done building project "Avalonia.csproj" -- FAILED. 19>CSC : error CS0006: Metadata file 'C:\Temp\Avalonia\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\net461\Avalonia.DesktopRuntime.dll' could not be found 19>Done building project "Avalonia.csproj" -- FAILED. 20>------ Rebuild All started: Project: Avalonia.Skia, Configuration: Debug Any CPU ------ 21>------ Rebuild All started: Project: Avalonia.ReactiveUI, Configuration: Debug Any CPU ------ 22>------ Rebuild All started: Project: Avalonia.Win32, Configuration: Debug Any CPU ------ 23>------ Rebuild All started: Project: Avalonia.Direct2D1, Configuration: Debug Any CPU ------ 21>Avalonia.ReactiveUI -> C:\Temp\Avalonia\Avalonia\src\Avalonia.ReactiveUI\bin\Debug\netstandard2.0\Avalonia.ReactiveUI.dll 24>------ Rebuild All started: Project: Avalonia.Native, Configuration: Debug Any CPU ------ 20>C:\Program Files\dotnet\sdk\2.2.300-preview-010046\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview 23>Avalonia.Direct2D1 -> C:\Temp\Avalonia\Avalonia\src\Windows\Avalonia.Direct2D1\bin\Debug\netstandard2.0\Avalonia.Direct2D1.dll 25>------ Rebuild All started: Project: ControlCatalog, Configuration: Debug Any CPU ------ 22>Avalonia.Win32 -> C:\Temp\Avalonia\Avalonia\src\Windows\Avalonia.Win32\bin\Debug\netstandard2.0\Avalonia.Win32.dll 20>Avalonia.Skia -> C:\Temp\Avalonia\Avalonia\src\Skia\Avalonia.Skia\bin\Debug\netstandard2.0\Avalonia.Skia.dll 26>------ Rebuild All started: Project: Avalonia.X11, Configuration: Debug Any CPU ------ 26>Avalonia.X11 -> C:\Temp\Avalonia\Avalonia\src\Avalonia.X11\bin\Debug\netstandard2.0\Avalonia.X11.dll 24>CSC : warning CS2002: Source file 'Generated\LocalInterop.cs' specified multiple times 24>CSC : warning CS2002: Source file 'Generated\Enumerations.cs' specified multiple times 24>CSC : warning CS2002: Source file 'Generated\Structures.cs' specified multiple times 24>CSC : warning CS2002: Source file 'Generated\Interfaces.cs' specified multiple times 24>CSC : warning CS2002: Source file 'Generated\Functions.cs' specified multiple times 24>Avalonia.Native -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Native\bin\Debug\netstandard2.0\Avalonia.Native.dll 24>Done building project "Avalonia.Native.csproj". 27>------ Rebuild All started: Project: Avalonia.Desktop, Configuration: Debug Any CPU ------ 25>ControlCatalog -> C:\Temp\Avalonia\Avalonia\samples\ControlCatalog\bin\Debug\netstandard2.0\ControlCatalog.dll 27>Avalonia.Desktop -> C:\Temp\Avalonia\Avalonia\src\Avalonia.Desktop\bin\Debug\netstandard2.0\Avalonia.Desktop.dll 28>------ Rebuild All started: Project: ControlCatalog.Desktop, Configuration: Debug Any CPU ------ 28>CSC : error CS0006: Metadata file 'C:\Temp\Avalonia\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\net461\Avalonia.DesktopRuntime.dll' could not be found 28>CSC : error CS0006: Metadata file 'C:\Temp\Avalonia\Avalonia\packages\Avalonia\bin\Debug\net461\Avalonia.dll' could not be found 28>Done building project "ControlCatalog.Desktop.csproj" -- FAILED. ========== Rebuild All: 26 succeeded, 2 failed, 0 skipped ==========

Gillibald commented 5 years ago

Pls install the current .Net Core SDK from here https://dotnet.microsoft.com/download

tdjastrzebski commented 5 years ago

Thank you @Gillibald, I did as advised. Build went better but still fails, although ControlCatalog.Desktop starts. Errors encountered:

If the latest .Net Core 2.2.203 is required I suggest updating the build guide. Full output attached.

build output.txt

grokys commented 5 years ago

Hmm yeah this happens on some machines. We need to work out why and fix it. For now it's best to just unload the following projects:

kekekeks commented 5 years ago

Xamarin has recently dropped armeabi support, I think.

mat1jaczyyy commented 5 years ago

I also hit Android/iOS stuff and WindowsInteropTest. Unloading allows compilation.

Mikolaytis commented 3 years ago

I have the same issue. Trying to build ControlCatalog project. I've unloaded all the projects above. Did not help :(. Visual Studio 2019 - latest. Everything installed.

SDK's list:

Build started...
1>------ Build started: Project: Avalonia.Build.Tasks, Configuration: Debug Any CPU ------
2>------ Build started: Project: Avalonia.Remote.Protocol, Configuration: Debug Any CPU ------
3>------ Build started: Project: MiniMvvm, Configuration: Debug Any CPU ------
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml.Loader\CompilerExtensions\AvaloniaXamlIlCompiler.cs(17,51,17,65): warning CS0108: 'AvaloniaXamlIlCompiler._configuration' hides inherited member 'XamlCompiler<IXamlILEmitter, XamlILNodeEmitResult>._configuration'. Use the new keyword if hiding was intended.
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(185,22,185,36): warning CS0659: 'PropertyPathGrammar.PropertySyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(194,22,194,49): warning CS0659: 'PropertyPathGrammar.TypeQualifiedPropertySyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(207,22,207,42): warning CS0659: 'PropertyPathGrammar.ChildTraversalSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml.Loader\CompilerExtensions\AvaloniaXamlIlCompiler.cs(17,51,17,65): warning CS0108: 'AvaloniaXamlIlCompiler._configuration' hides inherited member 'XamlCompiler<IXamlILEmitter, XamlILNodeEmitResult>._configuration'. Use the new keyword if hiding was intended.
1>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Visuals\Vector.cs(169,30,169,36): warning CS8765: Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(185,22,185,36): warning CS0659: 'PropertyPathGrammar.PropertySyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(194,22,194,49): warning CS0659: 'PropertyPathGrammar.TypeQualifiedPropertySyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(213,22,213,38): warning CS0659: 'PropertyPathGrammar.EnsureTypeSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(207,22,207,42): warning CS0659: 'PropertyPathGrammar.ChildTraversalSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(213,22,213,38): warning CS0659: 'PropertyPathGrammar.EnsureTypeSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(223,22,223,36): warning CS0659: 'PropertyPathGrammar.CastTypeSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
1>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(223,22,223,36): warning CS0659: 'PropertyPathGrammar.CastTypeSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
3>MiniMvvm -> C:\Users\brutal\source\repos\Avalonia\samples\MiniMvvm\bin\Debug\netstandard2.0\MiniMvvm.dll
1>Avalonia.Build.Tasks -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll
1>Avalonia.Build.Tasks -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netcoreapp3.1\Avalonia.Build.Tasks.dll
1>Done building project "Avalonia.Build.Tasks.csproj".
4>------ Build started: Project: Avalonia.Base, Configuration: Debug Any CPU ------
2>Avalonia.Remote.Protocol -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Remote.Protocol\bin\Debug\netstandard2.0\Avalonia.Remote.Protocol.dll
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(40,24,40,28): warning CS8602: Dereference of a possibly null reference.
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(50,24,50,28): warning CS8602: Dereference of a possibly null reference.
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(63,26,63,41): warning CS8600: Converting null literal or possible null value to non-nullable type.
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(63,26,63,41): warning CS8602: Dereference of a possibly null reference.
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(87,38,87,42): warning CS8604: Possible null reference argument for parameter 'slot' in 'IDisposable? ValueStore.SetExisting<T>(object slot, StyledPropertyBase<T> property, T value, BindingPriority priority)'.
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(124,37,124,41): warning CS8604: Possible null reference argument for parameter 'slot' in 'IDisposable ValueStore.BindExisting<T>(object slot, StyledPropertyBase<T> property, IObservable<BindingValue<T>> source, BindingPriority priority)'.
4>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\ValueStore.cs(188,33,188,37): warning CS8602: Dereference of a possibly null reference.
4>Avalonia.Base -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Base\bin\Debug\netstandard2.0\Avalonia.Base.dll
4>Done building project "Avalonia.Base.csproj".
5>------ Build started: Project: Avalonia.Animation, Configuration: Debug Any CPU ------
5>Avalonia.Animation -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Animation\bin\Debug\netstandard2.0\Avalonia.Animation.dll
6>------ Build started: Project: Avalonia.Styling, Configuration: Debug Any CPU ------
6>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Styling\Styling\Setter.cs(105,21,105,34): warning CS8604: Possible null reference argument for parameter 'value' in 'PropertySetterInstance<T>.PropertySetterInstance(IStyleable target, StyledPropertyBase<T> property, T value)'.
6>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Styling\Styling\Setter.cs(125,21,125,34): warning CS8604: Possible null reference argument for parameter 'value' in 'PropertySetterInstance<T>.PropertySetterInstance(IStyleable target, DirectPropertyBase<T> property, T value)'.
6>Avalonia.Styling -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Styling\bin\Debug\netstandard2.0\Avalonia.Styling.dll
6>Done building project "Avalonia.Styling.csproj".
7>------ Build started: Project: Avalonia.Visuals, Configuration: Debug Any CPU ------
7>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Visuals\Rendering\ImmediateRenderer.cs(293,33,293,57): warning CS0618: 'IVisualWithRoundRectClip' is obsolete: 'Internal API, will be removed in future versions, you've been warned'
7>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Visuals\Rendering\ImmediateRenderer.cs(294,68,294,102): warning CS0618: 'IVisualWithRoundRectClip.ClipToBoundsRadius' is obsolete: 'Internal API, will be removed in future versions, you've been warned'
7>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Visuals\Rendering\SceneGraph\SceneBuilder.cs(167,48,167,72): warning CS0618: 'IVisualWithRoundRectClip' is obsolete: 'Internal API, will be removed in future versions, you've been warned'
7>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Visuals\Rendering\SceneGraph\SceneBuilder.cs(168,17,168,49): warning CS0618: 'IVisualWithRoundRectClip.ClipToBoundsRadius' is obsolete: 'Internal API, will be removed in future versions, you've been warned'
7>Avalonia.Visuals -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Visuals\bin\Debug\netstandard2.0\Avalonia.Visuals.dll
7>Done building project "Avalonia.Visuals.csproj".
8>------ Build started: Project: Avalonia.Layout, Configuration: Debug Any CPU ------
9>------ Build started: Project: Avalonia.Markup, Configuration: Debug Any CPU ------
9>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(185,22,185,36): warning CS0659: 'PropertyPathGrammar.PropertySyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
9>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(194,22,194,49): warning CS0659: 'PropertyPathGrammar.TypeQualifiedPropertySyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
9>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(207,22,207,42): warning CS0659: 'PropertyPathGrammar.ChildTraversalSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
9>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(213,22,213,38): warning CS0659: 'PropertyPathGrammar.EnsureTypeSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
9>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\Markup\Parsers\PropertyPathGrammar.cs(223,22,223,36): warning CS0659: 'PropertyPathGrammar.CastTypeSyntax' overrides Object.Equals(object o) but does not override Object.GetHashCode()
8>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\Layoutable.cs(544,58,544,62): warning CS1580: Invalid type for parameter Size in XML comment cref attribute: 'MeasureOverride(Size)'
8>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\Layoutable.cs(544,42,544,63): warning CS1574: XML comment has cref attribute 'MeasureOverride(Size)' that could not be resolved
8>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\Layoutable.cs(639,58,639,62): warning CS1580: Invalid type for parameter Size in XML comment cref attribute: 'ArrangeOverride(Size)'
8>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\Layoutable.cs(639,42,639,63): warning CS1574: XML comment has cref attribute 'ArrangeOverride(Size)' that could not be resolved
8>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\Layoutable.cs(815,47,815,51): warning CS0419: Ambiguous reference in cref attribute: 'Size'. Assuming 'Size', but could have also matched other overloads including 'Size'.
8>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\Layoutable.cs(828,55,828,59): warning CS0419: Ambiguous reference in cref attribute: 'Size'. Assuming 'Size', but could have also matched other overloads including 'Size'.
9>Avalonia.Markup -> C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup\bin\Debug\netstandard2.0\Avalonia.Markup.dll
9>Done building project "Avalonia.Markup.csproj".
8>Avalonia.Layout -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Layout\bin\Debug\netstandard2.0\Avalonia.Layout.dll
8>Done building project "Avalonia.Layout.csproj".
10>------ Build started: Project: Avalonia.Interactivity, Configuration: Debug Any CPU ------
10>Avalonia.Interactivity -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Interactivity\bin\Debug\netstandard2.0\Avalonia.Interactivity.dll
11>------ Build started: Project: Avalonia.Input, Configuration: Debug Any CPU ------
11>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Input\Gestures.cs(84,21,84,33): warning CS0618: 'PointerPressedEventArgs.ClickCount' is obsolete: 'Use DoubleTapped event or Gestures.DoubleRightTapped attached event'
11>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Input\Gestures.cs(88,49,88,61): warning CS0618: 'PointerPressedEventArgs.ClickCount' is obsolete: 'Use DoubleTapped event or Gestures.DoubleRightTapped attached event'
11>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Input\MouseDevice.cs(78,65,78,73): warning CS0618: 'MouseDevice.Position' is obsolete: 'Use events instead'
11>Avalonia.Input -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Input\bin\Debug\netstandard2.0\Avalonia.Input.dll
11>Done building project "Avalonia.Input.csproj".
12>------ Build started: Project: Avalonia.Controls, Configuration: Debug Any CPU ------
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Border.cs(11,46,11,70): warning CS0618: 'IVisualWithRoundRectClip' is obsolete: 'Internal API, will be removed in future versions, you've been warned'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\SplitView.cs(270,29,270,30): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\SplitView.cs(132,53,132,54): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\SplitView.cs(138,60,138,61): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Remote\RemoteServer.cs(19,27,19,36): warning CS0108: 'RemoteServer.EmbeddableRemoteServerTopLevelImpl.LostFocus' hides inherited member 'OffscreenTopLevelImplBase.LostFocus'. Use the new keyword if hiding was intended.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Application.cs(158,29,158,30): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Primitives\PopupPositioning\IPopupPositioner.cs(451,50,451,92): warning CS0618: 'IMouseDevice.Position' is obsolete: 'Use PointerEventArgs.GetPosition'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Primitives\Popup.cs(135,31,135,62): warning CS8618: Non-nullable field '_overlayInputPassThroughElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Primitives\TemplatedControl.cs(268,21,268,41): warning CS0618: 'TemplatedControl.OnTemplateApplied(TemplateAppliedEventArgs)' is obsolete: 'Use OnApplyTemplate'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\ProgressBar.cs(220,21,220,48): warning CS0618: 'ProgressBar.IndeterminateStartingOffset' is obsolete: 'To be removed when Avalonia.Themes.Default is discontinued.'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\ProgressBar.cs(221,21,221,46): warning CS0618: 'ProgressBar.IndeterminateEndingOffset' is obsolete: 'To be removed when Avalonia.Themes.Default is discontinued.'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Remote\RemoteWidget.cs(80,31,81,49): warning CS0618: 'WriteableBitmap.WriteableBitmap(PixelSize, Vector, PixelFormat?)' is obsolete: 'Use overload taking an AlphaFormat.'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\SplitView.cs(133,56,133,57): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\SplitView.cs(139,76,139,77): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\TextBox.cs(540,27,540,30): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\TextBox.cs(840,25,840,37): warning CS0618: 'PointerPressedEventArgs.ClickCount' is obsolete: 'Use DoubleTapped event or Gestures.DoubleRightTapped attached event'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Repeater\ViewportManager.cs(30,22,30,39): warning CS0169: The field 'ViewportManager._cacheBuildAction' is never used
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Repeater\VirtualizationInfo.cs(30,24,30,29): warning CS0169: The field 'VirtualizationInfo._data' is never used
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Platform\InternalPlatformThreadingInterface.cs(86,39,86,43): warning CS0067: The event 'InternalPlatformThreadingInterface.Tick' is never used
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Menu.cs(20,43,20,51): warning CS0169: The field 'Menu._overlay' is never used
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Grid.cs(986,22,986,44): warning CS1573: Parameter 'hasDesiredSizeUChanged' has no matching param tag in the XML comment for 'Grid.MeasureCellsGroup(int, Size, bool, bool, out bool)' (but other parameters do)
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\IVirtualizingPanel.cs(78,44,78,48): warning CS1580: Invalid type for parameter Size in XML comment cref attribute: 'ILayoutable.Measure(Size)'
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\IVirtualizingPanel.cs(78,24,78,49): warning CS1574: XML comment has cref attribute 'Measure(Size)' that could not be resolved
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Presenters\ItemVirtualizer.cs(97,64,97,68): warning CS0419: Ambiguous reference in cref attribute: 'Size'. Assuming 'Size', but could have also matched other overloads including 'Size'.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Presenters\ItemVirtualizer.cs(115,66,115,70): warning CS0419: Ambiguous reference in cref attribute: 'Size'. Assuming 'Size', but could have also matched other overloads including 'Size'.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\Presenters\ItemVirtualizer.cs(133,72,133,78): warning CS0419: Ambiguous reference in cref attribute: 'Vector'. Assuming 'Vector', but could have also matched other overloads including 'Vector'.
12>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\SplitView.cs(136,36,136,50): warning CS1574: XML comment has cref attribute 'HeaderTemplate' that could not be resolved
12>Avalonia.Controls -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls\bin\Debug\netstandard2.0\Avalonia.Controls.dll
12>Done building project "Avalonia.Controls.csproj".
13>------ Build started: Project: Avalonia.Markup.Xaml, Configuration: Debug Any CPU ------
14>------ Build started: Project: Avalonia.OpenGL, Configuration: Debug Any CPU ------
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(10,31,10,36): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(15,35,15,40): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(23,57,23,62): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(32,72,32,77): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(41,27,41,32): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(49,35,49,40): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(55,57,55,62): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(69,72,69,77): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
13>C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\Converters\ColorToBrushConverter.cs(76,27,76,32): warning CS0419: Ambiguous reference in cref attribute: 'Color'. Assuming 'Color', but could have also matched other overloads including 'Color'.
14>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.OpenGL\GlInterface.cs(91,28,91,43): warning CS0108: 'GlInterface.GetStringNative' hides inherited member 'GlBasicInfoInterface<GlInterface.GlContextInfo>.GetStringNative'. Use the new keyword if hiding was intended.
14>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.OpenGL\GlInterface.cs(93,23,93,32): warning CS0108: 'GlInterface.GetString(int)' hides inherited member 'GlBasicInfoInterface<GlInterface.GlContextInfo>.GetString(int)'. Use the new keyword if hiding was intended.
14>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.OpenGL\GlInterface.cs(103,30,103,41): warning CS0108: 'GlInterface.GetIntegerv' hides inherited member 'GlBasicInfoInterface<GlInterface.GlContextInfo>.GetIntegerv'. Use the new keyword if hiding was intended.
14>C:\Users\brutal\source\repos\Avalonia\src\Avalonia.OpenGL\Egl\EglInterface.cs(66,34,66,48): warning CS0108: 'EglInterface.GetProcAddress' hides inherited member 'GlInterfaceBase<object>.GetProcAddress(string)'. Use the new keyword if hiding was intended.
14>Avalonia.OpenGL -> C:\Users\brutal\source\repos\Avalonia\src\Avalonia.OpenGL\bin\Debug\netstandard2.0\Avalonia.OpenGL.dll
14>Done building project "Avalonia.OpenGL.csproj".
13>Avalonia.Markup.Xaml -> C:\Users\brutal\source\repos\Avalonia\src\Markup\Avalonia.Markup.Xaml\bin\Debug\netstandard2.0\Avalonia.Markup.Xaml.dll
13>Done building project "Avalonia.Markup.Xaml.csproj".
15>------ Build started: Project: Avalonia.DesignerSupport, Configuration: Debug Any CPU ------
15>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll' could not be found
15>Done building project "Avalonia.DesignerSupport.csproj" -- FAILED.
16>------ Build started: Project: Avalonia, Configuration: Debug Any CPU ------
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesignerSupport\bin\Debug\netstandard2.0\Avalonia.DesignerSupport.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Dialogs\bin\Debug\netstandard2.0\Avalonia.Dialogs.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.MicroCom\bin\Debug\netstandard2.0\Avalonia.MicroCom.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Fluent\bin\Debug\netstandard2.0\Avalonia.Themes.Fluent.dll' could not be found
16>Done building project "Avalonia.csproj" -- FAILED.
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesignerSupport\bin\Debug\netstandard2.0\Avalonia.DesignerSupport.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\netcoreapp2.0\Avalonia.DesktopRuntime.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Dialogs\bin\Debug\netstandard2.0\Avalonia.Dialogs.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.MicroCom\bin\Debug\netstandard2.0\Avalonia.MicroCom.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Fluent\bin\Debug\netstandard2.0\Avalonia.Themes.Fluent.dll' could not be found
16>Done building project "Avalonia.csproj" -- FAILED.
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesignerSupport\bin\Debug\netstandard2.0\Avalonia.DesignerSupport.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\net461\Avalonia.DesktopRuntime.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Dialogs\bin\Debug\netstandard2.0\Avalonia.Dialogs.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.MicroCom\bin\Debug\netstandard2.0\Avalonia.MicroCom.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll' could not be found
16>CSC : error CS0006: Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Fluent\bin\Debug\netstandard2.0\Avalonia.Themes.Fluent.dll' could not be found
16>Done building project "Avalonia.csproj" -- FAILED.
========== Build: 14 succeeded, 2 failed, 7 up-to-date, 0 skipped ==========

Also here is my errors in error list:


Severity | Code | Description | Project | File | Line | Suppression State
-- | -- | -- | -- | -- | -- | --
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.DesignerSupport.TestApp | C:\Users\brutal\source\repos\Avalonia\tests\Avalonia.DesignerSupport.TestApp\Avalonia.DesignerSupport.TestApp.csproj | 1 |  
Error |   | * You intended to execute a .NET Core program, but dotnet-C:\Users\brutal\source\repos\Avalonia\build\../src/tools/MicroComGenerator/bin/Debug/netcoreapp3.1/MicroComGenerator.dll does not exist. | Avalonia.Win32 | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | * You intended to execute a .NET Core program, but dotnet-C:\Users\brutal\source\repos\Avalonia\build\../src/tools/MicroComGenerator/bin/Debug/netcoreapp3.1/MicroComGenerator.dll does not exist. | Avalonia.Native | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. | Avalonia.Win32 | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. | Avalonia.Native | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | * You misspelled a built-in dotnet command. | Avalonia.Win32 | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | * You misspelled a built-in dotnet command. | Avalonia.Native | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | Could not execute because the specified command or file was not found. | Avalonia.Win32 | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | Could not execute because the specified command or file was not found. | Avalonia.Native | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesignerSupport\bin\Debug\netstandard2.0\Avalonia.DesignerSupport.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\net461\Avalonia.DesktopRuntime.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesktopRuntime\bin\Debug\netcoreapp2.0\Avalonia.DesktopRuntime.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Dialogs\bin\Debug\netstandard2.0\Avalonia.Dialogs.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.MicroCom\bin\Debug\netstandard2.0\Avalonia.MicroCom.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll' could not be found | Avalonia.DesignerSupport | C:\Users\brutal\source\repos\Avalonia\src\Avalonia.DesignerSupport\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Default\bin\Debug\netstandard2.0\Avalonia.Themes.Default.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error | CS0006 | Metadata file 'C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Fluent\bin\Debug\netstandard2.0\Avalonia.Themes.Fluent.dll' could not be found | Avalonia (netstandard2.0) | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\CSC | 1 | Active
Error |   | Possible reasons for this include: | Avalonia.Win32 | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error |   | Possible reasons for this include: | Avalonia.Native | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error | MSB3073 | The command "dotnet C:\Users\brutal\source\repos\Avalonia\build\../src/tools/MicroComGenerator/bin/Debug/netcoreapp3.1/MicroComGenerator.dll -i avn.idl --cs Interop.Generated.cs" exited with code 1. | Avalonia.Native | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error | MSB3073 | The command "dotnet C:\Users\brutal\source\repos\Avalonia\build\../src/tools/MicroComGenerator/bin/Debug/netcoreapp3.1/MicroComGenerator.dll -i WinRT\winrt.idl --cs WinRT\WinRT.Generated.cs" exited with code 1. | Avalonia.Win32 | C:\Users\brutal\source\repos\Avalonia\build\MicroCom.targets | 18 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.Controls.DataGrid.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.Controls.DataGrid | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.DesignerSupport.TestApp.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp3.1 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.DesignerSupport.TestApp | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.Diagnostics.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.Diagnostics | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.Dialogs.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.Dialogs | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.Markup.Xaml.UnitTests.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net47 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.Markup.Xaml.UnitTests | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.Markup.Xaml.UnitTests.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp3.1 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.Markup.Xaml.UnitTests | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.MicroCom.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.MicroCom | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Fluent.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. | Avalonia.Themes.Fluent | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false BindingDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp3.1 /p:BuildProjectReferences=false" exited with code 1. | BindingDemo | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false NativeEmbedSample.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp2.0 /p:BuildProjectReferences=false" exited with code 1. | NativeEmbedSample | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false RemoteDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp3.1 /p:BuildProjectReferences=false" exited with code 1. | RemoteDemo | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB3073 | The command "dotnet msbuild /nodereuse:false Sandbox.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp3.1 /p:BuildProjectReferences=false" exited with code 1. | Sandbox | C:\Users\brutal\source\repos\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets | 63 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.Diagnostics | C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | BindingDemo | C:\Users\brutal\source\repos\Avalonia\samples\BindingDemo\BindingDemo.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.MicroCom | C:\Users\brutal\source\repos\Avalonia\src\Avalonia.MicroCom\Avalonia.MicroCom.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.Dialogs | C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Dialogs\Avalonia.Dialogs.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.Themes.Fluent | C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Sandbox | C:\Users\brutal\source\repos\Avalonia\samples\Sandbox\Sandbox.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | NativeEmbedSample | C:\Users\brutal\source\repos\Avalonia\samples\interop\NativeEmbedSample\NativeEmbedSample.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | RemoteDemo | C:\Users\brutal\source\repos\Avalonia\samples\RemoteDemo\RemoteDemo.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.Controls.DataGrid | C:\Users\brutal\source\repos\Avalonia\src\Avalonia.Controls.DataGrid\Avalonia.Controls.DataGrid.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.Markup.Xaml.UnitTests | C:\Users\brutal\source\repos\Avalonia\tests\Avalonia.Markup.Xaml.UnitTests\Avalonia.Markup.Xaml.UnitTests.csproj | 1 |  
Error | MSB4236 | The SDK 'Microsoft.NET.Sdk' specified could not be found. | Avalonia.Markup.Xaml.UnitTests | C:\Users\brutal\source\repos\Avalonia\tests\Avalonia.Markup.Xaml.UnitTests\Avalonia.Markup.Xaml.UnitTests.csproj | 1 |  
smartops-main commented 2 years ago

I get the same type of build errors with VS2022 and a fresh clone of Avalonia. First time trying Avalonia. I'm getting dozens of build errors. I installed .Net 6, the Avalonia VS Extension for VS2022, etc. See some errors for XamlX not being found. I went and found the XamlX GH repo but is this a pre-req to build Avalonia? Should I go get and build XamlX and then manually import into every project that requires and then try to build Avalonia? I tried the few suggestions mentioned herein about unloading a few projects. But, that doesn't help. So far this fresh clone and build steps per the docs is generating about 985 errors? Is this project even usable? Is it too early to even try to run samples and start checking out? Or is the latest version just missing a couple references / nugets and it will build fine then?

smartops-main commented 2 years ago

I get the same type of build errors with VS2022 and a fresh clone of Avalonia. First time trying Avalonia. I'm getting dozens of build errors. I installed .Net 6, the Avalonia VS Extension for VS2022, etc. See some errors for XamlX not being found. I went and found the XamlX GH repo but is this a pre-req to build Avalonia? Should I go get and build XamlX and then manually import into every project that requires and then try to build Avalonia? I tried the few suggestions mentioned herein about unloading a few projects. But, that doesn't help. So far this fresh clone and build steps per the docs is generating about 985 errors? Is this project even usable? Is it too early to even try to run samples and start checking out? Or is the latest version just missing a couple references / nugets and it will build fine then?

anyway, i gave up.... tried a few more things and still had hundreds of errors. is this basically a means for MS to get free QA from developers trying to run their pile of garbage? or maybe the build docs are so outdated that they're literally useless? either way..... as Barbara says, "and for that reason, I'm out!!" lol looks promising but jesus man, who has an hour to waste trying to get something to build out of box? please, if someone comes along and has the magic build steps please share, i'd like to see what this library can do.... until then.............

Gillibald commented 2 years ago

Please run git submodule sync and git submodule update --init --recursive --remote in the main folder of the repo.

More info here: https://git-scm.com/book/en/v2/Git-Tools-Submodules

Please watch your tone. There are dozens of people who are willing to help. Just be nice.

grokys commented 2 years ago

@smartops-main we have documentation on how to build here:

https://github.com/AvaloniaUI/Avalonia/blob/master/Documentation/build.md

It sounds like you didn't check out the submodules as outlined in that document:

git submodule update --init
smartops-main commented 2 years ago

Ran the commands for loading submodules. Saw errors about .Net 4.7.1 not being installed so I installed it. Now, I'm seeing about 80 errors after opening the solution. Also, tried restoring and then updating all Nugets.

Severity Code Description Project File Line Suppression State Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\RenderDemo\RenderDemo.csproj] RenderDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. Avalonia C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28
Error The specified language targets for monoandroid11.0 is missing. Ensure correct tooling is installed for 'monoandroid'. Missing: 'C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Xamarin\Android\Xamarin.Android.CSharp.targets' Avalonia.Android C:\Users\chris.nuget\packages\msbuild.sdk.extras\3.0.22\Build\LanguageTargets\CheckMissing.targets 44
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Controls.DataGrid\Avalonia.Controls.DataGrid.csproj] Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Controls.DataGrid.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Controls.DataGrid\Avalonia.Controls.DataGrid.csproj] Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Controls.DataGrid.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. Avalonia.Designer.HostApp C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\tests\Avalonia.DesignerSupport.TestApp\Avalonia.DesignerSupport.TestApp.csproj] Avalonia.DesignerSupport.TestApp C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.DesignerSupport.TestApp.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.DesignerSupport.TestApp C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. Avalonia.DesktopRuntime C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj] Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Diagnostics.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj] Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Diagnostics.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Dialogs\Avalonia.Dialogs.csproj] Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Dialogs.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Dialogs\Avalonia.Dialogs.csproj] Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Dialogs.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.7 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks Avalonia.Markup.Xaml.UnitTests C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1217
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\tests\Avalonia.Markup.Xaml.UnitTests\Avalonia.Markup.Xaml.UnitTests.csproj] Avalonia.Markup.Xaml.UnitTests C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Markup.Xaml.UnitTests.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Markup.Xaml.UnitTests C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.MicroCom\Avalonia.MicroCom.csproj] Avalonia.MicroCom C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.MicroCom.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.MicroCom C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error Could not execute because the specified command or file was not found. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error Possible reasons for this include: Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error You misspelled a built-in dotnet command. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error
You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i avn.idl --cs Interop.Generated.cs" exited with code 1. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error Could not execute because the specified command or file was not found. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error Possible reasons for this include: Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error
You misspelled a built-in dotnet command. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error
You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i avn.idl --cs Interop.Generated.cs" exited with code 1. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj] Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Default.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj] Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Default.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj] Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Fluent.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj] Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Fluent.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Web\Avalonia.Web.Blazor\Avalonia.Web.Blazor.csproj] Avalonia.Web.Blazor C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Web.Blazor.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Web.Blazor C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error Could not execute because the specified command or file was not found. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error Possible reasons for this include: Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error You misspelled a built-in dotnet command. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error
You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i WinRT\winrt.idl --cs WinRT\WinRT.Generated.cs" exited with code 1. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error Could not execute because the specified command or file was not found. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error Possible reasons for this include: Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error
You misspelled a built-in dotnet command. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error
You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i WinRT\winrt.idl --cs WinRT\WinRT.Generated.cs" exited with code 1. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19
Error The specified language targets for xamarin.ios10 is missing. Ensure correct tooling is installed for 'xamarin.ios'. Missing: 'C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.CSharp.targets' Avalonia.iOS C:\Users\chris.nuget\packages\msbuild.sdk.extras\3.0.22\Build\LanguageTargets\CheckMissing.targets 44
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\BindingDemo\BindingDemo.csproj] BindingDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false BindingDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. BindingDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\ControlCatalog\ControlCatalog.csproj] ControlCatalog C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false ControlCatalog.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. ControlCatalog C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\SampleControls\ControlSamples.csproj] ControlSamples C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false ControlSamples.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. ControlSamples C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. NativeEmbedSample C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\interop\NativeEmbedSample\NativeEmbedSample.csproj] NativeEmbedSample C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false NativeEmbedSample.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp2.0 /p:BuildProjectReferences=false" exited with code 1. NativeEmbedSample C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\RemoteDemo\RemoteDemo.csproj] RemoteDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false RemoteDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. RemoteDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB3073 The command "dotnet msbuild /nodereuse:false RenderDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. RenderDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\Sandbox\Sandbox.csproj] Sandbox C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false Sandbox.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Sandbox C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build\..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\VirtualizationDemo\VirtualizationDemo.csproj] VirtualizationDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69
Error MSB3073 The command "dotnet msbuild /nodereuse:false VirtualizationDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. VirtualizationDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76
Warning MC3074 The tag 'WpfAvaloniaHost' does not exist in XML namespace 'clr-namespace:Avalonia.Win32.Interop.Wpf;assembly=Avalonia.Win32.Interop'. Line 20 Position 14. WindowsInteropTest C:\Work\Dev\Avalonia\Avalonia\samples\interop\WindowsInteropTest\EmbedToWpfDemo.xaml 20
Warning MSB4181 The "MarkupCompilePass1" task returned false but did not log an error. WindowsInteropTest C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 223

workgroupengineering commented 2 years ago

Ran the commands for loading submodules. Saw errors about .Net 4.7.1 not being installed so I installed it. Now, I'm seeing about 80 errors after opening the solution. Also, tried restoring and then updating all Nugets.

Severity Code Description Project File Line Suppression State Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\RenderDemo\RenderDemo.csproj] RenderDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. Avalonia C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28 Error The specified language targets for monoandroid11.0 is missing. Ensure correct tooling is installed for 'monoandroid'. Missing: 'C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Xamarin\Android\Xamarin.Android.CSharp.targets' Avalonia.Android C:\Users\chris.nuget\packages\msbuild.sdk.extras\3.0.22\Build\LanguageTargets\CheckMissing.targets 44 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Controls.DataGrid\Avalonia.Controls.DataGrid.csproj] Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Controls.DataGrid.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Controls.DataGrid\Avalonia.Controls.DataGrid.csproj] Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Controls.DataGrid.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Controls.DataGrid C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. Avalonia.Designer.HostApp C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\tests\Avalonia.DesignerSupport.TestApp\Avalonia.DesignerSupport.TestApp.csproj] Avalonia.DesignerSupport.TestApp C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.DesignerSupport.TestApp.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.DesignerSupport.TestApp C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. Avalonia.DesktopRuntime C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj] Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Diagnostics.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj] Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Diagnostics.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Diagnostics C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Dialogs\Avalonia.Dialogs.csproj] Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Dialogs.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Dialogs\Avalonia.Dialogs.csproj] Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Dialogs.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Dialogs C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB3644 The reference assemblies for .NETFramework,Version=v4.7 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks Avalonia.Markup.Xaml.UnitTests C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1217 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\tests\Avalonia.Markup.Xaml.UnitTests\Avalonia.Markup.Xaml.UnitTests.csproj] Avalonia.Markup.Xaml.UnitTests C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Markup.Xaml.UnitTests.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Markup.Xaml.UnitTests C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.MicroCom\Avalonia.MicroCom.csproj] Avalonia.MicroCom C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.MicroCom.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.MicroCom C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error Could not execute because the specified command or file was not found. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error Possible reasons for this include: Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You misspelled a built-in dotnet command. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i avn.idl --cs Interop.Generated.cs" exited with code 1. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error Could not execute because the specified command or file was not found. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error Possible reasons for this include: Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You misspelled a built-in dotnet command. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i avn.idl --cs Interop.Generated.cs" exited with code 1. Avalonia.Native C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj] Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Default.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj] Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Default.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Default C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj] Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Fluent.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Themes.Fluent\Avalonia.Themes.Fluent.csproj] Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Themes.Fluent.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Themes.Fluent C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\src\Web\Avalonia.Web.Blazor\Avalonia.Web.Blazor.csproj] Avalonia.Web.Blazor C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Avalonia.Web.Blazor.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Avalonia.Web.Blazor C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error Could not execute because the specified command or file was not found. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error Possible reasons for this include: Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You misspelled a built-in dotnet command. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i WinRT\winrt.idl --cs WinRT\WinRT.Generated.cs" exited with code 1. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error Could not execute because the specified command or file was not found. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error Possible reasons for this include: Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You misspelled a built-in dotnet command. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to execute a .NET program, but dotnet-C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll does not exist. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error MSB3073 The command "dotnet "C:\Work\Dev\Avalonia\Avalonia\build../src/tools/MicroComGenerator/bin/Debug/net6.0/MicroComGenerator.dll" -i WinRT\winrt.idl --cs WinRT\WinRT.Generated.cs" exited with code 1. Avalonia.Win32 C:\Work\Dev\Avalonia\Avalonia\build\MicroCom.targets 19 Error The specified language targets for xamarin.ios10 is missing. Ensure correct tooling is installed for 'xamarin.ios'. Missing: 'C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Xamarin\iOS\Xamarin.iOS.CSharp.targets' Avalonia.iOS C:\Users\chris.nuget\packages\msbuild.sdk.extras\3.0.22\Build\LanguageTargets\CheckMissing.targets 44 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\BindingDemo\BindingDemo.csproj] BindingDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false BindingDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. BindingDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\ControlCatalog\ControlCatalog.csproj] ControlCatalog C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false ControlCatalog.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. ControlCatalog C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\SampleControls\ControlSamples.csproj] ControlSamples C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false ControlSamples.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netstandard2.0 /p:BuildProjectReferences=false" exited with code 1. ControlSamples C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Warning NETSDK1138 The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. NativeEmbedSample C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets 28 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\interop\NativeEmbedSample\NativeEmbedSample.csproj] NativeEmbedSample C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false NativeEmbedSample.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=netcoreapp2.0 /p:BuildProjectReferences=false" exited with code 1. NativeEmbedSample C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\RemoteDemo\RemoteDemo.csproj] RemoteDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false RemoteDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. RemoteDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB3073 The command "dotnet msbuild /nodereuse:false RenderDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. RenderDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\Sandbox\Sandbox.csproj] Sandbox C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false Sandbox.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. Sandbox C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Error MSB4062 The "GenerateAvaloniaResourcesTask" task could not be loaded from the assembly C:\Work\Dev\Avalonia\Avalonia\build..\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll. Could not load file or assembly 'C:\Work\Dev\Avalonia\Avalonia\src\Avalonia.Build.Tasks\bin\Debug\netstandard2.0\Avalonia.Build.Tasks.dll'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\Work\Dev\Avalonia\Avalonia\samples\VirtualizationDemo\VirtualizationDemo.csproj] VirtualizationDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 69 Error MSB3073 The command "dotnet msbuild /nodereuse:false VirtualizationDemo.csproj /t:GenerateAvaloniaResources /p:_AvaloniaForceInternalMSBuild=true /p:Configuration=Debug /p:TargetFramework=net6.0 /p:BuildProjectReferences=false" exited with code 1. VirtualizationDemo C:\Work\Dev\Avalonia\Avalonia\packages\Avalonia\AvaloniaBuildTasks.targets 76 Warning MC3074 The tag 'WpfAvaloniaHost' does not exist in XML namespace 'clr-namespace:Avalonia.Win32.Interop.Wpf;assembly=Avalonia.Win32.Interop'. Line 20 Position 14. WindowsInteropTest C:\Work\Dev\Avalonia\Avalonia\samples\interop\WindowsInteropTest\EmbedToWpfDemo.xaml 20 Warning MSB4181 The "MarkupCompilePass1" task returned false but did not log an error. WindowsInteropTest C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 223

https://github.com/AvaloniaUI/Avalonia/blob/master/Documentation/build.md#troubleshooting

smartops-main commented 2 years ago

Still several hundred build errors after following the build steps. Clearly there's something like a specific version of .Net SDKs that I don't have installed or something like that. Let's hope b/c otherwise.... I suspect your build docs are severely out of date and the pre-reqs needed to build likely being the issue. This is a clean/new install of VS2022 (which is working fine for .Net Core apps for AWS Lambda, Unity builds, .Net 6 console app builds, etc). Deleting and moving on.

For anyone else having issues, I only had .Net Core 3 and 6 installed before trying to build Avalonia. But, from the build errors it seems you need at least 4.7 installed as well. Maybe other versions? Who the f knows. If anyone compiles an accurate list of SDKs that need to be installed before Avalonia will build, please update this thread. I'll watch it for awhile.

Gillibald commented 2 years ago

Do you try to build the whole solution? Please try to build just the Sandbox. Also, it seems Avalonia.Build.Tasks isn't built so try to build that manually.

MarkWatts12 commented 8 months ago

I had been using VS2022 created an Avalonia App and it worked fine for months. Now it fails with all sorts of error messages. Not sure what has changed but I keep watching this thread... I even tried creating a fresh project list the pages mention and that fails too. Probably something I just don't understand... but why did it work for months and then won't build.