Skip to content

Commit

Permalink
Upgrade testing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
monoman committed Aug 26, 2024
1 parent e2d03c8 commit 1474556
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions SvgNet/SvgNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</Target>

<ItemGroup Condition="'$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net8.0-windows' And '$(TargetFramework)' != 'net6.0-windows'">
<PackageReference Include="System.Drawing.Common" Version="8.0.7" />
<PackageReference Include="System.Drawing.Common" Version="8.0.8" />
</ItemGroup>

<Target Name="UpdateREADME" BeforeTargets="Build">
Expand All @@ -86,12 +86,10 @@
<VersionPattern>Latest version \d+\.\d+\.\d+</VersionPattern>
<VersionResult>Latest version $(Version)</VersionResult>
</PropertyGroup>
<RegexTemplating InputFile="@(ReadMe)" Pattern="$(VersionPattern)" NewValue="$(VersionResult)"/>
<RegexTemplating InputFile="@(ReadMe)" Pattern="$(VersionPattern)" NewValue="$(VersionResult)" />
</Target>

<UsingTask TaskName="RegexTemplating"
TaskFactory="RoslynCodeTaskFactory"
AssemblyFile="$(MSBuildBinPath)\Microsoft.Build.Tasks.Core.dll">
<UsingTask TaskName="RegexTemplating" TaskFactory="RoslynCodeTaskFactory" AssemblyFile="$(MSBuildBinPath)\Microsoft.Build.Tasks.Core.dll">
<ParameterGroup>
<InputFile ParameterType="System.String" Required="true" />
<Pattern ParameterType="System.String" Required="true" />
Expand Down
2 changes: 1 addition & 1 deletion SvgNetUnitTests/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Main {
[TestCase("Path with Polygon")]
[TestCase("Path (Slow)")]
public void TestCases(string key) {
TestContext.WriteLine($"=== Renderer {key}");
TestContext.Out.WriteLine($"=== Renderer {key}");
System.Action<IGraphics> value = TestShared.Renderers[key];
using var ig = new SvgGraphics(Color.WhiteSmoke);
value(ig);
Expand Down
6 changes: 3 additions & 3 deletions SvgNetUnitTests/SvgNetUnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit" Version="4.1.0"></PackageReference>
<PackageReference Include="NUnit" Version="4.2.1"></PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 1474556

Please sign in to comment.