Skip to content

Commit

Permalink
Remove net8.o TFM
Browse files Browse the repository at this point in the history
Update to latest SDKs and packages
  • Loading branch information
vnbaaij committed Oct 30, 2023
1 parent 6bf40cd commit ef4066d
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 49 deletions.
15 changes: 4 additions & 11 deletions examples/Demo/Client/FluentUI.Demo.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
<PropertyGroup>
<!-- Uncomment below line if you want to target all mentioned frameworks -->
<!-- Targeting just one framework will speed up build time -->
<!--<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>-->
<!--<TargetFrameworks>net6.0;net7.0</TargetFrameworks>-->
<!-- Comment below line if you enable line above -->
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- We can't trim here because we want ALL icons and emjoi available and searchable -->
<PublishTrimmed>false</PublishTrimmed>
<!-- Set False to avoid ConvertDllsToWebCil error -->
<WasmEnableWebcil>false</WasmEnableWebcil>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
Expand All @@ -20,13 +18,8 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.12" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.12" PrivateAssets="all" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0-rc.2.*" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0-rc.2.*" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.13" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.13" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion examples/Demo/DocGenerator/FluentUI.Demo.Generators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
4 changes: 2 additions & 2 deletions examples/Demo/Server/FluentUI.Demo.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<PropertyGroup>
<!-- Uncomment below line if you want to target all mentioned frameworks -->
<!-- Targeting just one framework will speed up build time -->
<!--<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>-->
<!--<TargetFrameworks>net6.0;net7.0</TargetFrameworks>-->
<!-- Comment below line if you enable line above -->
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
14 changes: 5 additions & 9 deletions examples/Demo/Shared/FluentUI.Demo.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<PropertyGroup>
<!-- Uncomment below line if you want to target all mentioned frameworks -->
<!-- Targeting just one framework will speed up build time -->
<!--<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>-->
<!--<TargetFrameworks>net6.0;net7.0</TargetFrameworks>-->
<!-- Comment below line if you enable line above -->
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
Expand Down Expand Up @@ -37,19 +37,15 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.12" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0-rc.2.*" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.13" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\src\Core\Microsoft.Fast.Components.FluentUI.csproj" />
<ProjectReference Include="..\DocGenerator\FluentUI.Demo.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<PackageReference Include="Markdig" Version="0.31.0" />
<PackageReference Include="Markdig" Version="0.33.0" />
<PackageReference Include="Microsoft.Fast.Components.FluentUI.Emojis" Version="3.*-*" />
<PackageReference Include="Microsoft.Fast.Components.FluentUI.Icons" version="3.0.1" />
<PackageReference Include="Microsoft.Fast.Components.FluentUI.Icons" version="3.2.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<TrimmerRootAssembly Include="Microsoft.Fast.Components.FluentUI" />
</ItemGroup>
Expand Down
12 changes: 2 additions & 10 deletions src/Core/Microsoft.Fast.Components.FluentUI.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<PackageId>Microsoft.Fast.Components.FluentUI</PackageId>

<Summary>A set of Blazor components wrapping Microsoft’s official Fluent UI Web Components. They implement the latest state of the Fluent design language, are built on FAST and work in every major browser.</Summary>
Expand Down Expand Up @@ -63,21 +63,13 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net7.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.12" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.13" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0-rc.2.*" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0-rc.2.*" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0-rc.2.*" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0-rc.2.*" />
<PackageReference Include="System.Text.Json" Version="8.0.0-rc.2.*" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<PackageId>Microsoft.Fast.Components.FluentUI.DataGrid.EntityFrameworkAdapter</PackageId>
<Authors>Microsoft</Authors>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
Expand Down Expand Up @@ -35,11 +35,7 @@
</ItemGroup>

<ItemGroup Condition="$(TargetFramework)=='net7.0' ">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.12" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework)=='net8.0' ">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0-rc.2.*" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
6 changes: 3 additions & 3 deletions src/Templates/Microsoft.Fast.Templates.FluentUI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>Microsoft</Authors>
<ContentTargetFolders>Content</ContentTargetFolders>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
Expand All @@ -12,10 +12,10 @@
<PackageId>Microsoft.Fast.Templates.FluentUI</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/microsoft/fluentui-blazor</PackageProjectUrl>
<PackageTags>templates;fast;fast-blazor;blazor;fluentui;web-assembly</PackageTags>
<PackageTags>templates;blazor;fluentui;web-components;web-assembly</PackageTags>
<PackageType>Template</PackageType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Title>Microsoft FAST Fluent UI Blazor Templates</Title>
<Title>Microsoft Fluent UI Blazor Templates</Title>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
Expand Down
12 changes: 6 additions & 6 deletions tests/Core/Microsoft.Fast.Components.FluentUI.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="bunit" Version="1.20.8" />
<PackageReference Include="FluentAssertions" Version="6.11.0" />
<PackageReference Include="bunit" Version="1.24.10" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.2.0">
<PackageReference Include="coverlet.msbuild" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit ef4066d

Please sign in to comment.