Browse Source

Update Nuget packages and PlatformTarget

Ruben 1 year ago
parent
commit
0ca6dd680d

+ 2 - 2
src/PicView.Avalonia.MacOS/PicView.Avalonia.MacOS.csproj

@@ -17,8 +17,8 @@
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="Avalonia.Desktop" Version="11.2.0-beta1" />
-    <PackageReference Include="Avalonia.Themes.Simple" Version="11.2.0-beta1" />
+    <PackageReference Include="Avalonia.Desktop" Version="11.2.999-cibuild0051694-alpha" />
+    <PackageReference Include="Avalonia.Themes.Simple" Version="11.2.999-cibuild0051694-alpha" />
   </ItemGroup>
 
   <ItemGroup>

+ 2 - 2
src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj

@@ -36,8 +36,8 @@
   </ItemGroup>
 
   <ItemGroup>
-    <PackageReference Include="Avalonia.Desktop" Version="11.2.0-beta1" />
-    <PackageReference Include="Avalonia.Themes.Simple" Version="11.2.0-beta1" />
+    <PackageReference Include="Avalonia.Desktop" Version="11.2.999-cibuild0051694-alpha" />
+    <PackageReference Include="Avalonia.Themes.Simple" Version="11.2.999-cibuild0051694-alpha" />
   </ItemGroup>
 
   <ItemGroup>

+ 3 - 5
src/PicView.Avalonia/PicView.Avalonia.csproj

@@ -8,18 +8,16 @@
     <Company>Ruben Hyldgaard Negendahl</Company>
     <Product>PicView</Product>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
-    <PlatformTarget>X64</PlatformTarget>
+    <PlatformTarget>x64</PlatformTarget>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     <IsAotCompatible>False</IsAotCompatible>
     <IsTrimmable>True</IsTrimmable>
-    <PlatformTarget>x64</PlatformTarget>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
     <IsAotCompatible>True</IsAotCompatible>
     <IsTrimmable>True</IsTrimmable>
 	  <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
-	  <PlatformTarget>x64</PlatformTarget>
   </PropertyGroup>
   <PropertyGroup Label="Avalonia">
     <AvaloniaXamlIlDebuggerLaunch>False</AvaloniaXamlIlDebuggerLaunch>
@@ -61,8 +59,8 @@
   </ItemGroup>
 
   <ItemGroup>
-    <PackageReference Include="Avalonia" Version="11.2.0-beta1" />
-    <PackageReference Include="Avalonia.ReactiveUI" Version="11.2.0-beta1" />
+    <PackageReference Include="Avalonia" Version="11.2.999-cibuild0051694-alpha" />
+    <PackageReference Include="Avalonia.ReactiveUI" Version="11.2.999-cibuild0051694-alpha" />
     <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
     <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.2.0-beta1" />
     <PackageReference Include="Avalonia.Svg.Skia" Version="11.1.0.1" />

+ 0 - 2
src/PicView.Core/PicView.Core.csproj

@@ -12,7 +12,6 @@
     <IsAotCompatible>True</IsAotCompatible>
     <IsTrimmable>True</IsTrimmable>
     <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
-    <PlatformTarget>X64</PlatformTarget>
   </PropertyGroup>
 
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -20,7 +19,6 @@
     <IsTrimmable>True</IsTrimmable>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <DebugType>none</DebugType>
-    <PlatformTarget>ARM64</PlatformTarget>
   </PropertyGroup>
 
   <ItemGroup>