mirror of
https://git.tonybark.com/tonytins/Longhorn.git
synced 2026-02-10 08:14:51 -05:00
RollForward support
- Added Forward compatibility with newer SDKs. - Added root items into solution.
This commit is contained in:
parent
7d823aa78b
commit
d6c0be0325
5 changed files with 20 additions and 2 deletions
6
Directory.Build.props
Normal file
6
Directory.Build.props
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<!-- Allow running on any .NET 8+ runtime (8, 9, 10, ...) -->
|
||||
<RollForward>LatestMajor</RollForward>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<IsPackable>false</IsPackable>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
<Solution>
|
||||
<Folder Name="/Solution Items/">
|
||||
<File Path=".editorconfig" />
|
||||
<File Path="Directory.Build.props" />
|
||||
<File Path="global.json" />
|
||||
<File Path="README.md" />
|
||||
</Folder>
|
||||
<Project Path="Longhorn.Tests/Longhorn.Tests.csproj" />
|
||||
<Project Path="Longhorn/Longhorn.csproj" />
|
||||
</Solution>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
|
|
|||
6
global.json
Normal file
6
global.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "8.0.100",
|
||||
"rollForward": "latestMajor"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue