Skip to content

Commit 7d4e80c

Browse files
Targeted for .net 8, 9 and 10
1 parent 88a943b commit 7d4e80c

5 files changed

Lines changed: 35 additions & 21 deletions

File tree

Directory.Build.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<!-- Global project properies -->
5151
<PropertyGroup>
5252
<ImplicitUsings>enable</ImplicitUsings>
53-
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
53+
<!-- Primary target: .NET 10 (next LTS), with .NET 9 for current support, .NET 8 for compatibility -->
54+
<TargetFrameworks>net10.0;net9.0;net8.0</TargetFrameworks>
5455
</PropertyGroup>
5556
</Project>

Directory.Packages.props

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@
55
<ItemGroup>
66
<!-- Core Application Dependencies -->
77
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="5.0.0" />
8-
<!-- Development Tools -->
8+
<!-- Development Tools -->
99
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
10-
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.9.50" />
11-
<!-- Testing Framework -->
12-
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
10+
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.9.50" >
11+
<PrivateAssets>all</PrivateAssets>
12+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
13+
</PackageVersion>
14+
<!-- Testing Framework -->
15+
<PackageVersion Include="coverlet.collector" Version="6.0.4" >
16+
<PrivateAssets>all</PrivateAssets>
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
</PackageVersion>
1319
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1420
<PackageVersion Include="MSTest.TestAdapter" Version="4.0.2" />
1521
<PackageVersion Include="MSTest.TestFramework" Version="4.0.2" />
16-
</ItemGroup>
17-
</Project>
22+
23+
</ItemGroup>
24+
</Project>

nuget.config

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
5+
<add key="myget.org" value="https://www.myget.org/F/dotnet-interactive/api/v3/index.json" />
6+
</packageSources>
7+
8+
<!-- Package source mapping for Central Package Management -->
9+
<packageSourceMapping>
10+
<!-- All packages from nuget.org for now -->
11+
<packageSource key="nuget.org">
12+
<package pattern="*" />
13+
</packageSource>
14+
</packageSourceMapping>
15+
</configuration>

src/Hyperbee.Resources/Hyperbee.Resources.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
<Nullable>enable</Nullable>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<IsPackable>true</IsPackable>
7-
87
<Authors>Stillpoint Software, Inc.</Authors>
98
<PackageReadmeFile>README.md</PackageReadmeFile>
109
<PackageTags>resources;NET;embedded resources</PackageTags>
1110
<PackageIcon>icon.png</PackageIcon>
1211
<PackageProjectUrl>https://github.com/Stillpoint-Software/Hyperbee.Resources/</PackageProjectUrl>
13-
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
1412
<PackageLicenseFile>LICENSE</PackageLicenseFile>
13+
<PackageId>Hyperbee.Resources</PackageId>
1514
<Copyright>Stillpoint Software, Inc.</Copyright>
1615
<Title>Hyperbee Resources</Title>
1716
<Description>
@@ -33,10 +32,7 @@
3332
<PackagePath>\</PackagePath>
3433
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3534
</None>
36-
<PackageReference Update="Microsoft.SourceLink.GitHub">
37-
<PrivateAssets>all</PrivateAssets>
38-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
39-
</PackageReference>
35+
<PackageReference Update="Microsoft.SourceLink.GitHub"/>
4036
<PackageReference Update="Nerdbank.GitVersioning" />
4137
</ItemGroup>
4238

test/Hyperbee.Resources.Tests/Hyperbee.Resources.Tests.csproj

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="coverlet.collector">
19-
<PrivateAssets>all</PrivateAssets>
20-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
21-
</PackageReference>
18+
<PackageReference Include="coverlet.collector" />
19+
2220
<PackageReference Include="Microsoft.NET.Test.Sdk" />
2321
<PackageReference Include="MSTest.TestAdapter" />
2422
<PackageReference Include="MSTest.TestFramework" />
@@ -33,10 +31,7 @@
3331
</ItemGroup>
3432

3533
<ItemGroup>
36-
<PackageReference Update="Microsoft.SourceLink.GitHub" >
37-
<PrivateAssets>all</PrivateAssets>
38-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
39-
</PackageReference>
34+
<PackageReference Update="Microsoft.SourceLink.GitHub" />
4035
<PackageReference Update="Nerdbank.GitVersioning" />
4136
</ItemGroup>
4237

0 commit comments

Comments
 (0)