Skip to content

Latest version of Microsoft.Toolkit.Uwp.UI.Controls is causing errors while running VSTS build #3511

Open
@emyfreya

Description

@emyfreya

Describe the bug

Exactly this error #2452, but not quite the same conditions.
Building & Compiling is done via Visual Studio build using the Latest parameter in version. We're trying to build it in Release mode.

Works locally with the same command using msbuild.exe.

  • Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work: 6.0.0

Steps to Reproduce

  1. Create an UWP app
  2. Add Microsoft.Toolkit.Uwp.UI v6.1.1
  3. Build via Pipelines, using msbuild.exe
  4. Error appears after some time, indicating to validate some terms.
C:\windows\ServiceProfiles\NetworkService\.nuget\packages\microsoft.toolkit.uwp.ui.controls\6.1.1\lib\uap10.0.16299\Microsoft.Toolkit.Uwp.UI.Controls.pdb : fatal error CMF1106: failed to open input PDB file for reading (PDB error code = 13)3 input PDB file is not generated by /DEBUG:fastlinkW must read and agree to the Data Collection Policy at ?? before using /errorreport:send1 warning treated as error; the PDB file is intact@ specified output filename is too long (exceeding 0 characters)
##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(3515,5): Error MSB6006: "mspdbcmf.exe" exited with code 1106.

Expected behavior

The build to come to an end.

Environment

NuGet Package(s): 
- Microsoft.Toolkit
- Microsoft.Toolkit.Uwp
- Microsoft.Toolkit.Uwp.UI
- Microsoft.Toolkit.Uwp.UI.Controls
- Microsoft.Toolkit.Uwp.Controls.DataGrid
- Microsoft.Toolkit.Uwp.UI.Media

Package Version(s): 
- 6.1.1

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [x] 2019 (version: 16.0) 
- [ ] 2019 Preview (version: )

Additional context

Will add anything to help if necessary. I think every details is there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions