Skip to content

Commit

Permalink
Fix UndockedRegFreeWinRT auto-initializer issues (#2476)
Browse files Browse the repository at this point in the history
* Fix bad filename

* No precompiledheaders when compiling the auto-initializer
  • Loading branch information
DrusTheAxe authored May 5, 2022
1 parent 3de09bc commit 133f61b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<Target Name="GenerateUndockedRegFreeWinRTCS" BeforeTargets="BeforeCompile">
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)..\include\MddUndockedRegFreeWinRT-AutoInitializer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)..\include\UndockedRegFreeWinRT-AutoInitializer.cs" />
</ItemGroup>
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

<Target Name="GenerateUndockedRegFreeWinRTCpp" BeforeTargets="ClCompile">
<ItemGroup>
<ClCompile Include="$(MSBuildThisFileDirectory)..\..\include\MddUndockedRegFreeWinRT-AutoInitializer.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)..\..\include\UndockedRegFreeWinRT-AutoInitializer.cpp">
<PrecompiledHeader>NotUsing</PrecompiledHeader>
</ClCompile>
</ItemGroup>
</Target>

Expand Down

0 comments on commit 133f61b

Please sign in to comment.