зеркало из https://github.com/AvaloniaUI/Avalonia.git
Fixed include condition for linux skia binaries
This commit is contained in:
Родитель
fb6229c6f3
Коммит
f926d7886c
|
@ -1,6 +1,6 @@
|
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SkiaSharp" Version="1.57.1" />
|
||||
<PackageReference Condition="$(TargetFramework.Trim('.').ToLower().StartsWith('netframework'))" Include="Avalonia.Skia.Linux.Natives" Version="1.57.1.3" />
|
||||
<PackageReference Condition="'$(IncludeLinuxSkia)' == 'true'" Include="Avalonia.Skia.Linux.Natives" Version="1.57.1.3" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<RootNamespace>Avalonia.Skia.Desktop</RootNamespace>
|
||||
<AssemblyName>Avalonia.Skia.Desktop</AssemblyName>
|
||||
<IncludeLinuxSkia>true</IncludeLinuxSkia>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -42,4 +43,4 @@
|
|||
<Import Project="..\..\..\build\SkiaSharp.props" />
|
||||
<Import Project="..\Avalonia.Skia\Avalonia.Skia.projitems" Label="Shared" />
|
||||
<Import Project="..\..\Shared\RenderHelpers\RenderHelpers.projitems" Label="Shared" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -54,6 +54,9 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<IncludeLinuxSkia>true</IncludeLinuxSkia>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
@ -107,4 +110,4 @@
|
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\..\..\build\SkiaSharp.props" />
|
||||
<Import Project="$(MSBuildThisFileDirectory)..\..\Shared\nuget.workaround.targets" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче