Skip to content

Commit 5938f86

Browse files
authored
Added ProductInfo & ProductVersion for BackgroundTask DLL (#4880)
Signed-off-by: godlytalias <[email protected]>
1 parent f8b9f71 commit 5938f86

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Microsoft Corporation and Contributors.
2+
// Licensed under the MIT License.
3+
4+
#include <winresrc.h>
5+
#define VERSIONINFO_FILENAME "Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll"
6+
#include "build\VersionInfo\AssemblyInfo.ver"

dev/WindowsAppRuntime_UniversalBGTaskDLL/WindowsAppRuntime_UniversalBGTaskDLL.vcxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@
145145
<DeploymentContent>false</DeploymentContent>
146146
</Text>
147147
</ItemGroup>
148+
<ItemGroup>
149+
<ResourceCompile Include="WindowsAppRuntime_UniversalBGTaskDLL.rc">
150+
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
151+
</ResourceCompile>
152+
</ItemGroup>
148153
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
149154
<ImportGroup Label="ExtensionTargets">
150155
<Import Project="..\..\Packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\Packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.targets')" />

dev/WindowsAppRuntime_UniversalBGTaskDLL/WindowsAppRuntime_UniversalBGTaskDLL.vcxproj.filters

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@
2727
<ItemGroup>
2828
<Natvis Include="$(MSBuildThisFileDirectory)..\..\natvis\wil.natvis" />
2929
</ItemGroup>
30+
<ItemGroup>
31+
<ResourceCompile Include="WindowsAppRunTime_UniversalBGTask.rc">
32+
<Filter>Resources</Filter>
33+
</ResourceCompile>
34+
</ItemGroup>
3035
</Project>

0 commit comments

Comments
 (0)