Skip to content

Commit

Permalink
feat: update to .NWET 6.0.300
Browse files Browse the repository at this point in the history
  • Loading branch information
alsami committed May 17, 2022
1 parent e3ddbc1 commit 7a3826e
Show file tree
Hide file tree
Showing 21 changed files with 15 additions and 63 deletions.
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
<LangVersion>10.0</LangVersion>
<Nullable>Enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.33.0.40503">
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.39.0.47922">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.201",
"version": "6.0.300",
"rollForward": "latestFeature"
}
}
1 change: 0 additions & 1 deletion src/Covid19Api.AutoMapper/Covid19Api.AutoMapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<ItemGroup>
<PackageReference Include="AutoMapper" Version="11.0.1" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

Expand Down
5 changes: 0 additions & 5 deletions src/Covid19Api.Constants/Covid19Api.Constants.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,5 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
</ItemGroup>



</Project>
4 changes: 0 additions & 4 deletions src/Covid19Api.Domain/Covid19Api.Domain.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
</ItemGroup>



</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
<ProjectReference Include="..\Covid19Api.Presentation\Covid19Api.Presentation.csproj" />
<ProjectReference Include="..\Covid19Api.UseCases.Abstractions\Covid19Api.UseCases.Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
</ItemGroup>



</Project>
2 changes: 0 additions & 2 deletions src/Covid19Api.IoC/Covid19Api.IoC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<PackageReference Include="Serilog.Extensions.Hosting" Version="4.2.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="3.3.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions src/Covid19Api.Mongo/Covid19Api.Mongo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.15.0" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
<PackageReference Include="MongoDB.Driver" Version="2.15.1" />

</ItemGroup>

Expand Down
5 changes: 0 additions & 5 deletions src/Covid19Api.Presentation/Covid19Api.Presentation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
</ItemGroup>


</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@
<ItemGroup>
<ProjectReference Include="..\Covid19Api.Domain\Covid19Api.Domain.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
</ItemGroup>
</Project>
2 changes: 0 additions & 2 deletions src/Covid19Api.Repositories/Covid19Api.Repositories.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

<ItemGroup>
<PackageReference Include="HtmlAgilityPack" Version="1.11.42" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Covid19Api.Services/Covid19Api.Services.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

<ItemGroup>
<PackageReference Include="MediatR" Version="10.0.1" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Covid19Api.UseCases/Covid19Api.UseCases.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<PackageReference Include="AutoMapper" Version="11.0.1" />
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Covid19Api.Worker/Covid19Api.Worker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down
7 changes: 3 additions & 4 deletions src/Covid19Api/Covid19Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
<PackageReference Include="Serilog.Settings.Configuration" Version="3.3.0" />
<PackageReference Include="Serilog.Sinks.ApplicationInsights" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.3.0" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.3.0" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUi" Version="6.3.0" />
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
<PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.3.1" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.3.1" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUi" Version="6.3.1" />

</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />
</ItemGroup>

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

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.5.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="FluentAssertions" Version="6.6.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.5" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -23,8 +23,6 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.5.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="FluentAssertions" Version="6.6.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Update="SonarAnalyzer.CSharp" Version="8.37.0.45539" />

</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 7a3826e

Please sign in to comment.