Skip to content

Commit

Permalink
Removed the dependency on NuGet.Frameworks due to some binding issues (
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed Dec 20, 2023
1 parent 751f5f7 commit 8e85a15
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 28 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 6.0.1

- Added the ability to specify an alternate working directory for running the build in the environment options (#233).
- Removed the dependency on NuGet.Frameworks due to some binding issues (#240).

# 6.0.0

Expand Down
2 changes: 1 addition & 1 deletion src/Buildalyzer.Workspaces/Buildalyzer.Workspaces.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<Description>A little utility to perform design-time builds of .NET projects without having to think too hard about it. This extension library adds support for creating a Roslyn workspace from Buildalyzer.</Description>
</PropertyGroup>

Expand Down
5 changes: 3 additions & 2 deletions src/Buildalyzer/AnalyzerResults.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -24,7 +25,7 @@ internal void Add(IEnumerable<IAnalyzerResult> results, bool overallSuccess)

public IAnalyzerResult this[string targetFramework] => _results[targetFramework];

public IEnumerable<string> TargetFrameworks => _results.Keys.OrderBy(e => e, TargetFrameworkComparer.Instance);
public IEnumerable<string> TargetFrameworks => _results.Keys.OrderBy(e => e, StringComparer.OrdinalIgnoreCase);

public IEnumerable<IAnalyzerResult> Results => TargetFrameworks.Select(e => _results[e]);

Expand Down
3 changes: 1 addition & 2 deletions src/Buildalyzer/Buildalyzer.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<Description>A little utility to perform design-time builds of .NET projects without having to think too hard about it. Should work with any project type on any .NET runtime.</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageReference Include="MsBuildPipeLogger.Server" Version="1.1.6" />
<PackageReference Include="NuGet.Frameworks" Version="6.7.0" />
<PackageReference Include="Microsoft.Build" Version="17.0.1" />
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="17.0.1" />
<PackageReference Include="MSBuild.StructuredLogger" Version="2.1.815" Aliases="StructuredLogger" />
Expand Down
23 changes: 0 additions & 23 deletions src/Buildalyzer/TargetFrameworkComparer.cs

This file was deleted.

0 comments on commit 8e85a15

Please sign in to comment.