Warning fixes: spring wave (#15747)
* Fix duplicated trimming attributes warning in Markup.Xaml.Loader * Fix nullability warnings * Update ImageSharp to 2.1.8 * Removed obsolete attributes on ValueStore * Ignore CA1815 on private API RenderTargetProperties * Fix switch expression warnings * Fix warnings in Vulkan project * Only include PThread for WasmEnableThreads * Rename pollfd to PollFd to fix CS8981 * Fix incompatible packages being used in ControlCatalog.Desktop --------- Co-authored-by: Max Katz <maxkatz6@outlook.com>
This commit is contained in:
committed by
GitHub
parent
1b27bf7bac
commit
b30894cb5c
@@ -1,9 +1,6 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!-- '!NET6_0_OR_GREATER' equivalent -->
|
||||
<ItemGroup Condition="!('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '6.0')))">
|
||||
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
|
||||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
|
||||
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
|
||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.6.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.7" />
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
+11
-2
@@ -1,13 +1,22 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)'=='net461'" >
|
||||
<OutputType>WinExe</OutputType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)..\src\Avalonia.Desktop\Avalonia.Desktop.csproj" />
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)'!='net461'">
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)../src/Avalonia.Desktop/Avalonia.Desktop.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)../src/Windows/Avalonia.Win32/Avalonia.Win32.csproj" />
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)../src/Skia/Avalonia.Skia/Avalonia.Skia.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="GatherReferences" AfterTargets="CoreCompile">
|
||||
<WriteLinesToFile File="$(TargetPath).refs"
|
||||
Lines="@(ReferencePathWithRefAssemblies)"
|
||||
Overwrite="true" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user