Skip to content

Commit

Permalink
refactor: Move TFM out from Directory.Build.Props (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminMichaelis authored Nov 30, 2023
1 parent e2d6985 commit bd1d4a9
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 14 deletions.
1 change: 1 addition & 0 deletions Coalesce.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.gitignore = .gitignore
.lutignore = .lutignore
Coalesce.lutconfig = Coalesce.lutconfig
src\Common.props = src\Common.props
src\Directory.Build.props = src\Directory.Build.props
version.txt = version.txt
EndProjectSection
Expand Down
5 changes: 5 additions & 0 deletions src/Common.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
</Project>
2 changes: 0 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>

<Company>IntelliTect</Company>
<Authors>IntelliTect</Authors>
<Product>Coalesce Web Framework</Product>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<Nullable>enable</Nullable>

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

<Import Project="../Common.props" />
<PropertyGroup>
<Description>Shared API code generation for IntelliTect.Coalesce</Description>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<Description>Knockout.js code generation for IntelliTect.Coalesce</Description>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<IsPackable>false</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<Description>Vue.js code generation for IntelliTect.Coalesce</Description>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../Common.props" />
<PropertyGroup>
<Description>Core code generation library for IntelliTect.Coalesce</Description>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>

<Import Project="../Common.props" />
<!-- Technique for overriding SDK targets from https://stackoverflow.com/a/47619786/2465631 -->
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../Common.props" />
<Import Project="../Cli.Common.props" />

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

<Import Project="../Common.props" />
<PropertyGroup>
<Description>Knockout.js shared code for both server and code generation projects for IntelliTect.Coalesce</Description>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<OpenApiGenerateDocuments>false</OpenApiGenerateDocuments>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<Description>
Provides Swashbuckle SwaggerGen filters to enhance definitions of Coalesce APIs in OpenAPI documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../Common.props" />
<PropertyGroup>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<IsPackable>false</IsPackable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../Common.props" />
<PropertyGroup>
<Description>Vue.js shared code for server projects for IntelliTect.Coalesce</Description>
<Nullable>enable</Nullable>
Expand Down
1 change: 1 addition & 0 deletions src/IntelliTect.Coalesce/IntelliTect.Coalesce.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../Common.props" />
<PropertyGroup>
<Description>Core framework library for IntelliTect.Coalesce</Description>
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down

0 comments on commit bd1d4a9

Please sign in to comment.