Skip to content

Commit 94119d7

Browse files
yuyoyuppeudit3333
authored andcommitted
MSIX: add a dedicated .rc for UWPUI which joins both UI and DLL .rc's (microsoft#1139)
1 parent f63397a commit 94119d7

File tree

3 files changed

+66
-2
lines changed

3 files changed

+66
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
// We need both DLL and UI resource files for UWP UI.
6+
#include "..\dll\PowerRenameExt.rc"
7+
#undef IDC_STATIC
8+
#include "..\ui\PowerRenameUI.rc"
9+
10+
#define APSTUDIO_READONLY_SYMBOLS
11+
/////////////////////////////////////////////////////////////////////////////
12+
//
13+
// Generated from the TEXTINCLUDE 2 resource.
14+
//
15+
#include "winres.h"
16+
17+
/////////////////////////////////////////////////////////////////////////////
18+
#undef APSTUDIO_READONLY_SYMBOLS
19+
20+
/////////////////////////////////////////////////////////////////////////////
21+
// English (United States) resources
22+
23+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
24+
LANGUAGE 9, 1
25+
26+
#ifdef APSTUDIO_INVOKED
27+
/////////////////////////////////////////////////////////////////////////////
28+
//
29+
// TEXTINCLUDE
30+
//
31+
32+
1 TEXTINCLUDE
33+
BEGIN
34+
"resource.h\0"
35+
END
36+
37+
2 TEXTINCLUDE
38+
BEGIN
39+
"#include ""winres.h""\r\n"
40+
"\0"
41+
END
42+
43+
3 TEXTINCLUDE
44+
BEGIN
45+
"\r\n"
46+
"\0"
47+
END
48+
49+
#endif // APSTUDIO_INVOKED
50+
51+
#endif // English (United States) resources
52+
/////////////////////////////////////////////////////////////////////////////
53+
54+
55+
56+
#ifndef APSTUDIO_INVOKED
57+
/////////////////////////////////////////////////////////////////////////////
58+
//
59+
// Generated from the TEXTINCLUDE 3 resource.
60+
//
61+
62+
63+
/////////////////////////////////////////////////////////////////////////////
64+
#endif // not APSTUDIO_INVOKED

src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<Image Include="..\ui\PowerRename.ico" />
118118
</ItemGroup>
119119
<ItemGroup>
120-
<ResourceCompile Include="..\ui\PowerRenameUI.rc" />
120+
<ResourceCompile Include="PowerRenameUWPUI.rc" />
121121
</ItemGroup>
122122
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
123123
<ImportGroup Label="ExtensionTargets">

src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj.filters

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</Image>
4343
</ItemGroup>
4444
<ItemGroup>
45-
<ResourceCompile Include="..\ui\PowerRenameUI.rc">
45+
<ResourceCompile Include="PowerRenameUWPUI.rc">
4646
<Filter>Resource Files</Filter>
4747
</ResourceCompile>
4848
</ItemGroup>

0 commit comments

Comments
 (0)