diff --git a/dotnet/.config/dotnet-tools.json b/dotnet/.config/dotnet-tools.json
index 11dc1b0fabaa3..47a60795717e2 100644
--- a/dotnet/.config/dotnet-tools.json
+++ b/dotnet/.config/dotnet-tools.json
@@ -8,13 +8,6 @@
"paket"
],
"rollForward": false
- },
- "aver": {
- "version": "1.0.2",
- "commands": [
- "aver"
- ],
- "rollForward": false
}
}
-}
\ No newline at end of file
+}
diff --git a/dotnet/.paket/Paket.Restore.targets b/dotnet/.paket/Paket.Restore.targets
new file mode 100644
index 0000000000000..8f48b933eb937
--- /dev/null
+++ b/dotnet/.paket/Paket.Restore.targets
@@ -0,0 +1,574 @@
+
+
+
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+ $(MSBuildVersion)
+ 15.0.0
+ false
+ true
+
+ true
+ $(MSBuildThisFileDirectory)
+ $(MSBuildThisFileDirectory)..\
+ $(PaketRootPath)paket-files\paket.restore.cached
+ $(PaketRootPath)paket.lock
+ classic
+ proj
+ assembly
+ native
+ /Library/Frameworks/Mono.framework/Commands/mono
+ mono
+
+
+ $(PaketRootPath)paket.bootstrapper.exe
+ $(PaketToolsPath)paket.bootstrapper.exe
+ $([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\
+
+ "$(PaketBootStrapperExePath)"
+ $(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)"
+
+
+
+
+ true
+ true
+
+
+ True
+
+
+ False
+
+ $(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/'))
+
+
+
+
+
+
+
+
+ $(PaketRootPath)paket
+ $(PaketToolsPath)paket
+
+
+
+
+
+ $(PaketRootPath)paket.exe
+ $(PaketToolsPath)paket.exe
+
+
+
+
+
+ <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json"))
+ <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"'))
+ <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false
+
+
+
+
+
+
+
+
+
+
+ <_PaketCommand>dotnet paket
+
+
+
+
+
+ $(PaketToolsPath)paket
+ $(PaketBootStrapperExeDir)paket
+
+
+ paket
+
+
+
+
+ <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)"))
+ <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)"
+ <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"
+ <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ $(NoWarn);NU1603;NU1604;NU1605;NU1608
+ false
+ true
+
+
+
+
+
+
+
+
+ $([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)'))
+
+
+
+
+
+
+ $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``))
+ $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``))
+
+
+
+
+ %(PaketRestoreCachedKeyValue.Value)
+ %(PaketRestoreCachedKeyValue.Value)
+
+
+
+
+ true
+ false
+ true
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(PaketIntermediateOutputPath)\$(MSBuildProjectFile).paket.references.cached
+
+ $(MSBuildProjectFullPath).paket.references
+
+ $(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references
+
+ $(MSBuildProjectDirectory)\paket.references
+
+ false
+ true
+ true
+ references-file-or-cache-not-found
+
+
+
+
+ $([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)'))
+ $([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)'))
+ references-file
+ false
+
+
+
+
+ false
+
+
+
+
+ true
+ target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths)
+
+
+
+
+
+
+
+
+
+
+ false
+ true
+
+
+
+
+
+
+
+
+
+
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length)
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[2])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[6])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[7])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[8])
+ $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[9])
+
+
+ %(PaketReferencesFileLinesInfo.PackageVersion)
+ All
+ runtime
+ $(ExcludeAssets);contentFiles
+ $(ExcludeAssets);build;buildMultitargeting;buildTransitive
+ %(PaketReferencesFileLinesInfo.Aliases)
+ true
+ true
+
+
+ %(PaketReferencesFileLinesInfo.PackageVersion)
+
+
+
+
+ $(PaketIntermediateOutputPath)/$(MSBuildProjectFile).paket.clitools
+
+
+
+
+
+
+
+
+ $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0])
+ $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1])
+
+
+ %(PaketCliToolFileLinesInfo.PackageVersion)
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+ <_NuspecFilesNewLocation Include="$(PaketIntermediateOutputPath)\$(Configuration)\*.nuspec"/>
+
+
+
+
+
+ $(MSBuildProjectDirectory)/$(MSBuildProjectFile)
+ true
+ false
+ true
+ false
+ true
+ false
+ true
+ false
+ true
+ false
+ true
+ $(PaketIntermediateOutputPath)\$(Configuration)
+ $(PaketIntermediateOutputPath)
+
+
+
+ <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.$(PackageVersion.Split(`+`)[0]).nuspec"/>
+
+
+
+
+
+
+
+ <_DefinedConditionProperties Include="@(_ConditionProperties)" Condition="$(%(Identity)) == 'true'"/>
+
+
+ <_ConditionsParameter>
+ <_ConditionsParameter Condition="@(_DefinedConditionProperties) != ''">--conditions @(_DefinedConditionProperties)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dotnet/Directory.Build.props b/dotnet/Directory.Build.props
new file mode 100644
index 0000000000000..c8228d9c8396c
--- /dev/null
+++ b/dotnet/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+ $(NoWarn);NU1510
+
+
diff --git a/dotnet/paket.dependencies b/dotnet/paket.dependencies
index b352fafbf3351..71ed15c5e7741 100644
--- a/dotnet/paket.dependencies
+++ b/dotnet/paket.dependencies
@@ -1,9 +1,10 @@
group nuget
-framework: net462,net8.0,netstandard2.0
+framework: net462,net8.0,net10.0,netstandard2.0
strategy: min
source https://api.nuget.org/v3/index.json
nuget BenderProxy 1.1.2
+nuget Microsoft.Bcl.AsyncInterfaces 8.0.0
nuget CommandLineParser 2.8.0
nuget Handlebars.Net 1.11.5
nuget Humanizer.Core 2.8.26
diff --git a/dotnet/paket.lock b/dotnet/paket.lock
index 0c266e8f10c5e..340487080b23c 100644
--- a/dotnet/paket.lock
+++ b/dotnet/paket.lock
@@ -2,99 +2,99 @@
GROUP nuget
STRATEGY: MIN
-RESTRICTION: || (== net462) (== net8.0) (== netstandard2.0)
+RESTRICTION: || (== net10.0) (== net462) (== net8.0) (== netstandard2.0)
NUGET
remote: https://api.nuget.org/v3/index.json
BenderProxy (1.1.2)
Castle.Core (5.1.1)
- System.Diagnostics.EventLog (>= 4.7) - restriction: || (&& (== net462) (== net8.0)) (&& (== net462) (>= netstandard2.1)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
- System.Diagnostics.EventLog (>= 6.0) - restriction: || (&& (== net462) (>= net6.0)) (== net8.0) (&& (== netstandard2.0) (>= net6.0))
- System.Reflection.Emit (>= 4.7) - restriction: || (&& (== net462) (== net8.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ System.Diagnostics.EventLog (>= 4.7) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< netstandard2.1)) (&& (== net462) (== net8.0)) (&& (== net462) (>= netstandard2.1)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ System.Diagnostics.EventLog (>= 6.0) - restriction: || (== net10.0) (&& (== net462) (>= net6.0)) (== net8.0) (&& (== netstandard2.0) (>= net6.0))
+ System.Reflection.Emit (>= 4.7) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< netstandard2.1)) (&& (== net462) (== net8.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
CommandLineParser (2.8)
Handlebars.Net (1.11.5)
- Microsoft.CSharp (>= 4.4) - restriction: || (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- System.Reflection.TypeExtensions (>= 4.4) - restriction: || (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.CSharp (>= 4.4) - restriction: || (== net10.0) (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ System.Reflection.TypeExtensions (>= 4.4) - restriction: || (== net10.0) (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
Humanizer.Core (2.8.26)
- NETStandard.Library (>= 1.6.1) - restriction: || (== net462) (&& (== net8.0) (< netstandard2.0))
- Microsoft.ApplicationInsights (2.23) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ NETStandard.Library (>= 1.6.1) - restriction: || (&& (== net10.0) (< netstandard2.0)) (== net462) (&& (== net8.0) (< netstandard2.0))
+ Microsoft.ApplicationInsights (2.23) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
System.Diagnostics.DiagnosticSource (>= 5.0)
- Microsoft.Bcl.AsyncInterfaces (8.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
- Microsoft.CSharp (4.4) - restriction: || (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Bcl.AsyncInterfaces (8.0)
+ System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< netstandard2.1)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ Microsoft.CSharp (4.4) - restriction: || (== net10.0) (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
Microsoft.Extensions.DependencyInjection (3.1.9)
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.1) - restriction: || (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ Microsoft.Bcl.AsyncInterfaces (>= 1.1.1) - restriction: || (&& (== net10.0) (>= net461)) (&& (== net10.0) (< netstandard2.1)) (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.9)
Microsoft.Extensions.DependencyInjection.Abstractions (3.1.9)
- Microsoft.Extensions.DependencyModel (8.0.2) - restriction: || (&& (== net462) (>= net8.0)) (== net8.0) (&& (== netstandard2.0) (>= net8.0))
+ Microsoft.Extensions.DependencyModel (8.0.2) - restriction: || (== net10.0) (&& (== net462) (>= net8.0)) (== net8.0) (&& (== netstandard2.0) (>= net8.0))
Microsoft.NETCore.Platforms (1.1)
- Microsoft.Testing.Extensions.Telemetry (2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.ApplicationInsights (>= 2.23) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.Testing.Platform (>= 2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- System.Diagnostics.DiagnosticSource (>= 6.0) - restriction: || (&& (== net462) (== net8.0)) (&& (== net462) (>= netstandard2.0)) (== netstandard2.0)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.Testing.Platform (>= 2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Extensions.Telemetry (2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.ApplicationInsights (>= 2.23) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Platform (>= 2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ System.Diagnostics.DiagnosticSource (>= 6.0) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< net8.0)) (&& (== net462) (== net8.0)) (&& (== net462) (>= netstandard2.0)) (== netstandard2.0)
+ Microsoft.Testing.Extensions.TrxReport.Abstractions (2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Platform (>= 2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
Microsoft.Testing.Extensions.VSTestBridge (2.1)
- Microsoft.Testing.Extensions.Telemetry (>= 2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.Testing.Platform (>= 2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.TestPlatform.ObjectModel (>= 18.0.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Extensions.Telemetry (>= 2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Extensions.TrxReport.Abstractions (>= 2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Platform (>= 2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.TestPlatform.ObjectModel (>= 18.0.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
Microsoft.Testing.Platform (2.1)
- Microsoft.Testing.Platform.MSBuild (2.1) - restriction: || (== net462) (== net8.0) (&& (== netstandard2.0) (>= net462)) (&& (== netstandard2.0) (>= net8.0))
- Microsoft.Testing.Platform (>= 2.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- Microsoft.TestPlatform.ObjectModel (18.0.1) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.Testing.Platform.MSBuild (2.1) - restriction: || (== net10.0) (== net462) (== net8.0) (&& (== netstandard2.0) (>= net462)) (&& (== netstandard2.0) (>= net8.0))
+ Microsoft.Testing.Platform (>= 2.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ Microsoft.TestPlatform.ObjectModel (18.0.1) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
System.Reflection.Metadata (>= 8.0)
Moq (4.20.72)
Castle.Core (>= 5.1.1)
- System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< netstandard2.1)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
NETStandard.Library (2.0.3)
Microsoft.NETCore.Platforms (>= 1.1)
NUnit (4.6)
- System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
- System.ValueTuple (>= 4.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
+ System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net10.0) (>= net462)) (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
+ System.ValueTuple (>= 4.4) - restriction: || (&& (== net10.0) (>= net462)) (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
NUnit.Analyzers (4.13)
NUnit3TestAdapter (6.2)
- Microsoft.Extensions.DependencyModel (>= 8.0.2) - restriction: || (&& (== net462) (>= net8.0)) (== net8.0) (&& (== netstandard2.0) (>= net8.0))
- Microsoft.Testing.Extensions.VSTestBridge (>= 2.1) - restriction: || (== net462) (== net8.0) (&& (== netstandard2.0) (>= net462)) (&& (== netstandard2.0) (>= net8.0))
- Microsoft.Testing.Platform.MSBuild (>= 2.1) - restriction: || (== net462) (== net8.0) (&& (== netstandard2.0) (>= net462)) (&& (== netstandard2.0) (>= net8.0))
+ Microsoft.Extensions.DependencyModel (>= 8.0.2) - restriction: || (== net10.0) (&& (== net462) (>= net8.0)) (== net8.0) (&& (== netstandard2.0) (>= net8.0))
+ Microsoft.Testing.Extensions.VSTestBridge (>= 2.1) - restriction: || (== net10.0) (== net462) (== net8.0) (&& (== netstandard2.0) (>= net462)) (&& (== netstandard2.0) (>= net8.0))
+ Microsoft.Testing.Platform.MSBuild (>= 2.1) - restriction: || (== net10.0) (== net462) (== net8.0) (&& (== netstandard2.0) (>= net462)) (&& (== netstandard2.0) (>= net8.0))
Runfiles (0.14)
- System.Buffers (4.5.1) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Collections.Immutable (8.0) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- System.Memory (>= 4.5.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
- System.Diagnostics.DiagnosticSource (6.0) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- System.Memory (>= 4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< net5.0)) (== netstandard2.0)
+ System.Buffers (4.5.1) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Collections.Immutable (8.0)
+ System.Memory (>= 4.5.5) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< net7.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
+ System.Diagnostics.DiagnosticSource (6.0) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ System.Memory (>= 4.5.4) - restriction: || (&& (== net10.0) (>= net461)) (&& (== net10.0) (< net5.0)) (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< net5.0)) (== netstandard2.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
- System.Diagnostics.EventLog (6.0) - restriction: || (&& (== net462) (>= netstandard2.1)) (== net8.0) (== netstandard2.0)
- System.Security.Principal.Windows (>= 5.0) - restriction: || (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
- System.Memory (4.5.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Buffers (>= 4.5.1) - restriction: || (== net462) (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
- System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net462) (== net8.0)) (&& (== net462) (< net45) (>= netstandard2.0)) (&& (== net8.0) (< netcoreapp2.0)) (== netstandard2.0)
- System.Numerics.Vectors (>= 4.5) - restriction: || (== net462) (&& (== net8.0) (>= net461)) (&& (== netstandard2.0) (>= net461))
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (== net462) (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
- System.Numerics.Vectors (4.5) - restriction: || (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netcoreapp2.0)) (== netstandard2.0)
- System.Reflection.Emit (4.7) - restriction: || (&& (== net462) (== net8.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
- System.Reflection.Emit.ILGeneration (>= 4.7) - restriction: || (&& (== net462) (== net8.0)) (&& (== net462) (< net45)) (&& (== net462) (< netstandard1.1)) (&& (== net462) (>= uap10.1)) (&& (== net462) (>= wpa81)) (&& (== net8.0) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (== netstandard2.0)
- System.Reflection.Emit.ILGeneration (4.7) - restriction: || (&& (== net462) (== net8.0)) (&& (== net8.0) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (== netstandard2.0)
- System.Reflection.Metadata (8.0) - restriction: || (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ System.Diagnostics.EventLog (6.0) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.1)) (== net8.0) (== netstandard2.0)
+ System.Security.Principal.Windows (>= 5.0) - restriction: || (&& (== net10.0) (>= net461)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< netcoreapp3.1)) (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
+ System.Memory (4.5.5) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Buffers (>= 4.5.1) - restriction: || (&& (== net10.0) (>= monotouch)) (&& (== net10.0) (>= net461)) (&& (== net10.0) (< netcoreapp2.0)) (&& (== net10.0) (< netstandard1.1)) (&& (== net10.0) (< netstandard2.0)) (&& (== net10.0) (>= xamarinios)) (&& (== net10.0) (>= xamarinmac)) (&& (== net10.0) (>= xamarintvos)) (&& (== net10.0) (>= xamarinwatchos)) (== net462) (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
+ System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< netcoreapp2.0)) (&& (== net462) (== net8.0)) (&& (== net462) (< net45) (>= netstandard2.0)) (&& (== net8.0) (< netcoreapp2.0)) (== netstandard2.0)
+ System.Numerics.Vectors (>= 4.5) - restriction: || (&& (== net10.0) (>= net461)) (== net462) (&& (== net8.0) (>= net461)) (&& (== netstandard2.0) (>= net461))
+ System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net10.0) (>= monotouch)) (&& (== net10.0) (>= net461)) (&& (== net10.0) (< netcoreapp2.0)) (&& (== net10.0) (< netcoreapp2.1)) (&& (== net10.0) (< netstandard1.1)) (&& (== net10.0) (< netstandard2.0)) (&& (== net10.0) (>= uap10.1)) (&& (== net10.0) (>= xamarinios)) (&& (== net10.0) (>= xamarinmac)) (&& (== net10.0) (>= xamarintvos)) (&& (== net10.0) (>= xamarinwatchos)) (== net462) (&& (== net8.0) (>= monotouch)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.0)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (&& (== net8.0) (>= xamarinios)) (&& (== net8.0) (>= xamarinmac)) (&& (== net8.0) (>= xamarintvos)) (&& (== net8.0) (>= xamarinwatchos)) (== netstandard2.0)
+ System.Numerics.Vectors (4.5) - restriction: || (&& (== net10.0) (>= net461)) (&& (== net10.0) (>= net462)) (&& (== net10.0) (< netcoreapp2.0)) (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netcoreapp2.0)) (== netstandard2.0)
+ System.Reflection.Emit (4.7) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< netstandard2.1)) (&& (== net462) (== net8.0)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ System.Reflection.Emit.ILGeneration (>= 4.7) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net10.0) (< netstandard1.1)) (&& (== net10.0) (< netstandard2.0)) (&& (== net10.0) (>= uap10.1)) (&& (== net462) (== net8.0)) (&& (== net462) (< net45)) (&& (== net462) (< netstandard1.1)) (&& (== net462) (>= uap10.1)) (&& (== net462) (>= wpa81)) (&& (== net8.0) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (== netstandard2.0)
+ System.Reflection.Emit.ILGeneration (4.7) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net10.0) (< netstandard1.1)) (&& (== net10.0) (< netstandard2.0)) (&& (== net10.0) (>= uap10.1)) (&& (== net462) (== net8.0)) (&& (== net8.0) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net8.0) (< netstandard1.1)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= uap10.1)) (== netstandard2.0)
+ System.Reflection.Metadata (8.0) - restriction: || (== net10.0) (&& (== net462) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
System.Collections.Immutable (>= 8.0)
- System.Memory (>= 4.5.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Reflection.TypeExtensions (4.4) - restriction: || (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
- System.Runtime.CompilerServices.Unsafe (6.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
- System.Security.Principal.Windows (5.0) - restriction: || (&& (== net462) (== net8.0)) (&& (== net462) (>= netcoreapp3.1)) (&& (== net462) (>= netstandard2.1)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
- System.Text.Encodings.Web (8.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
- System.Buffers (>= 4.5.1) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Memory (>= 4.5.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
+ System.Memory (>= 4.5.5) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Reflection.TypeExtensions (4.4) - restriction: || (== net10.0) (&& (== net462) (< net452) (>= netstandard2.0)) (== net8.0) (== netstandard2.0)
+ System.Runtime.CompilerServices.Unsafe (6.0) - restriction: || (&& (== net10.0) (>= net461)) (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< net7.0)) (&& (== net10.0) (< net8.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
+ System.Security.Principal.Windows (5.0) - restriction: || (&& (== net10.0) (== net462)) (&& (== net10.0) (>= net461)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< netcoreapp3.1)) (&& (== net462) (== net8.0)) (&& (== net462) (>= netcoreapp3.1)) (&& (== net462) (>= netstandard2.1)) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0)
+ System.Text.Encodings.Web (8.0) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< net7.0)) (&& (== net10.0) (< net8.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
+ System.Buffers (>= 4.5.1) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Memory (>= 4.5.5) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< net7.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
System.Text.Json (8.0.6)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Buffers (>= 4.5.1) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Memory (>= 4.5.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
- System.Text.Encodings.Web (>= 8.0) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
- System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.ValueTuple (>= 4.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
+ Microsoft.Bcl.AsyncInterfaces (>= 8.0) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Buffers (>= 4.5.1) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Memory (>= 4.5.5) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< net7.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
+ System.Text.Encodings.Web (>= 8.0) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (&& (== net10.0) (< net7.0)) (&& (== net10.0) (< net8.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (&& (== net8.0) (< net7.0)) (== netstandard2.0)
+ System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.ValueTuple (>= 4.5) - restriction: || (&& (== net10.0) (>= net462)) (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
System.Threading.Channels (8.0)
- System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
- System.Threading.Tasks.Extensions (4.5.4) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.0)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= wp8)) (== netstandard2.0)
- System.ValueTuple (4.5) - restriction: || (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
+ System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< netstandard2.1)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0)
+ System.Threading.Tasks.Extensions (4.5.4) - restriction: || (&& (== net10.0) (>= net462)) (&& (== net10.0) (< net6.0)) (== net462) (&& (== net8.0) (>= net462)) (&& (== net8.0) (< net6.0)) (== netstandard2.0)
+ System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net10.0) (>= net461)) (&& (== net10.0) (< netcoreapp2.1)) (&& (== net10.0) (< netstandard1.0)) (&& (== net10.0) (< netstandard2.0)) (&& (== net10.0) (>= wp8)) (== net462) (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.0)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= wp8)) (== netstandard2.0)
+ System.ValueTuple (4.5) - restriction: || (&& (== net10.0) (>= net462)) (== net462) (&& (== net8.0) (>= net462)) (&& (== netstandard2.0) (>= net462))
diff --git a/dotnet/private/dotnet_format.bzl b/dotnet/private/dotnet_format.bzl
index ebf0f0b954df5..be4ef9354b74e 100644
--- a/dotnet/private/dotnet_format.bzl
+++ b/dotnet/private/dotnet_format.bzl
@@ -49,24 +49,31 @@ DOTNET="$RUNFILES_DIR/{dotnet}"
# Find the workspace root
WORKSPACE_ROOT="${{BUILD_WORKSPACE_DIRECTORY:-$RUNFILES_DIR/_main}}"
DOTNET_DIR="$WORKSPACE_ROOT/dotnet"
-SOLUTION="$DOTNET_DIR/Selenium.slnx"
+SOLUTION="$DOTNET_DIR/{solution}"
+
+if [[ ! -f "$SOLUTION" ]]; then
+ echo "ERROR: Could not find $SOLUTION" >&2
+ exit 1
+fi
cd "$DOTNET_DIR"
# Bazel-bundled SDK ref packs lack prune metadata; opt out of NETSDK1226.
export AllowMissingPrunePackageData=true
-if [[ ! -f "$SOLUTION" ]]; then
- echo "ERROR: Could not find $SOLUTION" >&2
- exit 1
-fi
+echo "Restoring dotnet tools..."
+"$DOTNET" tool restore
-echo "Running dotnet format $@ on Selenium.slnx..."
-"$DOTNET" format "$@" "$SOLUTION" || exit 1
+echo "Restoring packages..."
+"$DOTNET" tool run paket restore
+
+echo "Running dotnet format $@ on {solution}..."
+"$DOTNET" format "$@" --no-restore "$SOLUTION"
echo "Done."
""".format(
dotnet = dotnet_runfiles_path,
+ solution = ctx.attr.solution,
)
script = ctx.actions.declare_file(ctx.label.name + ".sh")
@@ -93,24 +100,34 @@ if defined BUILD_WORKSPACE_DIRECTORY (
set WORKSPACE_ROOT=%RUNFILES_DIR%\\_main
)
set DOTNET_DIR=%WORKSPACE_ROOT%\\dotnet
-set SOLUTION=%DOTNET_DIR%\\Selenium.slnx
+set SOLUTION=%DOTNET_DIR%\\{solution}
+
+if not exist "%SOLUTION%" (
+ echo ERROR: Could not find %SOLUTION% 1>&2
+ exit /b 1
+)
cd /d "%DOTNET_DIR%"
rem Bazel-bundled SDK ref packs lack prune metadata; opt out of NETSDK1226.
set AllowMissingPrunePackageData=true
-if not exist "%SOLUTION%" (
- echo ERROR: Could not find %SOLUTION% 1>&2
- exit /b 1
-)
+echo Restoring dotnet tools...
+"%DOTNET%" tool restore
+if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
-echo Running dotnet format %* on Selenium.slnx...
-"%DOTNET%" format %* "%SOLUTION%" || exit /b 1
+echo Restoring packages...
+"%DOTNET%" tool run paket restore
+if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
+
+echo Running dotnet format %* on {solution}...
+"%DOTNET%" format %* --no-restore "%SOLUTION%"
+if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
echo Done.
""".format(
dotnet_path = dotnet_runfiles_path,
+ solution = ctx.attr.solution,
)
script = ctx.actions.declare_file(ctx.label.name + ".bat")
@@ -124,6 +141,10 @@ echo Done.
dotnet_format = rule(
implementation = _dotnet_format_impl,
attrs = {
+ "solution": attr.string(
+ doc = "Solution file to format, relative to the dotnet directory.",
+ default = "Selenium.slnx",
+ ),
"_windows_constraint": attr.label(
default = "@platforms//os:windows",
),
diff --git a/dotnet/src/support/Selenium.Support.csproj b/dotnet/src/support/Selenium.Support.csproj
index 1de52d3fcdf0c..8a864f7223140 100644
--- a/dotnet/src/support/Selenium.Support.csproj
+++ b/dotnet/src/support/Selenium.Support.csproj
@@ -49,4 +49,6 @@
+
+
diff --git a/dotnet/src/support/paket.references b/dotnet/src/support/paket.references
new file mode 100644
index 0000000000000..1c93003b67c66
--- /dev/null
+++ b/dotnet/src/support/paket.references
@@ -0,0 +1,2 @@
+group nuget
+
diff --git a/dotnet/src/webdriver/Selenium.WebDriver.csproj b/dotnet/src/webdriver/Selenium.WebDriver.csproj
index ea2f8a07a7997..4b2c9549c5816 100644
--- a/dotnet/src/webdriver/Selenium.WebDriver.csproj
+++ b/dotnet/src/webdriver/Selenium.WebDriver.csproj
@@ -53,13 +53,6 @@
true
-->
-
-
-
-
-
-
-
@@ -94,4 +87,6 @@
$(BaseIntermediateOutputPath)\Generated
+
+
diff --git a/dotnet/src/webdriver/paket.references b/dotnet/src/webdriver/paket.references
new file mode 100644
index 0000000000000..a57dd5b6185e3
--- /dev/null
+++ b/dotnet/src/webdriver/paket.references
@@ -0,0 +1,5 @@
+group nuget
+Microsoft.Bcl.AsyncInterfaces framework: net462, netstandard2.0
+System.Collections.Immutable framework: net462, netstandard2.0
+System.Text.Json framework: net462, netstandard2.0
+System.Threading.Channels framework: net462, netstandard2.0
diff --git a/dotnet/test/remote/Selenium.WebDriver.Remote.Tests.csproj b/dotnet/test/remote/Selenium.WebDriver.Remote.Tests.csproj
index fb2f13869bb42..84d9112e13123 100644
--- a/dotnet/test/remote/Selenium.WebDriver.Remote.Tests.csproj
+++ b/dotnet/test/remote/Selenium.WebDriver.Remote.Tests.csproj
@@ -10,12 +10,6 @@
true
-
-
-
-
-
-
@@ -26,4 +20,6 @@
+
+
diff --git a/dotnet/test/remote/paket.references b/dotnet/test/remote/paket.references
new file mode 100644
index 0000000000000..472314ef685c2
--- /dev/null
+++ b/dotnet/test/remote/paket.references
@@ -0,0 +1,4 @@
+group nuget
+NUnit
+NUnit.Analyzers
+NUnit3TestAdapter
diff --git a/dotnet/test/support/Selenium.Support.Tests.csproj b/dotnet/test/support/Selenium.Support.Tests.csproj
index d14b59dc33703..6bc4c0fb926b6 100644
--- a/dotnet/test/support/Selenium.Support.Tests.csproj
+++ b/dotnet/test/support/Selenium.Support.Tests.csproj
@@ -11,18 +11,12 @@
true
-
-
-
-
-
-
-
-
+
+
diff --git a/dotnet/test/support/paket.references b/dotnet/test/support/paket.references
new file mode 100644
index 0000000000000..1da0dc6354aca
--- /dev/null
+++ b/dotnet/test/support/paket.references
@@ -0,0 +1,6 @@
+group nuget
+Microsoft.Bcl.AsyncInterfaces
+Moq
+NUnit
+NUnit.Analyzers
+NUnit3TestAdapter
diff --git a/dotnet/test/webdriver/Selenium.WebDriver.Tests.csproj b/dotnet/test/webdriver/Selenium.WebDriver.Tests.csproj
index 4aaf8ec44207b..c056e633d84fc 100644
--- a/dotnet/test/webdriver/Selenium.WebDriver.Tests.csproj
+++ b/dotnet/test/webdriver/Selenium.WebDriver.Tests.csproj
@@ -11,15 +11,6 @@
true
-
-
-
-
-
-
-
-
-
@@ -35,4 +26,6 @@
+
+
diff --git a/dotnet/test/webdriver/paket.references b/dotnet/test/webdriver/paket.references
new file mode 100644
index 0000000000000..1fc8c9a488271
--- /dev/null
+++ b/dotnet/test/webdriver/paket.references
@@ -0,0 +1,7 @@
+group nuget
+BenderProxy
+Moq
+NUnit
+NUnit.Analyzers
+NUnit3TestAdapter
+Runfiles