Skip to content

Commit 8d34c72

Browse files
ShashankNayShashank Nayak
and
Shashank Nayak
authored
Unpackaged Custom Titlebar template Fix (#2969)
* inital commit * comments Co-authored-by: Shashank Nayak <[email protected]>
1 parent 98162d8 commit 8d34c72

File tree

4 files changed

+44
-4
lines changed

4 files changed

+44
-4
lines changed

dev/VSIX/ProjectTemplates/Desktop/CSharp/PackagedApp/BlankApp/app.manifest

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
33
<assemblyIdentity version="1.0.0.0" name="$projectname$.app"/>
44

5+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
6+
<application>
7+
<!--The ID below informs the system that this application is compatible with OS features first introduced in Windows 8.
8+
For more info see https://docs.microsoft.com/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
9+
10+
It is also necessary to support features in unpackaged applications, for example the custom titlebar implementation.-->
11+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
12+
</application>
13+
</compatibility>
14+
515
<application xmlns="urn:schemas-microsoft-com:asm.v3">
616
<windowsSettings>
717
<!-- The combination of below two tags have the following effect:
@@ -12,4 +22,4 @@
1222
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
1323
</windowsSettings>
1424
</application>
15-
</assembly>
25+
</assembly>

dev/VSIX/ProjectTemplates/Desktop/CSharp/SingleProjectPackagedApp/app.manifest

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
33
<assemblyIdentity version="1.0.0.0" name="$projectname$.app"/>
44

5+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
6+
<application>
7+
<!--The ID below informs the system that this application is compatible with OS features first introduced in Windows 8.
8+
For more info see https://docs.microsoft.com/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
9+
10+
It is also necessary to support features in unpackaged applications, for example the custom titlebar implementation.-->
11+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
12+
</application>
13+
</compatibility>
14+
515
<application xmlns="urn:schemas-microsoft-com:asm.v3">
616
<windowsSettings>
717
<!-- The combination of below two tags have the following effect:
@@ -12,4 +22,4 @@
1222
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
1323
</windowsSettings>
1424
</application>
15-
</assembly>
25+
</assembly>

dev/VSIX/ProjectTemplates/Desktop/CppWinRT/PackagedApp/BlankApp/app.manifest

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
33
<assemblyIdentity version="1.0.0.0" name="$projectname$.app"/>
44

5+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
6+
<application>
7+
<!--The ID below informs the system that this application is compatible with OS features first introduced in Windows 8.
8+
For more info see https://docs.microsoft.com/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
9+
10+
It is also necessary to support features in unpackaged applications, for example the custom titlebar implementation.-->
11+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
12+
</application>
13+
</compatibility>
14+
515
<application xmlns="urn:schemas-microsoft-com:asm.v3">
616
<windowsSettings>
717
<!-- The combination of below two tags have the following effect:
@@ -12,4 +22,4 @@
1222
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
1323
</windowsSettings>
1424
</application>
15-
</assembly>
25+
</assembly>

dev/VSIX/ProjectTemplates/Desktop/CppWinRT/SingleProjectPackagedApp/app.manifest

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
33
<assemblyIdentity version="1.0.0.0" name="$projectname$.app"/>
44

5+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
6+
<application>
7+
<!--The ID below informs the system that this application is compatible with OS features first introduced in Windows 8.
8+
For more info see https://docs.microsoft.com/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
9+
10+
It is also necessary to support features in unpackaged applications, for example the custom titlebar implementation.-->
11+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
12+
</application>
13+
</compatibility>
14+
515
<application xmlns="urn:schemas-microsoft-com:asm.v3">
616
<windowsSettings>
717
<!-- The combination of below two tags have the following effect:
@@ -12,4 +22,4 @@
1222
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
1323
</windowsSettings>
1424
</application>
15-
</assembly>
25+
</assembly>

0 commit comments

Comments
 (0)