ReferenceOutputAssembly should be set to true for UWP app referencing DLL project
The fix made for #17906 (closed) causes our project to fail (works with cmake 3.12, broken in cmake 3.15). The problem is that for our use case we need ReferenceOutputAssembly to be true (verified by modifying the project in VS after generating it).
We have a UWP app (appx) project which is including a DLL from another project using the project reference. Since this change the DLL is no longer brought into the appx package so the app won't run. Setting ReferenceOutputAssembly=true manually fixes the problem. It looks like an earlier version of this change had a check for the consuming project being a C# project and only set ReferenceOutputAssembly=false in that case. Does that need to be re-instated? - thanks
Failing environment:
- cmake 3.15.2
- Visual Studio 2017 (15.9.11)