|
3 | 3 | <PropertyGroup>
|
4 | 4 | <!-- Define the target framework and compatibility -->
|
5 | 5 | <LangVersion>9.0</LangVersion>
|
6 |
| - <TargetFramework>net48</TargetFramework> |
| 6 | + <TargetFrameworks>net48;net8</TargetFrameworks> |
7 | 7 | <!-- Versioning and Build Configuration -->
|
8 | 8 | <!-- Set SemVer to GitVersion_FullSemVer if available, otherwise fallback to 0.0.0 -->
|
9 | 9 | <SemVer Condition="'$(GitVersion_FullSemVer)' != ''">$(GitVersion_FullSemVer)</SemVer>
|
|
28 | 28 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
29 | 29 | <NoWarn>1591</NoWarn>
|
30 | 30 | <!-- Optional: Suppress warnings about missing XML comments -->
|
| 31 | + <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\FixedMathSharp.xml</DocumentationFile> |
31 | 32 | <!-- Configuration to ensure deterministic builds -->
|
32 | 33 | <Deterministic>true</Deterministic>
|
33 | 34 | <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
34 | 35 | <UnityBuild>false</UnityBuild>
|
35 |
| - <Configurations>Debug;Release;DebugUnity;ReleaseUnity;DebugNet8;ReleaseNet8</Configurations> |
| 36 | + <Configurations>Debug;Release;DebugUnity;ReleaseUnity</Configurations> |
36 | 37 | </PropertyGroup>
|
37 | 38 | <!-- Debug and Release-specific Properties -->
|
38 | 39 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
48 | 49 | <DefineConstants>DEBUG;TRACE;UNITY_EDITOR</DefineConstants>
|
49 | 50 | <UnityBuild>true</UnityBuild>
|
50 | 51 | </PropertyGroup>
|
51 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugNet8|AnyCPU'"> |
52 |
| - <TargetFramework>net8</TargetFramework> |
53 |
| - <DebugSymbols>true</DebugSymbols> |
54 |
| - <DebugType>full</DebugType> |
55 |
| - <Optimize>false</Optimize> |
56 |
| - <DefineConstants>DEBUG;TRACE</DefineConstants> |
57 |
| - </PropertyGroup> |
58 | 52 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
59 | 53 | <Optimize>true</Optimize>
|
60 | 54 | <DefineConstants>TRACE</DefineConstants>
|
|
64 | 58 | <DefineConstants>TRACE;UNITY_EDITOR</DefineConstants>
|
65 | 59 | <UnityBuild>true</UnityBuild>
|
66 | 60 | </PropertyGroup>
|
67 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseNet8|AnyCPU'"> |
68 |
| - <TargetFramework>net8</TargetFramework> |
69 |
| - <Optimize>true</Optimize> |
70 |
| - <DefineConstants>TRACE</DefineConstants> |
71 |
| - </PropertyGroup> |
72 |
| - <PropertyGroup> |
73 |
| - <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\FixedMathSharp.xml</DocumentationFile> |
74 |
| - </PropertyGroup> |
75 | 61 | <!-- NuGet Packaging Metadata -->
|
76 | 62 | <PropertyGroup>
|
77 | 63 | <PackageId>FixedMathSharp</PackageId>
|
|
137 | 123 | <Private>false</Private>
|
138 | 124 | <PrivateAssets>all</PrivateAssets>
|
139 | 125 | </Reference>
|
140 |
| - <PackageReference Condition="'$(TargetFramework)' == 'net48'" Include="Microsoft.NETFramework.ReferenceAssemblies.net48" Version="1.0.3"> |
| 126 | + <PackageReference Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" Include="Microsoft.NETFramework.ReferenceAssemblies.net48" Version="1.0.3"> |
141 | 127 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
142 | 128 | <PrivateAssets>all</PrivateAssets>
|
143 | 129 | </PackageReference>
|
|
0 commit comments