Skip to content

Commit

Permalink
Remove support net7.0-windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Jan 20, 2024
1 parent b179ec3 commit c6f3396
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.6.2] / 2024-01-09
## [0.6.2] / 2024-01-09 - 2024-01-20
### Features
- `SetListImageSize` to change the size of the image in the `PulldownButton` and `SplitButton`.
### Removed
- Remove support `net7.0-windows`.
### Tests
- Add Test to `SetListImageSize` in `PulldownButton`.

Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>0.6.2-alpha</Version>
<Version>0.6.2-beta</Version>
</PropertyGroup>
</Project>
11 changes: 9 additions & 2 deletions ricaun.Revit.UI.Example/ricaun.Revit.UI.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<!-- RevitVersion -->
<PropertyGroup>
<TargetFrameworks>net46;net7.0-windows</TargetFrameworks>
<TargetFrameworks>net46;net8.0-windows</TargetFrameworks>
</PropertyGroup>
<Choose>
<When Condition="$(TargetFramework.StartsWith('net4'))">
Expand All @@ -28,10 +28,17 @@
</Otherwise>
</Choose>

<ItemGroup Condition="$(TargetFramework.StartsWith('net7'))">
<ItemGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<PackageReference Include="System.Drawing.Common" Version="7.*" IncludeAssets="build; compile" PrivateAssets="All" />
</ItemGroup>

<!-- Net Core -->
<PropertyGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<EnableDynamicLoading>true</EnableDynamicLoading>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<GenerateDependencyFile>false</GenerateDependencyFile>
</PropertyGroup>

<!-- Release -->
<PropertyGroup Condition="!$(Configuration.Contains('Debug'))">
<Optimize>true</Optimize>
Expand Down
7 changes: 5 additions & 2 deletions ricaun.Revit.UI.Tests/ricaun.Revit.UI.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@

<!-- RevitVersion -->
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<TargetFrameworks>net48;net7.0-windows</TargetFrameworks>
<TargetFrameworks>net48;net8.0-windows</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="!$(Configuration.Contains('Debug'))">
<TargetFrameworks>net48</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.StartsWith('net7'))">

<!-- Net Core -->
<PropertyGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<EnableDynamicLoading>true</EnableDynamicLoading>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<GenerateDependencyFile>false</GenerateDependencyFile>
</PropertyGroup>

<Choose>
<When Condition="$(TargetFramework.StartsWith('net4'))">
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion ricaun.Revit.UI/ricaun.Revit.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<!-- RevitVersion -->
<PropertyGroup>
<TargetFrameworks>net46;net7.0-windows;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net46;net8.0-windows</TargetFrameworks>
</PropertyGroup>
<Choose>
<When Condition="$(TargetFramework.StartsWith('net4'))">
Expand Down

0 comments on commit c6f3396

Please sign in to comment.