Skip to content
Open
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
9ab36b7
Initial script
guimafelipe Sep 30, 2025
3d8dc83
Downloading ms2cc
guimafelipe Sep 30, 2025
8323d8f
Adding compile commands database to git ignore
guimafelipe Sep 30, 2025
f6908a3
Changing name of temporary log files
guimafelipe Sep 30, 2025
fc32011
Adding ms2cc to git ignore
guimafelipe Sep 30, 2025
0f23f7f
Adding current build file directory to files included in test projects
guimafelipe Oct 1, 2025
f215bdd
Adding 2
guimafelipe Oct 1, 2025
061dbcd
Bumping version of ms2cc
guimafelipe Oct 1, 2025
00f9789
Using specific path for almost all includes in the project
guimafelipe Oct 1, 2025
a3befce
Not cleaning intermediate files if building local
guimafelipe Oct 1, 2025
e2ed1bb
Fixing include path on everything
guimafelipe Oct 1, 2025
1c0141c
Using both bin logs
guimafelipe Oct 1, 2025
213caaf
Testing eol
guimafelipe Oct 1, 2025
eb97073
Testing eol 2
guimafelipe Oct 1, 2025
c3cddcb
Revert "Testing eol 2"
guimafelipe Oct 1, 2025
46c9ca6
Revert "Testing eol"
guimafelipe Oct 1, 2025
93df0d8
Testing eol 3
guimafelipe Oct 1, 2025
5d24606
Fixing EOF on test vcxproj files
guimafelipe Oct 1, 2025
4a0ad1d
Fixing missing test files
guimafelipe Oct 1, 2025
0d6b13f
Revert "Fixing missing test files"
guimafelipe Oct 1, 2025
5ecd1b2
Revert "Fixing EOF on test vcxproj files"
guimafelipe Oct 1, 2025
221f460
Revert "Testing eol 3"
guimafelipe Oct 1, 2025
7aa3f44
Revert "Fixing include path on everything"
guimafelipe Oct 1, 2025
c3b1f8e
Revert "Using specific path for almost all includes in the project"
guimafelipe Oct 1, 2025
b7e9fe9
Revert "Adding 2"
guimafelipe Oct 1, 2025
fcb6344
Revert "Adding current build file directory to files included in test…
guimafelipe Oct 1, 2025
649a900
Regex magic
guimafelipe Oct 1, 2025
28c7dd2
Small changes on build all ps1
guimafelipe Oct 1, 2025
472d62d
adding suggestion
guimafelipe Oct 3, 2025
53ea440
Adding CleanIntermediateFiles argument to BuildAll.ps1 script
guimafelipe Oct 3, 2025
f63dbf3
Improving binlog file discovering
guimafelipe Oct 3, 2025
37f8e52
Removing temporary files
guimafelipe Oct 3, 2025
f2cb8e3
Adding more logging
guimafelipe Oct 3, 2025
b196ba3
Merge branch 'main' into user/felipeda/compiledb2
guimafelipe Oct 4, 2025
6da3435
Fixing delete intermediate files
guimafelipe Oct 4, 2025
119b742
Adding update functionality to script
guimafelipe Oct 4, 2025
331fa32
Adding documentation
guimafelipe Oct 7, 2025
04a0b16
Fixing casing and identation
guimafelipe Oct 7, 2025
1a2ab6a
Fixing open braces
guimafelipe Oct 7, 2025
695a614
Adding .hpp
guimafelipe Oct 7, 2025
728d2dd
Adding opt in to download ms2cc or using existing path
guimafelipe Oct 7, 2025
d465a4e
Removing ms2cc from gitignore
guimafelipe Oct 7, 2025
acfe357
Adding hpp part 2
guimafelipe Oct 7, 2025
028635c
Changing most of the not important logging to verbose
guimafelipe Oct 7, 2025
4cffe83
Adding absolute path fix to precompiled header
guimafelipe Oct 14, 2025
5d136de
Moving context path include to front
guimafelipe Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,9 @@ build/override/
# WindowsAppSDK specific files
Microsoft.WinUI.AppX.targets
!dev/vsix/**/*.pubxml

# Compile commands database for clang-based tools
compile_commands.json

# MS2CC files used to generate compile commands database
tools/ms2cc/**
7 changes: 4 additions & 3 deletions BuildAll.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Try {
{
$destinationPaths = Get-Childitem -Path 'packages' -File 'Traceloggingconfig.h' -Recurse

if (($destinationPaths -ne $null))
if (($destinationPaths -ne $null))
{
foreach ($destPath in $destinationPaths) {
Write-Host 'SourcePath:' $srcPath.FullName
Expand All @@ -165,6 +165,7 @@ Try {
# PreFastSetup intentionally skips the call to MSBuild.exe below.
if (($AzureBuildStep -eq "all") -Or ($AzureBuildStep -eq "BuildFoundation"))
{
$cleanIntermediateFiles = if ($WindowsAppSDKBuildPipeline -eq 1) { "/p:WindowsAppSDKCleanIntermediateFiles=true" } else { "" }
foreach($configurationToRun in $configuration.Split(","))
{
foreach($platformToRun in $platform.Split(","))
Expand All @@ -178,7 +179,7 @@ Try {
/binaryLogger:"BuildOutput/binlogs/WindowsAppRuntime.$platformToRun.$configurationToRun.binlog" `
$WindowsAppSDKVersionProperty `
/p:PGOBuildMode=$PGOBuildMode `
/p:WindowsAppSDKCleanIntermediateFiles=true `
$cleanIntermediateFiles `
/p:AppxSymbolPackageEnabled=false `
/p:WindowsAppSDKBuildPipeline=$WindowsAppSDKBuildPipeline
if ($lastexitcode -ne 0)
Expand Down Expand Up @@ -279,7 +280,7 @@ Try {
{
foreach($platformToRun in $platform.Split(","))
{
# TODO: $windowsAppSdkBinariesPath may not be defined. Remove the temp downgrade to 1.0 once this issue has been fixed (b#52130179).
# TODO: $windowsAppSdkBinariesPath may not be defined. Remove the temp downgrade to 1.0 once this issue has been fixed (b#52130179).
Set-StrictMode -Version 1.0
.\build\CopyFilesToStagingDir.ps1 -BuildOutputDir 'BuildOutput' -OverrideDir "$buildOverridePath" -PublishDir "$windowsAppSdkBinariesPath" -NugetDir "$BasePath" -Platform $PlatformToRun -Configuration $ConfigurationToRun
Set-StrictMode -Version 3.0
Expand Down
12 changes: 6 additions & 6 deletions dev/DeploymentAgent/DeploymentAgent.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="tracelogging.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)tracelogging.h" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the $(MSBuildThisFileDirectory) prefix on every header and source?

VS doesn't do this when you add a file in Solution explorer (new, or point at existing).

Aren't these files relative to the project (and typically in same dir)?

Copy link
Contributor Author

@guimafelipe guimafelipe Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For developers that work on WinAppSDK, it is common that regardless of the code editor used, there is always a lot of errors that does not help with productivity even if the project builds correctly locally. There is also no consistent Language Server Protocol support (things like "Go to Definition", "See references", etc.).

This PR is from some research and work I put to try to make this all available for WinAppSDK developers.

For this, we can use CLang Driver (https://clangd.llvm.org/), available in most of the editors, to have this support. For clangd to work, it needs a "compile commands database", which is basically a JSON file with all the commands executed by the compiler for building each of the files in the project, with the include folders needed for each of them, so clangd can do all the correct linking between the files.

Unfortunately, MSBuild does not produce a compile commands database naturally, so we need to use an external tool for that. There are some Visual Studio extensions for that, but they not work because our build system uses powershell scripts moving lots of stuff around before even calling msbuild directly.

In my research, I found the https://github.com/freddiehaddad/ms2cc tool, from another microsoft software engineer, that was attempting to solve the same problem in their project. This tool works getting a msbuild log and converting it into a compile commands database, which is what the powershell script I added is doing.

The problem is: if we don't pass $(MSBuildThisFileDirectory) to CLCompile includes on our project files, the compile command will be something like:
cl.exe ... [includess] /Fo="C:\WindowsAppSKD\obj\..." pch.cpp

This would not be a problem is there were only one file named pch.cpp in the project. We could search for it in our file tree and know what is the full path. But there are various pch.cpp files in WinAppSDK, and there is no way to know only from the compilation path. We could use the object folder for that (which was also being deleted, losing track of some of the include files referenced by the tests), but there is no pattern to follow either.

By including it with $(MSBuildThisFileDirectory), it will have the full path for every .h or .cpp file compiled in the msbuild logs, which will make the linking possible as there will be no ambiguity of which file is being referenced.

This way, the text editors now have full access to the LSP beneficies from clangd and there will be no more weird errors everywhere even though everything builds correctly.

WinAppSDK was already using $(MSBuildThisFileDirectory) in part of the includes, and broadcasted it to the rest of the project and it worked really well for generating the database. I am currently investigating if there is a way to set VS to add it automatically.

Copy link
Member

@DrusTheAxe DrusTheAxe Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My concern is VS is our primary build tool, and adding files to projects is commonly done via VS' Solution Explorer.

I didn't say primary editor. Some use VS, I (like many) rarely use VS' editor (I'm a longstanding TSE fan, others use VScode and other tools). But for build and project + solution management VS is the primary tool.

While command line support is nice, I'm not keen on the friction of requiring $(MSBuildThisFileDirectory) prefixed on all files in *proj when VS doesn't do that. I don't see us banning VS, and most devs aren't going to know better (or human error will occasionally forget) to edit *.*proj files after making any edits in VS. This is just going to lead to a constant tax where command line builds regularly break as most devs expand their projects using VS, and not this additional manual editing step.

(Which, BTW, the VS team says "Do not directly edit *.*proj files." Even though many do, or need to do because the GUI lacks some GUI means to make certain edits.

This will create pains and friction for the team. That's the wrong vector - we want LESS friction for the dev team, not more.

TL;DR I'm sympathetic to letting devs use their preferred tools, but not in this way. Not benefiting some developers by imposing a permanent and recurring tax on all future development. The ROI isn't justified.

Have you talked to the VS team about this? That seems the better answer -- for VS to create/manage a compiler command database and any related changes needed (e.g. $(MSBuildThisFile)foo.cpp). Then more tools are supported but w/o the added dev tax to do non-VS-standard behavior.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also use Visual Studio regularly, which is also a editor. Clangd is also naturally supported in Visual Studio, which is also currently having this same problems as the other editors (showing errors where there is none, not having complete support for C/C++ LSP and so on).

I agree with you that having $(MSBuildThisFileDirectory) is a big friction and I am still trying to find alternatives to that. For now was the only thing that make it possible for us to correctly index all the files.

Have you talked to the VS team about this? That seems the better answer -- for VS to create/manage a compiler command database and any related changes needed (e.g. $(MSBuildThisFile)foo.cpp). Then more tools are supported but w/o the added dev tax to do non-VS-standard behavior.

I didn't talk to them yet. I was expecting that generating a command compile database would be something that already existed by default, but it most of the tools I found related to that are external and didn't work well for our case either. I like the idea of starting a discussion about it with them.

Copy link
Member

@Scottj1s Scottj1s Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guimafelipe I'm also concerned with having to modify every ClCompile and ClInclude. Note that ClInclude is only an IDE amenity - it has nothing to do with the build. If you're processing the binlog to find the $task cl, you should be able to get the enclosing vcxproj location and infer the source location from that.

For completeness, another approach: cvdump on the pdb to collect the cl.exe command line and all parameters. But my preference would be groveling the binlog for the vcxproj location.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DrusTheAxe Thank you for the feedback, I worked on an alternative via powershell scripts for that and all is working fine now.
@Scottj1s Thank you for the tip on looking for the rest of the logs for context I could use to regenerate the full paths!

<ClInclude Include="$(MSBuildThisFileDirectory)pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp" />
<ClCompile Include="pch.cpp">
<ClCompile Include="$(MSBuildThisFileDirectory)main.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)pch.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DeploymentAgent.rc">
<ResourceCompile Include="$(MSBuildThisFileDirectory)DeploymentAgent.rc">
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
Expand All @@ -128,4 +128,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.Windows.CppWinRT.$(MicrosoftWindowsCppWinRTVersion)\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.Windows.CppWinRT.$(MicrosoftWindowsCppWinRTVersion)\build\native\Microsoft.Windows.CppWinRT.targets'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.Windows.ImplementationLibrary.$(MicrosoftWindowsImplementationLibraryVersion)\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.Windows.ImplementationLibrary.$(MicrosoftWindowsImplementationLibraryVersion)\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
</Target>
</Project>
</Project>
26 changes: 13 additions & 13 deletions dev/Detours/Detours.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -234,20 +234,20 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="detours.h" />
<ClInclude Include="detver.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)detours.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)detver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="creatwth.cpp" />
<ClCompile Include="detours.cpp" />
<ClCompile Include="disasm.cpp" />
<ClCompile Include="disolarm.cpp" />
<ClCompile Include="disolarm64.cpp" />
<ClCompile Include="disolia64.cpp" />
<ClCompile Include="disolx64.cpp" />
<ClCompile Include="disolx86.cpp" />
<ClCompile Include="image.cpp" />
<ClCompile Include="modules.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)creatwth.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)detours.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)disasm.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)disolarm.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)disolarm64.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)disolia64.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)disolx64.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)disolx86.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)image.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)modules.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand All @@ -273,4 +273,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -183,24 +183,24 @@
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="pch.cpp">
<ClCompile Include="$(MSBuildThisFileDirectory)pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="winmain.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)winmain.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="$(MSBuildThisFileDirectory)packages.config" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DynamicDependencyLifetimeManagerShadow.rc">
<ResourceCompile Include="$(MSBuildThisFileDirectory)DynamicDependencyLifetimeManagerShadow.rc">
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
Expand All @@ -223,4 +223,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@
</Midl>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="framework.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)framework.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="$(PlatformTarget)\$(Configuration)\dlldata.c">
Expand All @@ -257,7 +257,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="pch.cpp">
<ClCompile Include="$(MSBuildThisFileDirectory)pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader>
Expand All @@ -267,12 +267,12 @@
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DynamicDependency.DataStore.ProxyStub.rc">
<ResourceCompile Include="$(MSBuildThisFileDirectory)DynamicDependency.DataStore.ProxyStub.rc">
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Midl Include="DynamicDependencyDataStore.idl" />
<Midl Include="$(MSBuildThisFileDirectory)DynamicDependencyDataStore.idl" />
</ItemGroup>
<ItemGroup>
<None Include="DynamicDependency.DataStore.def" />
Expand Down Expand Up @@ -303,4 +303,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,18 @@
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="pch.cpp">
<ClCompile Include="$(MSBuildThisFileDirectory)pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="winmain.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)winmain.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DynamicDependency.DataStore.ProxyStub\DynamicDependency.DataStore.ProxyStub.vcxproj">
Expand All @@ -217,7 +217,7 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DynamicDependency.DataStore.rc">
<ResourceCompile Include="$(MSBuildThisFileDirectory)DynamicDependency.DataStore.rc">
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
Expand All @@ -243,4 +243,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@
</Midl>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="framework.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)framework.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="$(PlatformTarget)\$(Configuration)\dlldata.c">
Expand All @@ -262,7 +262,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="pch.cpp">
<ClCompile Include="$(MSBuildThisFileDirectory)pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader>
Expand All @@ -272,12 +272,12 @@
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DynamicDependencyLifetimeManager.ProxyStub.rc">
<ResourceCompile Include="DynamicDependencyLifetimeManager.ProxyStub.rc">
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Midl Include="DynamicDependencyLifetimeManager.idl" />
<Midl Include="$(MSBuildThisFileDirectory)DynamicDependencyLifetimeManager.idl" />
</ItemGroup>
<ItemGroup>
<None Include="DynamicDependencyLifetimeManager.def" />
Expand Down Expand Up @@ -312,4 +312,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -189,18 +189,18 @@
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="pch.cpp">
<ClCompile Include="$(MSBuildThisFileDirectory)pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="winmain.cpp" />
<ClCompile Include="$(MSBuildThisFileDirectory)winmain.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DynamicDependencyLifetimeManager.ProxyStub\DynamicDependencyLifetimeManager.ProxyStub.vcxproj">
Expand All @@ -211,7 +211,7 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DynamicDependencyLifetimeManager.rc">
<ResourceCompile Include="$(MSBuildThisFileDirectory)DynamicDependencyLifetimeManager.rc">
<AdditionalIncludeDirectories>$(RepoRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemGroup>
Expand All @@ -234,4 +234,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<Import Project="$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" />
</ImportGroup>
<ItemGroup>
<Midl Include="IDynamicDependencyLifetimeManager.idl" />
<Midl Include="$(MSBuildThisFileDirectory)IDynamicDependencyLifetimeManager.idl" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand All @@ -178,4 +178,4 @@
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.props'))" />
<Error Condition="!Exists('$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(NugetPackageDirectory)\Microsoft.SourceLink.GitHub.$(MicrosoftSourceLinkGitHubVersion)\build\Microsoft.SourceLink.GitHub.targets'))" />
</Target>
</Project>
</Project>
Loading