VS: Deprecate static managed targets
This is a follow up on !1805 (merged). It fixes some flaws in C++/CLI
and C#
support that were adde with the initial implementation of C#
support.
The MR is is fully optional and does not change any behavior. It just adds a warning message and prepares to disallow static C#
targets and manual setting of /clr
compiler option.