Skip to content

Commit

Permalink
Move TFM to directory build props
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Jul 13, 2023
1 parent d2cfc8d commit 66be84a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
7 changes: 0 additions & 7 deletions Todo.Web/Client/Todo.Web.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" PrivateAssets="all" />
Expand Down
1 change: 0 additions & 1 deletion Todo.Web/Server/Todo.Web.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ContainerImageName>todo-web-server</ContainerImageName>
<ContainerImageTag>latest</ContainerImageTag>
<UserSecretsId>c3677e8f-17d8-492d-8844-36ade85166e5</UserSecretsId>
Expand Down
4 changes: 0 additions & 4 deletions Todo.Web/Shared/Todo.Web.Shared.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>
Expand Down
5 changes: 0 additions & 5 deletions TodoApi.Tests/TodoApi.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" />
Expand Down
1 change: 0 additions & 1 deletion TodoApi/TodoApi.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<UserSecretsId>e616b306-8ad0-4843-a0e0-79b3b5655c22</UserSecretsId>
<ContainerImageName>todo-api</ContainerImageName>
<ContainerImageTag>latest</ContainerImageTag>
Expand Down

0 comments on commit 66be84a

Please sign in to comment.