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

🐞 Unit Tests Won't Run in Visual Studio #248

Open
1 task done
lprichar opened this issue Mar 29, 2022 · 0 comments
Open
1 task done

🐞 Unit Tests Won't Run in Visual Studio #248

lprichar opened this issue Mar 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lprichar
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

  1. Compile the C++ with make test-msvc
  2. Run the unit tests in Visual Studio (under the debug configuration)

Expected: Unit tests should pass
Actual: System.DllNotFoundException : Unable to load DLL 'electionguard': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Expected Behavior

The problem is that make test-msvc generates electionguard.dll in the release configuration and ElectionGuard.Encryption.Tests.csproj is looking for it in the folder based on its active configuration. In other words ElectionGuard.Encryption.Tests.csproj conflates it's own configuration setting with that of the C++ electionguard library.

Steps To Reproduce

No response

Environment

- OS: Windows

Anything else?

No response

@lprichar lprichar added bug Something isn't working triage Waiting to be triaged labels Mar 29, 2022
@SteveMaier-IRT SteveMaier-IRT removed the triage Waiting to be triaged label Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants