diff --git a/nuget.config b/nuget.config
index 4f8aceec..19a741fb 100644
--- a/nuget.config
+++ b/nuget.config
@@ -2,9 +2,7 @@
-
-
diff --git a/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj b/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj
index ccadcf15..6e2d6959 100644
--- a/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj
+++ b/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj
@@ -18,8 +18,8 @@
-
-
+
+
diff --git a/samples/ComputeSharp.Benchmark/Program.cs b/samples/ComputeSharp.Benchmark/Program.cs
index b90ec8ec..0c321dcc 100644
--- a/samples/ComputeSharp.Benchmark/Program.cs
+++ b/samples/ComputeSharp.Benchmark/Program.cs
@@ -1,8 +1,4 @@
-using BenchmarkDotNet.Configs;
-using BenchmarkDotNet.Jobs;
-using BenchmarkDotNet.Running;
-using BenchmarkDotNet.Toolchains.CsProj;
-using BenchmarkDotNet.Toolchains.DotNetCli;
+using BenchmarkDotNet.Running;
namespace ComputeSharp.Benchmark
{
@@ -10,23 +6,13 @@ namespace ComputeSharp.Benchmark
{
public static void Main(string[] args)
{
- ManualConfig configuration =
- DefaultConfig.Instance.AddJob(
- Job.Default.WithToolchain(
- CsProjCoreToolchain.From(
- new NetCoreAppSettings(
- targetFrameworkMoniker: "net5.0-windows10.0.19041.0",
- runtimeFrameworkVersion: null,
- name: "5.0")))
- .AsDefault());
-
// =================
// BenchmarkDotNet
// ================
// In order to run this benchmark, compile this project in Release mode,
// then go to its bin\Release\netcoreapp3.0 folder, open a cmd prompt
// and type "dotnet ComputeSharp.Benchmark.dll" to execute it.
- BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, configuration);
+ BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
}
}
}
diff --git a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj
index 88210549..bdeeafa3 100644
--- a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj
+++ b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj
index 109a36c2..9c25bf58 100644
--- a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj
+++ b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj
@@ -48,7 +48,7 @@
-
+
diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj b/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj
index 36d9d5ca..07b70aa9 100644
--- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj
+++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj
@@ -7,10 +7,13 @@
-
-
-
-
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+