Skip to content

Commit

Permalink
Net 7 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpmorris authored Jan 2, 2023
1 parent b004744 commit 8163d20
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
4 changes: 4 additions & 0 deletions Docs/Releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

## Releases

### New in 2.0
- Add support for .NET 7
- Remove support for .NET frameworks no longer supported by Microsoft

### New in 1.1.0
- `ForEachWithIndex`

Expand Down
4 changes: 2 additions & 2 deletions Source/Lib/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<LangVersion>10</LangVersion>
<Version>1.1.0</Version>
<Version>2.0.0</Version>

<Authors>Peter Morris</Authors>
<Company />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,20 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\..\..\Images\control-flow-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\..\Images\control-flow-logo.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>


<ItemGroup>
<PackageReference Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.Web" Version="6.0.0" />
<PackageReference Condition="'$(TargetFramework)' == 'net5.0'" Include="Microsoft.AspNetCore.Components.Web" Version="5.0.0" />
<PackageReference Condition="'$(TargetFramework)' != 'net6.0' AND '$(TargetFramework)' != 'net5.0'" Include="Microsoft.AspNetCore.Components.Web" Version="3.1.0" />
<PackageReference Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.Web" Version="7.0.0" />
</ItemGroup>

</Project>
6 changes: 6 additions & 0 deletions Source/Morris.Blazor.ControlFlow.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{CE4D64CF-C
..\Docs\Releases.md = ..\Docs\Releases.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lib", "Lib", "{33158399-9AA3-49EE-988C-10FCA83F5B85}"
ProjectSection(SolutionItems) = preProject
Lib\Directory.Build.props = Lib\Directory.Build.props
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -46,6 +51,7 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{5B499DA3-0DB1-48A5-B8E5-3E0B04F53EB7} = {33158399-9AA3-49EE-988C-10FCA83F5B85}
{E438D699-B285-4F8A-8087-095765599DFA} = {77B146CD-F531-47CE-A163-2CB4136B2BA9}
{06B9F71D-5203-4CDD-90A5-627BACFADA75} = {77B146CD-F531-47CE-A163-2CB4136B2BA9}
EndGlobalSection
Expand Down
2 changes: 1 addition & 1 deletion Source/Tutorials/ForEachExample/ForEachExample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

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

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/Tutorials/IfThenElseSample/IfThenElseSample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down

0 comments on commit 8163d20

Please sign in to comment.