Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET: build fails when referencing BenchmarkDotNet #12418

Closed
rolfbjarne opened this issue Aug 12, 2021 · 3 comments
Closed

.NET: build fails when referencing BenchmarkDotNet #12418

rolfbjarne opened this issue Aug 12, 2021 · 3 comments
Labels
bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release
Milestone

Comments

@rolfbjarne
Copy link
Member

Test case:

https://github.com/rolfbjarne/xamarin-macios/tree/dotnet-benchmarkdotnet-broken/tests/dotnet/SimpleAppWithOldReferences

Binlog:
msbuild.binlog.zip

/Users/rolf/work/maccore/osx-arm64/xamarin-macios/builds/downloads/dotnet-sdk-6.0.100-rc.1.21403.66-osx-x64/sdk/6.0.100-rc.1.21403.66/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.ConflictResolution.targets(112,5): error NETSDK1152: Found multiple publish output files with the same relative path: /Users/rolf/work/maccore/osx-arm64/xamarin-macios/tests/dotnet/packages/microsoft.diagnostics.tracing.traceevent/2.0.49/lib/native/x86/KernelTraceControl.dll, /Users/rolf/work/maccore/osx-arm64/xamarin-macios/tests/dotnet/packages/microsoft.diagnostics.tracing.traceevent/2.0.49/lib/native/amd64/KernelTraceControl.dll, /Users/rolf/work/maccore/osx-arm64/xamarin-macios/tests/dotnet/packages/microsoft.diagnostics.tracing.traceevent/2.0.49/lib/native/x86/msdia140.dll, /Users/rolf/work/maccore/osx-arm64/xamarin-macios/tests/dotnet/packages/microsoft.diagnostics.tracing.traceevent/2.0.49/lib/native/amd64/msdia140.dll. [/Users/rolf/work/maccore/osx-arm64/xamarin-macios/tests/dotnet/SimpleAppWithOldReferences/macOS/SimpleAppWithOldReferences.csproj]

@rolfbjarne rolfbjarne added bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release labels Aug 12, 2021
@rolfbjarne rolfbjarne added this to the .NET 6 milestone Aug 12, 2021
@filipnavara
Copy link
Contributor

The symptoms are pretty similar to #12386. I was also able to get this error for the same use case with newer SDK.

@filipnavara
Copy link
Contributor

With the fix from #12386 (comment) I was able to build your sample app successfully.

@rolfbjarne
Copy link
Member Author

I believe this to be the same as #12572 (which is a more general issue), so I'm closing this one in favor of that one.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug If an issue is a bug or a pull request a bug fix dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release
Projects
None yet
Development

No branches or pull requests

2 participants