Skip to content

Commit

Permalink
Set TartgetFrameworks netstandard2.0 net6.0
Browse files Browse the repository at this point in the history
Bump 0.0.6
  • Loading branch information
patrick-dmxc committed Oct 26, 2023
1 parent 48c6b19 commit 18e8024
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ArtNetSharp/ArtNetSharp.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>0.0.5</Version>
<Version>0.0.6</Version>
<RepositoryUrl>https://github.com/DMXControl/ArtNetSharp</RepositoryUrl>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageTags>RDM; ArtNet; E1.20; E1.33; E1.37-1; E1.37-2; E1.37-7</PackageTags>
Expand Down
9 changes: 5 additions & 4 deletions ArtNetTests/ArtNetTests.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>

<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>

<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
2 changes: 1 addition & 1 deletion ArtNetTests/NetworkTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void TestSendTimeCode()
artNet.AddInstance(instance);
for (int i = 0; i < 600; i++)
{
TimeOnly time = TimeOnly.FromDateTime(DateTime.UtcNow);
DateTime time = DateTime.UtcNow;
ArtTimeCode timecode = new ArtTimeCode((byte)(time.Millisecond / 1000.0 * 30), (byte)time.Second, (byte)time.Minute, (byte)time.Hour, ETimecodeType.SMTPE);
_ = instance.SendArtTimeCode(timecode);
Thread.Sleep(100);
Expand Down

0 comments on commit 18e8024

Please # to comment.