microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
908 stars 282 forks source link

Upgrade to Visual Studio 2019 #14

Open djee-ms opened 5 years ago

djee-ms commented 5 years ago

The WebRTC UWP SDK project currently hard-codes the version of Visual Studio to 2017. For consistency with the MixedReality-WebRTC libraries, it would be best to also compile the core implementation with VS 2019.

This issue is tracked as #175 on the WebRTC UWP SDK project.

djee-ms commented 4 years ago

Update notes : gn only supports Visual Studio from end of March 2019 (f5fc0600). Luckily this appears to be before the cut point for m75, so upgrading to that milestone should bring support to gn. In the meantime because the C++ library CI needs to regenerate the UWP wrappers from IDLs, gn needs to run, and there is no Azure DevOps agent with both Visual Studio 2017 and 2019. So upgrade is blocked, unless there is a way to compile the native libraries with VS 2017 and the UWP wrappers with VS 2019, but that seems convoluted.

jahnotto commented 4 years ago

The documentation at https://microsoft.github.io/MixedReality-WebRTC/manual/building.html says "The solution uses Visual Studio 2019 with the following features [...] The MSVC v142 - VS 2019 C++ x64/x86 build tools".

However, it seems like the master branch is using VS2017 and MSVC v141. Should we use the feature/vs2019 for VS2019 development?

djee-ms commented 4 years ago

No, feature/vs2019 doesn't work yet, please continue to use master. All feature branches are for long-ish work underway, but none of those works are really supported until merged to master.

Unfortunately there are several blockers to get to the v142 toolchain:

The fact that the projects are for Visual Studio 2017 is just for simplicity since they're still using the v141 toolchain. It doesn't matter much anyway, you can open them in Visual Studio 2019 provided you have installed the v141 toolchain in the Visual Studio Installer. That is what I always do, and this is the recommended approach until the blockers above are fixed. Sorry for the confusion.

jahnotto commented 4 years ago

Ok, thanks for the clarification.

kzq0717 commented 3 years ago

According to the "https://microsoft.github.io/MixedReality-WebRTC/manual/building-windows.html" method, the UWP-SDK cannot be compiled. And the windows folder of "https://github.com/webrtc-uwp/webrtc/tree/baa89682df1ab891ae274a1cb2d9be3b1ee7e20b/sdk" is missing.