Skip to content

Need to do an msbuild restore in order to be able to build the WindowsCommunityToolkit solution #3012

@agneszitte

Description

@agneszitte

Describe the bug

Clone the latest version of the repo and try to build the solution.
A lot of restore errors in the output. (NuGet Warning NU1503)
Use dotnet restore and it's still the same.

Expected behavior

The solution is building without restore errors.

Workaround

To build the target, use msbuild to restore :

  • Open the Command Window a.k.a Developer Command Prompt for VS.
    (Windows 10) In the search box on the taskbar, start typing the name of the tool, such as dev or developer command prompt.
  • Navigate to the root folder of your solution.
  • Use the >msbuild /restore command
  • Launch your solution

Environment

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

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

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

Visual Studio 
- [x] 2017 (version: 15.9.8)
- [ ] 2019 (version: ) 
- [x] 2019 Preview (version: 16.0.0.0 Preview 4.3)

Additional context

I think it's related to this issue: NuGet/Home#6665

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions