BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

Need help with WithCustomBuildConfiguration

Open silvennoinen opened this issue 3 years ago • 2 comments

I am trying benchmark the difference between two different versions(x86 and x64) of the same library. I have tried to do it with the WithCustomBuildConfiguration like explained here.. I have two different configurations that do work when I manually change the Configuration depending on which Version I want to use. The Host process is currently x64 and if I try to only benchmark the x64 version it does work. But If I add the x86 Version while keeping the original Configuration I get the error : MSB4803 "ResolveComReference". Any help would be greatly appreciated

silvennoinen avatar Nov 25 '21 16:11 silvennoinen

Hi @silvennoinen

Are you sing .NET Framework or .NET Core?

adamsitnik avatar Nov 25 '21 16:11 adamsitnik

@adamsitnik Well the solution is a .NET Core application but the default target is .NET Framework and in the ManualConfig for this case it is also specified to use .NET Framework

silvennoinen avatar Nov 25 '21 19:11 silvennoinen