Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
all:
name: Build & Tests
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.14.68
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.14.79
with:
enableSonarQube: true
dotnet-logging: ${{ inputs.dotnet-logging }}
Expand Down
2 changes: 0 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<Project>

<PropertyGroup>
<!-- Workaround, until https://github.com/GitTools/GitVersion/pull/4206 is released -->
<GitVersionTargetFramework>net8.0</GitVersionTargetFramework>
</PropertyGroup>

</Project>
14 changes: 10 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<ItemGroup>
<GlobalPackageReference Include="CSharpier.MSBuild" Version="0.30.6" />
<GlobalPackageReference Include="CSharpier.MSBuild" Version="1.0.1" />
<GlobalPackageReference Include="GitVersion.MsBuild" Version="6.1.0" />
<GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
<GlobalPackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<GlobalPackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.61" />
<GlobalPackageReference
Include="Microsoft.VisualStudio.Threading.Analyzers"
Version="17.13.61"
/>
<GlobalPackageReference Include="NetEvolve.Defaults" Version="1.3.74" />
<GlobalPackageReference Include="Roslynator.Analyzers" Version="4.13.1" />
<GlobalPackageReference Include="SonarAnalyzer.CSharp" Version="10.6.0.109712" Condition=" '$(BuildingInsideVisualStudio)' == 'true' " />
<GlobalPackageReference
Include="SonarAnalyzer.CSharp"
Version="10.6.0.109712"
Condition=" '$(BuildingInsideVisualStudio)' == 'true' "
/>
</ItemGroup>
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
Expand All @@ -22,7 +29,6 @@
<PackageVersion Include="Polyfill" Version="7.27.0" />
<PackageVersion Include="xunit" Version="2.9.3" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'netcoreapp3.1' ">
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
</ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
<config>
<!--<add key="defaultPushSource" value="https://contoso.com/packages/" />-->
</config>

<!-- Define the package sources, nuget.org and contoso.com. -->
<!-- `clear` ensures no additional sources are inherited from another config file. -->
<packageSources>
<clear />
<!-- `key` can be any identifier for your source. -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>

<!-- Define mappings by adding package patterns beneath the target source. -->
<!-- Contoso.* packages and NuGet.Common will be restored from contoso.com, everything else from nuget.org. -->
<packageSourceMapping>
Expand Down
9 changes: 0 additions & 9 deletions src/NetEvolve.Arguments/NetEvolve.Arguments.csproj
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net7.0;net8.0</TargetFrameworks>

<Description>A library that provides compatible `ThrowIf` methods for .NET / C# for older runtimes.</Description>

<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

<Title>$(MSBuildProjectName)</Title>
<PackageProjectUrl>https://github.com/dailydevops/arguments</PackageProjectUrl>
<RepositoryUrl>https://github.com/dailydevops/arguments.git</RepositoryUrl>
<PackageTags>guard;clausel;exceptions</PackageTags>

<PackageReleaseNotes>$(PackageProjectUrl)/releases/</PackageReleaseNotes>

<CopyrightYearStart>2023</CopyrightYearStart>

<!-- Remove, when Polyfill has fixed this. -->
<DisableBannedApiForPerformance>true</DisableBannedApiForPerformance>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Polyfill" Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>

<NoWarn>$(NoWarn);NU1701</NoWarn>

<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.msbuild" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
Expand All @@ -23,9 +19,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\NetEvolve.Arguments\NetEvolve.Arguments.csproj" />
</ItemGroup>

</Project>