Update toolchain for C++ Test projects#297
Conversation
slozier
left a comment
There was a problem hiding this comment.
Thanks! Works for me.
I had taken a stab at reviving the com tests in the IronPython repo a while back. Unfortunately I got discouraged and gave up on it. 😄
Oh, how long ago? I am looking at it right now. But it starts to feel like a detour from a detour from a detour.
|
My "wip" commit says 2020... didn't think it was that long ago. Maybe I tried again since and didn't save anything. 😁 I seem to recall there was some COM changes I wanted to test...
Yeah, this one has been bothering me for a while. The recent PR is not perfect, but it seems good enough to get a foothold on the feature. |
I agree. |
Projects
DlrComLibrary.vcxprojandDlrComLibraryPS.vcxprojwere buildable only by Visual Studio 2010. VS 2010 is End-Of-Support since July 2015 (and Extended Support since July 2020), making them not buildable by any currently available VS.Also, since the solution file has been migrated to the SLNX format, the minimum version to open it is VS 2022.
This PR makes the following changes:
DlrComLibraryinHKCUrather thanHKLM, so that the build and tests can be done without having to obtain Administrator privileges.Note 1. The DLR COM DLR builds with warnings; these should be investigated.
Note 2.The Proxy/Stub DLL project still does not build successfully. TBD.
Note 3. There are no tests for those DLLs, despite being placed in directory
Test. All tests for COM interop are in the IronPython repo, but appear non-functional, so there is currently no way to test the DLR COM.