Skip to content

Commit d180dbd

Browse files
Merge pull request #323 from reduckted/bugfix/missing-wpf-resources
Set UseWPF build property to true for the toolkit projects.
2 parents 6f295c8 + 7872556 commit d180dbd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
99
</PropertyGroup>
1010

11+
<ItemGroup>
12+
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
13+
</ItemGroup>
14+
1115
</Project>

src/toolkit/Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<RootNamespace>Community.VisualStudio.Toolkit</RootNamespace>
1111
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1212
<DebugType>portable</DebugType>
13+
14+
<!-- Set UseWPF to true so that the XAML resources are compiled and included in the assembly. -->
15+
<UseWPF>true</UseWPF>
1316
</PropertyGroup>
1417

1518
<ItemGroup>

0 commit comments

Comments
 (0)