Is there an existing issue for this?
Current Behavior
- Compile the C++ with
make test-msvc
- 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
Anything else?
No response
Is there an existing issue for this?
Current Behavior
make test-msvcExpected: 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-msvcgenerateselectionguard.dllin the release configuration andElectionGuard.Encryption.Tests.csprojis looking for it in the folder based on its active configuration. In other wordsElectionGuard.Encryption.Tests.csprojconflates it's own configuration setting with that of the C++ electionguard library.Steps To Reproduce
No response
Environment
- OS: WindowsAnything else?
No response