Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@swernli
Copy link
Collaborator

@swernli swernli commented Mar 18, 2021

This fixes an issue where the fallback logic in the QCTraceSimulator for dynamically loading the QSharp.Core target package wouldn't work for manually written C# drivers. This fixes the issue by introducing new fallback logic that relies on the assembly name of the current simulator assembly to determine the full name of the QSharp.Core assembly to load.

Fixes #540
Fixes #542

This fixes an issue where the fallback logic in the `QCTraceSimulator` for dynamically loading the QSharp.Core target package wouldn't work for manually written C# drivers. This fixes the issue by introducing new fallback logic that relies on the assembly name of the current simulator assembly to determine the full name of the QSharp.Core assembly to load.

Fixes #540
Fixes #542
Copy link
Contributor

@ScottCarda-MS ScottCarda-MS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I guess I thought it would be more complicated than that, but simple solutions are great!

@swernli swernli enabled auto-merge (squash) March 19, 2021 18:05
@swernli swernli merged commit c172e6f into main Mar 19, 2021
@swernli swernli deleted the swernli/dynamic-assembly-fix branch March 19, 2021 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

3 participants