Skip to content

Commit 1860b57

Browse files
authored
fix(windows): add dll information resource file (#825)
1 parent 010b061 commit 1860b57

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
4.58 KB
Binary file not shown.

windows/DateTimePickerWindows/DateTimePickerWindows.vcxproj

+4
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
</ItemDefinitionGroup>
126126
<ItemGroup>
127127
<ClInclude Include="DateTimePickerViewManager.h" />
128+
<ClInclude Include="resource.h" />
128129
<ClInclude Include="TimePickerViewManager.h" />
129130
<ClInclude Include="pch.h" />
130131
<ClInclude Include="ReactPackageProvider.h">
@@ -174,6 +175,9 @@
174175
<Private>false</Private>
175176
</ProjectReference>
176177
</ItemGroup>
178+
<ItemGroup>
179+
<ResourceCompile Include="DateTimePicker.rc" />
180+
</ItemGroup>
177181
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
178182
<ImportGroup Label="ReactNativeWindowsTargets">
179183
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" />

windows/DateTimePickerWindows/DateTimePickerWindows.vcxproj.filters

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ClInclude Include="DateTimePickerViewManager.h" />
2121
<ClInclude Include="TimePickerViewManager.h" />
2222
<ClInclude Include="ReactPackageProvider.h" />
23+
<ClInclude Include="resource.h" />
2324
</ItemGroup>
2425
<ItemGroup>
2526
<None Include="DateTimePickerWindows.def" />
@@ -35,4 +36,9 @@
3536
<Midl Include="ReactPackageProvider.idl" />
3637
<Midl Include="DateTimePickerView.idl" />
3738
</ItemGroup>
39+
<ItemGroup>
40+
<ResourceCompile Include="DateTimePicker.rc">
41+
<Filter>Resources</Filter>
42+
</ResourceCompile>
43+
</ItemGroup>
3844
</Project>
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by DateTimePicker.rc
4+
5+
// Next default values for new objects
6+
//
7+
#ifdef APSTUDIO_INVOKED
8+
#ifndef APSTUDIO_READONLY_SYMBOLS
9+
#define _APS_NEXT_RESOURCE_VALUE 101
10+
#define _APS_NEXT_COMMAND_VALUE 40001
11+
#define _APS_NEXT_CONTROL_VALUE 1001
12+
#define _APS_NEXT_SYMED_VALUE 101
13+
#endif
14+
#endif

0 commit comments

Comments
 (0)