Skip to content

Commit

Permalink
feat: Updated to net8. Released 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Apr 28, 2024
1 parent 063553a commit 569eae9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/apps/H.Ipc.Apps.Wpf/H.Ipc.Apps.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net6.0-windows;net4.8</TargetFrameworks>
<TargetFrameworks>net8.0-windows;net4.8</TargetFrameworks>
<UseWPF>true</UseWPF>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
Expand Down
5 changes: 1 addition & 4 deletions src/libs/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
</ItemGroup>

<PropertyGroup Label="Nuget">
<Version>1.0.0</Version>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Authors>havendv</Authors>
Expand All @@ -27,10 +28,6 @@
<ItemGroup Label="Nuget">
<None Include="$(SolutionDir)assets\nuget_icon.png" Pack="true" PackagePath="\" Visible="false" />
<None Include="$(SolutionDir)README.md" Pack="true" PackagePath="\" Visible="false" />
<PackageReference Include="ConventionalCommitsGitInfo" Version="0.3.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Label="Source Link">
Expand Down
2 changes: 1 addition & 1 deletion src/libs/H.Ipc/H.Ipc.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.2</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net4.6.2;net6.0;net8.0</TargetFrameworks>
<RootNamespace>H.Ipc.Core</RootNamespace>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup Label="Base packages">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup Label="Base packages">
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="H.Generators.Tests.Extensions" Version="1.22.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
Expand Down
6 changes: 3 additions & 3 deletions src/tests/H.Ipc.Generator.SnapshotTests/TestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Immutable;
using H.Generators.Tests.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Testing;
Expand All @@ -12,8 +12,8 @@ public static class TestHelper
string source,
CancellationToken cancellationToken = default)
{
var referenceAssemblies = ReferenceAssemblies.Net.Net60
.WithPackages(ImmutableArray.Create(new PackageIdentity("H.Pipes.AccessControl", "2.0.47")));
var referenceAssemblies = LatestReferenceAssemblies.Net80
.WithPackages([new PackageIdentity("H.Pipes.AccessControl", "2.0.59")]);
var references = await referenceAssemblies.ResolveAsync(null, cancellationToken);
references = references
.Add(MetadataReference.CreateFromFile(typeof(H.IpcGenerators.IpcClientAttribute).Assembly.Location));
Expand Down

0 comments on commit 569eae9

Please sign in to comment.