Missing symbols package when building in dotnet msbuild workflow (mspdbcmf.exe not found) #5102
Labels
area-DeveloperTools
Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration
feature proposal
Describe the bug
When using
dotnet msbuild
to MSIX package a blank WinAppSDK/WinUI application, the symbol package creation fails with a warning.The documentation link in the warning has no pertinent information for the warning it's attached to.
Incorrectly closed and related issue: #2963
Steps to reproduce the bug
git clone https://github.com/riverar/repro-211f09d9fccb
cd repro-211f09d9fccb
dotnet msbuild /p:Configuration=Release /p:AppxPackageDir="MSIXOutputX64\" /p:GenerateAppxPackageOnBuild=true /p:Platform=x64 -bl
msbuild.binlog
and observe VC specific variables are not resolving (in the_EnsurePdbCmfExeFullPath
target)Expected behavior
Symbols package creation to succeed without warnings
Screenshots
No response
NuGet package version
Windows App SDK 1.6.3: 1.6.250108002
Packaging type
Packaged (MSIX)
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022-preview, Other, Visual Studio 2022
Additional context
It was previously stated that
dotnet build
workflows are supported (microsoft/microsoft-ui-xaml#5327).Microsoft.Build.Msix.Packaging.targets
does not appear to take into account that VC variables don't exist when built via this context.The text was updated successfully, but these errors were encountered: