Skip to content

Commit 1fbe52c

Browse files
committed
Cleaned up target framework reference
1 parent ffbd5b2 commit 1fbe52c

File tree

15 files changed

+9
-46
lines changed

15 files changed

+9
-46
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
45
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
56
<LangVersion>9.0</LangVersion>
67
<Nullable>enable</Nullable>

EntityFrameworkCore.Triggered.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
44
VisualStudioVersion = 17.0.31710.8
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EDFABD48-3C79-47AE-B84C-47CE2A52C20D}"
7+
ProjectSection(SolutionItems) = preProject
8+
src\Directory.Build.props = src\Directory.Build.props
9+
EndProjectSection
710
EndProject
811
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{0FAE4F6A-93BB-453C-8FB4-B24A9F30DA59}"
912
EndProject

benchmarks/Directory.Build.props

Lines changed: 0 additions & 6 deletions
This file was deleted.

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/EntityFrameworkCore.Triggered.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
43
<OutputType>Exe</OutputType>
4+
<Nullable>disable</Nullable>
55
</PropertyGroup>
66
<PropertyGroup>
77
<PlatformTarget>AnyCPU</PlatformTarget>

samples/1 - HelloWorld/1 - HelloWorld.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
65
<RootNamespace>HelloWorld</RootNamespace>
76
<Nullable>disable</Nullable>
87
</PropertyGroup>

samples/2 - PrimarySchool/2 - PrimarySchool.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
65
<RootNamespace>PrimarySchool</RootNamespace>
76
<Nullable>disable</Nullable>
87
</PropertyGroup>

samples/3 - StudentManagerAspNetCore/3 - StudentManagerAspNetCore.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
54
<RootNamespace>StudentManager</RootNamespace>
65
<Nullable>disable</Nullable>
76
</PropertyGroup>

samples/4 - BlazorTests/4 - BlazorTests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
54
<RootNamespace>BlazorTests</RootNamespace>
65
<Nullable>disable</Nullable>
76
</PropertyGroup>

samples/Directory.Build.props

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/Directory.Build.props

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
<Project>
22
<Import Project="..\Directory.Build.props" />
33

4-
<PropertyGroup>
5-
<TargetFramework>net6.0</TargetFramework>
6-
<DefineConstants>EFCORETRIGGERED3</DefineConstants>
7-
</PropertyGroup>
8-
9-
<PropertyGroup Condition=" '$(EFCoreTriggeredVersion)' == '2' ">
10-
<TargetFramework>netstandard2.1</TargetFramework>
11-
<DefineConstants>EFCORETRIGGERED2</DefineConstants>
12-
</PropertyGroup>
13-
14-
<PropertyGroup Condition=" '$(EFCoreTriggeredVersion)' == '1' ">
15-
<TargetFramework>netstandard2.0</TargetFramework>
16-
<DefineConstants>EFCORETRIGGERED1</DefineConstants>
17-
</PropertyGroup>
18-
194
<PropertyGroup>
205
<PublishRepositoryUrl>true</PublishRepositoryUrl>
216
<IncludeSymbols>true</IncludeSymbols>

0 commit comments

Comments
 (0)