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

BenchmarkDotNet does not copy needed assemblies to the run folder (again?) #2555

Closed
UbitUmarov opened this issue Apr 5, 2024 · 3 comments
Closed

Comments

@UbitUmarov
Copy link

UbitUmarov commented Apr 5, 2024

assemblies added on main project file like

 <ItemGroup>
   <Reference Include="OpenMetaverse">
     <HintPath>D:\opensimWork\libomv60\bin\OpenMetaverse.dll</HintPath>
   </Reference>
</ItemGroup>

do get copied to normal output folder, but then do not get copied to the temporary execution folder (with uuid name).
the form
<none... to copy files to outputs, referred here on older similar issues (#946 for example) also does not work

this was working a few weeks(months?) ago, can't tell if dotnet or BenchmarkDotnet change, but clear the temporary project file does need some fix to make sure this does work again (?)

( using last version of vs2022 on win11, and fails with dotnet6 7 8 or 9preview selected)

@timcassell
Copy link
Collaborator

timcassell commented Apr 5, 2024

Reference includes are not currently supported (I have a PR open to add support #2508). They should still work as long as you don't return a type from the assembly.
You can try with the latest nightly version for both copy files to output and reference include.

@timcassell
Copy link
Collaborator

Closing as duplicate of #1197.

@timcassell timcassell closed this as not planned Won't fix, can't repro, duplicate, stale Apr 7, 2024
@UbitUmarov
Copy link
Author

Still no solution for this issue, the mentioned PR just seems to had been forgotten/ignored.
Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants