Skip to content

Commit

Permalink
Dependencies version updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Sep 19, 2024
1 parent 54cf6d8 commit ab46853
Show file tree
Hide file tree
Showing 31 changed files with 51 additions and 51 deletions.
7 changes: 4 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
<RootNamespace>Myra</RootNamespace>
<Description>UI Library for MonoGame, FNA and Stride</Description>
<VersionPrefix>1.5.6</VersionPrefix>
<XNAssetsVersion>0.7.1</XNAssetsVersion>
<FontStashSharpVersion>1.3.6</FontStashSharpVersion>
<XNAssetsVersion>0.7.3</XNAssetsVersion>
<FontStashSharpVersion>1.3.8</FontStashSharpVersion>
<LangVersion>8.0</LangVersion>
<InfoLundinMathVersion>1.2.6</InfoLundinMathVersion>
<MonoGameVersion>3.8.0.1641</MonoGameVersion>
<AppMonoGameVersion>3.8.1.303</AppMonoGameVersion>
<AppMonoGameVersion>3.8.2.1105</AppMonoGameVersion>
<StrideVersion>4.2.0.2067</StrideVersion>
<AppTargetFramework>net8.0</AppTargetFramework>
</PropertyGroup>
</Project>
34 changes: 17 additions & 17 deletions buildBinaryDistribution.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ New-Item -ItemType directory -Path "ZipPackage\Assets\fonts"
New-Item -ItemType directory -Path "ZipPackage\Assets\images"

function Copy-Sample([string]$SampleName) {
Copy-Item -Path "samples\Myra.Samples.$SampleName\bin\MonoGame\Release\net6.0\Myra.Samples.$SampleName.exe" -Destination "ZipPackage"
Copy-Item -Path "samples\Myra.Samples.$SampleName\bin\MonoGame\Release\net6.0\Myra.Samples.$SampleName.dll" -Destination "ZipPackage"
Copy-Item -Path "samples\Myra.Samples.$SampleName\bin\MonoGame\Release\net6.0\Myra.Samples.$SampleName.runtimeconfig.json" -Destination "ZipPackage"
Copy-Item -Path "samples\Myra.Samples.$SampleName\bin\MonoGame\Release\net8.0\Myra.Samples.$SampleName.exe" -Destination "ZipPackage"
Copy-Item -Path "samples\Myra.Samples.$SampleName\bin\MonoGame\Release\net8.0\Myra.Samples.$SampleName.dll" -Destination "ZipPackage"
Copy-Item -Path "samples\Myra.Samples.$SampleName\bin\MonoGame\Release\net8.0\Myra.Samples.$SampleName.runtimeconfig.json" -Destination "ZipPackage"
}

# Copy-Item -Path files
Expand All @@ -34,20 +34,20 @@ Copy-Sample "ObjectEditor"
Copy-Item -Path "samples\Myra.Samples.ObjectEditor\image.png" -Destination "ZipPackage"
Copy-Sample "TextRendering"
Copy-Item -Path "samples\Stylesheets\*" -Destination "ZipPackage\Stylesheets\" -Recurse
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\System.CodeDom.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\MyraPad.exe" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\MyraPad.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\MyraPad.runtimeconfig.json" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\FontStashSharp.*" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\StbImageSharp.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\StbTrueTypeSharp.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\Cyotek.Drawing.BitmapFont.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\AssetManagementBase.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\DdsKtxXna.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\XNAssets.MonoGame.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\info.lundin.math.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\MonoGame.Framework.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net6.0\runtimes" -Destination "ZipPackage" -Recurse
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\System.CodeDom.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\MyraPad.exe" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\MyraPad.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\MyraPad.runtimeconfig.json" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\FontStashSharp.*" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\StbImageSharp.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\StbTrueTypeSharp.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\Cyotek.Drawing.BitmapFont.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\AssetManagementBase.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\DdsKtxXna.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\XNAssets.MonoGame.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\info.lundin.math.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\MonoGame.Framework.dll" -Destination "ZipPackage"
Copy-Item -Path "src\MyraPad\bin\Release\net8.0\runtimes" -Destination "ZipPackage" -Recurse

# Compress
Rename-Item "ZipPackage" "Myra.$version"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\FNA.Core\$(Configuration)</OutputPath>
<DefineConstants>$(DefineConstants);FNA;</DefineConstants>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
<DefineConstants>$(DefineConstants);MONOGAME</DefineConstants>
<AssemblyName>Myra.Samples.AllWidgets</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\Stride\$(Configuration)</OutputPath>
<DefineConstants>$(DefineConstants);STRIDE</DefineConstants>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Stride.Engine" Version="4.2.0.2067" />
<PackageReference Include="Stride.Engine" Version="4.2.0.2188" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-android</TargetFramework>
<TargetFramework>$(AppTargetFramework)-android</TargetFramework>
<SupportedOSPlatformVersion>23</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType>
<DefineConstants>$(DefineConstants);MONOGAME;ANDROID</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<AssemblyName>Myra.Samples.CustomUIStylesheet</AssemblyName>
<RootNamespace>Myra.Samples.CustomUIStylesheet</RootNamespace>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\FNA.Core\$(Configuration)</OutputPath>
<DefineConstants>$(DefineConstants);FNA</DefineConstants>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>WinExe</OutputType>
<AssemblyName>Myra.Samples.CustomUIStylesheet</AssemblyName>
<RootNamespace>Myra.Samples.CustomUIStylesheet</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/Myra.Samples.Layout2D/Myra.Samples.Layout2D.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<AssemblyName>Myra.Samples.Notepad</AssemblyName>
<RootNamespace>Myra.Samples.Notepad</RootNamespace>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<DefineConstants>$(DefineConstants);FNA;</DefineConstants>
<OutputPath>bin\FNA.Core\$(Configuration)</OutputPath>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<AssemblyName>Myra.Samples.Notepad</AssemblyName>
<RootNamespace>Myra.Samples.Notepad</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>WinExe</OutputType>
<AssemblyName>Myra.Samples.AllWidgets</AssemblyName>
<RootNamespace>Myra.Samples.AllWidgets</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<DefineConstants>$(DefineConstants);PLATFORM_AGNOSTIC</DefineConstants>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<AssemblyName>Myra.Samples.AllWidgets</AssemblyName>
<RootNamespace>Myra.Samples.AllWidgets</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/Myra.Samples.Silk.NET/Myra.Samples.Silk.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<AssemblyName>Myra.Samples.AllWidgets</AssemblyName>
<RootNamespace>Myra.Samples.AllWidgets</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\FNA.Core\$(Configuration)</OutputPath>
<DefineConstants>$(DefineConstants);FNA;</DefineConstants>
<AssemblyName>Myra.Samples.TextRendering</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
<DefineConstants>$(DefineConstants);MONOGAME</DefineConstants>
<AssemblyName>Myra.Samples.TextRendering</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/Myra.Tests/Myra.Tests.FNA.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<DefineConstants>$(DefineConstants);FNA</DefineConstants>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>$(AppTargetFramework)</TargetFrameworks>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
<OutputType>Library</OutputType>
<RootNamespace>Myra.Tests</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion src/Myra.Tests/Myra.Tests.MonoGame.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<DefineConstants>$(DefineConstants);MONOGAME</DefineConstants>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
<TargetFrameworks>$(AppTargetFramework)-windows</TargetFrameworks>
<OutputPath>bin\MonoGame\$(Configuration)</OutputPath>
<OutputType>Library</OutputType>
<RootNamespace>Myra.Tests</RootNamespace>
Expand Down
4 changes: 2 additions & 2 deletions src/Myra/Graphics2D/UI/Containers/SplitPane.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ public override void OnTouchMoved()
secondProportion = _layout.RowsProportions[handleIndex + 1];
}

if (fp >= 0)
var fp2 = firstProportion.Value + secondProportion.Value - fp;
if (fp >= 0 && fp2 >= 0)
{
var fp2 = firstProportion.Value + secondProportion.Value - fp;
firstProportion.Value = fp;
secondProportion.Value = fp2;
FireProportionsChanged();
Expand Down
2 changes: 1 addition & 1 deletion src/Myra/Myra.FNA.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<DefineConstants>$(DefineConstants);FNA</DefineConstants>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<AssemblyName>Myra</AssemblyName>
<PackageId>Myra.FNA.Core</PackageId>
<OutputPath>bin\FNA.Core\$(Configuration)</OutputPath>
Expand Down
1 change: 0 additions & 1 deletion src/Myra/Myra.PlatformAgnostic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
<PackageReference Include="AssetManagementBase" Version="0.6.6" />
<PackageReference Include="FontStashSharp" Version="$(FontStashSharpVersion)" />
<PackageReference Include="info.lundin.math.dll" Version="$(InfoLundinMathVersion)" />
<PackageReference Include="StbImageSharp" Version="2.27.13" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Myra/Myra.Stride.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<DefineConstants>$(DefineConstants);STRIDE</DefineConstants>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<PackageId>Myra.Stride</PackageId>
<AssemblyName>Myra</AssemblyName>
<OutputPath>bin\Stride\$(Configuration)</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion src/MyraPad/MyraPad.FNA.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<AssemblyName>MyraPad</AssemblyName>
<RootNamespace>MyraPad</RootNamespace>
<OutputPath>bin\FNA.Core\$(Configuration)</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion src/MyraPad/MyraPad.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>$(AppTargetFramework)</TargetFramework>
<AssemblyName>MyraPad</AssemblyName>
<RootNamespace>MyraPad</RootNamespace>
<DefineConstants>$(DefineConstants);MONOGAME</DefineConstants>
Expand Down

0 comments on commit ab46853

Please sign in to comment.