In Visual Studio, you can set the "Additional manifest files" option in C ++ projects to combine an additional manifest file into the default application manifest of the application.
We use this parameter with the general "compatibility manifest", which includes only a list of supported OS versions:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> <application> <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> </application> </compatibility> </assembly>
Now we would like to embed this common manifest in existing WinForms / WPF applications so that it merges with existing application manifest files. Is this possible with C # projects? We would like to avoid defining this OS list in every project.
c # visual-studio manifest
floele
source share