Skip to content

Commit

Permalink
Release 0.26.2 (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
belav authored Nov 16, 2023
1 parent 90bfc5b commit d01362a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
29 changes: 28 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
# 0.26.1
# 0.26.2
## What's Changed
#### CSharpier.MsBuild does not support DotNet 8 [#1012](https://github.com/belav/csharpier/issues/1012)
When using CSharpier.MsBuild in a setting where the project targeted net8.0 and only the net8 sdk was installed, CSharpier.MsBuild would attempt to run the net7.0 version of csharpier which failed.

Thanks go to @aditnryn for the fix
#### Global System using directives should be sorted first [#1003](https://github.com/belav/csharpier/issues/1003)
Global using were not sorting `System` to the top, which was inconsistent with regular using.

```c#
// 0.26.1
global using ZWord;
global using AWord;
global using System.Web;
global using System;

// 0.26.2
global using System;
global using System.Web;
global using AWord;
global using ZWord;
```

Thanks go to @vipentti for the fix

**Full Changelog**: https://github.com/belav/csharpier/compare/0.26.1...0.26.2
# 0.26.1
## What's Changed
#### Editorconfig with duplicated sections was freezing IDE's [#989](https://github.com/belav/csharpier/issues/989)
CSharpier was unable to parse an `.editorconfig` file that contained duplicate sections and would crash. This would result in a hung IDE.
Expand Down Expand Up @@ -1469,3 +1495,4 @@ Thanks go to @pingzing
2 changes: 1 addition & 1 deletion Nuget/Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>0.26.1</Version>
<Version>0.26.2</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/belav/csharpier</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
2 changes: 1 addition & 1 deletion Src/Website/docs/MsBuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Valid options are:
- Debug

### Target Frameworks
CSharpier.MSBuild will be run with net6.0 or net7.0 if the project targets one of the two frameworks. In cases where the project targets something else (net48, netstandard2.0) `CSharpier_FrameworkVersion` will default to net7.0
CSharpier.MSBuild will be run with net6.0, net7.0 or net8.0 if the project targets one of the three frameworks. In cases where the project targets something else (net48, netstandard2.0) `CSharpier_FrameworkVersion` will default to net7.0
This can be controlled with the following property. This property is required if the csproj is targeting < net6.0 (netstandard2.0, net48, etc) and net7.0 is not installed.
```xml
<PropertyGroup>
Expand Down

0 comments on commit d01362a

Please sign in to comment.