-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
I added a nuget package.
<PackageReference Include="ProtoPromise" Version="2.5.4" />
Created a benchmark to return a type from that package.
[Benchmark] public CancelationToken CanceledToken() => CancelationToken.Canceled();
And the benchmark project build failed.
C:\Users\Tim\Documents\git\ProtoPromiseBenchmarks\bin\Release\net7.0\a07bed7c-cb6d-4d10-b849-74756c9d53ac\a07bed7c-cb6d-4d10-b849-74756c9d53ac.notcs(342,55): error CS0246: The type or namespace name 'Proto' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\Tim\Documents\git\ProtoPromiseBenchmarks\bin\Release\net7.0\a07bed7c-cb6d-4d10-b849-74756c9d53ac\BenchmarkDotNet.Autogenerated.csproj]
Is there any way to get it to work?
[Edit] Note: it works when I use the types in my benchmarks, but when I return a type, it breaks.
Metadata
Metadata
Assignees
Labels
No labels