Skip to content

Commit

Permalink
fix(windows): add dll information resource file (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhiRaya authored Oct 10, 2023
1 parent 010b061 commit 1860b57
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Binary file added windows/DateTimePickerWindows/DateTimePicker.rc
Binary file not shown.
4 changes: 4 additions & 0 deletions windows/DateTimePickerWindows/DateTimePickerWindows.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="DateTimePickerViewManager.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="TimePickerViewManager.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="ReactPackageProvider.h">
Expand Down Expand Up @@ -174,6 +175,9 @@
<Private>false</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DateTimePicker.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ReactNativeWindowsTargets">
<Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<ClInclude Include="DateTimePickerViewManager.h" />
<ClInclude Include="TimePickerViewManager.h" />
<ClInclude Include="ReactPackageProvider.h" />
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<None Include="DateTimePickerWindows.def" />
Expand All @@ -35,4 +36,9 @@
<Midl Include="ReactPackageProvider.idl" />
<Midl Include="DateTimePickerView.idl" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DateTimePicker.rc">
<Filter>Resources</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
14 changes: 14 additions & 0 deletions windows/DateTimePickerWindows/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DateTimePicker.rc

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit 1860b57

Please sign in to comment.