Skip to content

Commit a2225b5

Browse files
committed
docs: bump project versions and references
1 parent a0955a0 commit a2225b5

7 files changed

Lines changed: 44 additions & 7 deletions

File tree

docs/samples/.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
tab_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = false
9+
10+
[*.md]
11+
trim_trailing_whitespace = false
12+
13+
[*.{cs,razor}]
14+
tab_size = 2
15+
indent_style = space
16+
dotnet_diagnostic.BL0001.severity = none
17+
dotnet_diagnostic.BL0002.severity = none
18+
dotnet_diagnostic.BL0003.severity = none
19+
dotnet_diagnostic.BL0004.severity = none
20+
dotnet_diagnostic.BL0005.severity = none
21+
dotnet_diagnostic.BL0006.severity = none

docs/samples/components/bunit.docs.samples.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net5.0;net6.0</TargetFrameworks>
55
<RazorLangVersion>3.0</RazorLangVersion>
66
<RootNamespace>Bunit.Docs.Samples</RootNamespace>
77
</PropertyGroup>
@@ -22,4 +22,12 @@
2222
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="5.0.0" />
2323
</ItemGroup>
2424

25+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
26+
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
27+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
28+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="6.0.0" />
29+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.0" />
30+
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="6.0.0" />
31+
</ItemGroup>
32+
2533
</Project>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
5-
<LangVersion>9.0</LangVersion>
5+
<LangVersion>10.0</LangVersion>
66
<RazorLangVersion>3.0</RazorLangVersion>
77
</PropertyGroup>
88
</Project>

docs/samples/tests/mstest/bunit.docs.mstest.samples.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
8+
<PackageReference Include="Moq" Version="4.16.1" />
9+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
10+
<PackageReference Include="NSubstitute" Version="4.2.2" />
911
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
1012
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
1113
<PackageReference Include="coverlet.collector" Version="1.2.0" />

docs/samples/tests/nunit/bunit.docs.nunit.samples.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<ItemGroup>
88
<PackageReference Include="nunit" Version="3.12.0" />
99
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0"/>
10+
<PackageReference Include="Moq" Version="4.16.1" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
12+
<PackageReference Include="NSubstitute" Version="4.2.2" />
1113
</ItemGroup>
1214

1315
<ItemGroup>

docs/samples/tests/razor/bunit.docs.razor.samples.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
<ItemGroup>
88
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
9-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
9+
<PackageReference Include="Moq" Version="4.16.1" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
11+
<PackageReference Include="NSubstitute" Version="4.2.2" />
1012
<PackageReference Include="xunit" Version="2.4.1" />
1113
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
1214
<PrivateAssets>all</PrivateAssets>

docs/samples/tests/xunit/bunit.docs.xunit.samples.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
<ItemGroup>
88
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
9-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
9+
<PackageReference Include="Moq" Version="4.16.1" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
11+
<PackageReference Include="NSubstitute" Version="4.2.2" />
1012
<PackageReference Include="xunit" Version="2.4.1" />
1113
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
1214
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)