Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

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

Closed

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

Activity

  1. added
    bug 🐛An unexpected issue that highlights incorrect behavior
    on Sep 19, 2019
  2. agneszitte commented on Sep 19, 2019

    @agneszitte
    ContributorAuthor
  3. added this to the 6.0 milestone on Sep 19, 2019
  4. michael-hawker commented on Sep 19, 2019

    @michael-hawker
    Member

    Thanks @agneszitte-nventive!

    @onovotny did we hear back from VS on this? Is there another item we can attach this to in a GitHub repo somewhere atm?

  5. dj-fiorex commented on Oct 2, 2019

    @dj-fiorex

    @agneszitte-nventive did you have success building the project?
    Because i'm in a similar situation, W10 1903, all VSinstaller packages installed (lol), i cloned the repo and, before reading this post, i opened it in visual studio and strange errors like this appear.
    After i tried to restore with msbuild /restore andseveral errors have appeared
    image
    stuck at this point, i want to try out this sample app. It seems a good strarting point for every type of windows uwp

    Thanks

  6. michael-hawker commented on Oct 7, 2019

    @michael-hawker
    Member

    @dj-fiorex we've had success with these instructions. Can you provide more details on the steps you took starting from cloning the repo? And what VS version do you have installed?

  7. chan18 commented on Oct 29, 2019

    @chan18

    @michael-hawker, I got the same errors has @dj-fiorex ,

    • cloned the repo.
    • >msbuild /restore command in Developer Command Prompt for VS
    msbuild /restore

    Errors

    G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.Dev
    eloperTools.csproj(26,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\FocusTracker\FocusTracker.g.
    cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.16299\
    FocusTracker\FocusTracker.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma warning disable > %%
    f.temp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    
    G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls.DataGrid\Microsoft.Toolkit.U
    wp.UI.Controls.DataGrid.csproj(40,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\DataGrid\DataGri
    d.g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.16
    299\DataGrid\DataGrid.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma warning disable > %%f.te
    mp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    
    G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls.Graph\Microsoft.Toolkit.Uwp.
    UI.Controls.Graph.csproj(66,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\AadLogin\AadLogin.g.cs
    ";"obj\Debug\uap10.0.16299\PeoplePicker\PeoplePicker.g.cs";"obj\Debug\uap10.0.16299\PlannerTaskList\PlannerTaskList.g.c
    s";"obj\Debug\uap10.0.16299\PowerBIEmbedded\PowerBIEmbedded.g.cs";"obj\Debug\uap10.0.16299\ProfileCard\ProfileCard.g.cs
    ";"obj\Debug\uap10.0.16299\SharePointFileList\SharePointFileList.g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"o
    bj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.16299\AadLogin\AadLogin.g.i.cs";"obj\Debug\uap10.0.16299\P
    eoplePicker\PeoplePicker.g.i.cs";"obj\Debug\uap10.0.16299\PlannerTaskList\PlannerTaskList.g.i.cs";"obj\Debug\uap10.0.16
    299\PowerBIEmbedded\PowerBIEmbedded.g.i.cs";"obj\Debug\uap10.0.16299\ProfileCard\ProfileCard.g.i.cs";"obj\Debug\uap10.0
    .16299\SharePointFileList\SharePointFileList.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma w
    arning disable > %%f.temp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    
    G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls\Microsoft.Toolkit.Uwp.UI.Con
    trols.csproj(96,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\BladeView\BladeView.g.cs";"obj\Deb
    ug\uap10.0.16299\CameraPreview\CameraPreview.g.cs";"obj\Debug\uap10.0.16299\Carousel\Carousel.g.cs";"obj\Debug\uap10.0.
    16299\DropShadowPanel\DropShadowPanel.g.cs";"obj\Debug\uap10.0.16299\Expander\Expander.g.cs";"obj\Debug\uap10.0.16299\E
    yedropper\Eyedropper.g.cs";"obj\Debug\uap10.0.16299\Eyedropper\EyedropperToolButton.g.cs";"obj\Debug\uap10.0.16299\Grid
    Splitter\GridSplitter.g.cs";"obj\Debug\uap10.0.16299\HeaderedContentControl\HeaderedContentControl.g.cs";"obj\Debug\uap
    10.0.16299\HeaderedItemsControl\HeaderedItemsControl.g.cs";"obj\Debug\uap10.0.16299\HeaderedTextBlock\HeaderedTextBlock
    .g.cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropper.g.cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropperThumb
    .g.cs";"obj\Debug\uap10.0.16299\ImageEx\ImageEx.g.cs";"obj\Debug\uap10.0.16299\InAppNotification\InAppNotification.g.cs
    ";"obj\Debug\uap10.0.16299\InAppNotification\Styles\MSEdgeNotificationStyle.g.cs";"obj\Debug\uap10.0.16299\InAppNotific
    ation\Styles\VSCodeNotificationStyle.g.cs";"obj\Debug\uap10.0.16299\InfiniteCanvas\InfiniteCanvas.g.cs";"obj\Debug\uap1
    0.0.16299\LayoutTransformControl\LayoutTransformControl.g.cs";"obj\Debug\uap10.0.16299\Loading\Loading.g.cs";"obj\Debug
    \uap10.0.16299\MarkdownTextBlock\MarkdownTextBlock.g.cs";"obj\Debug\uap10.0.16299\MasterDetailsView\MasterDetailsView.g
    .cs";"obj\Debug\uap10.0.16299\Menu\Menu.g.cs";"obj\Debug\uap10.0.16299\OrbitView\OrbitView.g.cs";"obj\Debug\uap10.0.162
    99\RadialGauge\RadialGauge.g.cs";"obj\Debug\uap10.0.16299\RadialProgressBar\RadialProgressBar.g.cs";"obj\Debug\uap10.0.
    16299\RangeSelector\RangeSelector.g.cs";"obj\Debug\uap10.0.16299\RemoteDevicePicker\RemoteDevicePicker.g.cs";"obj\Debug
    \uap10.0.16299\RotatorTile\RotatorTile.g.cs";"obj\Debug\uap10.0.16299\ScrollHeader\ScrollHeader.g.cs";"obj\Debug\uap10.
    0.16299\TabView\TabView.g.cs";"obj\Debug\uap10.0.16299\TextToolbar\Symbols\Symbols.g.cs";"obj\Debug\uap10.0.16299\TextT
    oolbar\TextToolbar.g.cs";"obj\Debug\uap10.0.16299\TextToolbar\ToolbarItems\ToolbarButton.g.cs";"obj\Debug\uap10.0.16299
    \TextToolbar\ToolbarItems\ToolbarSeparator.g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.16299
    \TileControl\TileControl.g.cs";"obj\Debug\uap10.0.16299\TokenizingTextBox\TokenizingTextBox.g.cs";"obj\Debug\uap10.0.16
    299\TokenizingTextBox\TokenizingTextBoxItem.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.16299\
    BladeView\BladeView.g.i.cs";"obj\Debug\uap10.0.16299\CameraPreview\CameraPreview.g.i.cs";"obj\Debug\uap10.0.16299\Carou
    sel\Carousel.g.i.cs";"obj\Debug\uap10.0.16299\DropShadowPanel\DropShadowPanel.g.i.cs";"obj\Debug\uap10.0.16299\Expander
    \Expander.g.i.cs";"obj\Debug\uap10.0.16299\Eyedropper\Eyedropper.g.i.cs";"obj\Debug\uap10.0.16299\Eyedropper\Eyedropper
    ToolButton.g.i.cs";"obj\Debug\uap10.0.16299\GridSplitter\GridSplitter.g.i.cs";"obj\Debug\uap10.0.16299\HeaderedContentC
    ontrol\HeaderedContentControl.g.i.cs";"obj\Debug\uap10.0.16299\HeaderedItemsControl\HeaderedItemsControl.g.i.cs";"obj\D
    ebug\uap10.0.16299\HeaderedTextBlock\HeaderedTextBlock.g.i.cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropper.g.i.c
    s";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropperThumb.g.i.cs";"obj\Debug\uap10.0.16299\ImageEx\ImageEx.g.i.cs";"ob
    j\Debug\uap10.0.16299\InAppNotification\InAppNotification.g.i.cs";"obj\Debug\uap10.0.16299\InAppNotification\Styles\MSE
    dgeNotificationStyle.g.i.cs";"obj\Debug\uap10.0.16299\InAppNotification\Styles\VSCodeNotificationStyle.g.i.cs";"obj\Deb
    ug\uap10.0.16299\InfiniteCanvas\InfiniteCanvas.g.i.cs";"obj\Debug\uap10.0.16299\LayoutTransformControl\LayoutTransformC
    ontrol.g.i.cs";"obj\Debug\uap10.0.16299\Loading\Loading.g.i.cs";"obj\Debug\uap10.0.16299\MarkdownTextBlock\MarkdownText
    Block.g.i.cs";"obj\Debug\uap10.0.16299\MasterDetailsView\MasterDetailsView.g.i.cs";"obj\Debug\uap10.0.16299\Menu\Menu.g
    .i.cs";"obj\Debug\uap10.0.16299\OrbitView\OrbitView.g.i.cs";"obj\Debug\uap10.0.16299\RadialGauge\RadialGauge.g.i.cs";"o
    bj\Debug\uap10.0.16299\RadialProgressBar\RadialProgressBar.g.i.cs";"obj\Debug\uap10.0.16299\RangeSelector\RangeSelector
    .g.i.cs";"obj\Debug\uap10.0.16299\RemoteDevicePicker\RemoteDevicePicker.g.i.cs";"obj\Debug\uap10.0.16299\RotatorTile\Ro
    tatorTile.g.i.cs";"obj\Debug\uap10.0.16299\ScrollHeader\ScrollHeader.g.i.cs";"obj\Debug\uap10.0.16299\TabView\TabView.g
    .i.cs";"obj\Debug\uap10.0.16299\TextToolbar\Symbols\Symbols.g.i.cs";"obj\Debug\uap10.0.16299\TextToolbar\TextToolbar.g.
    i.cs";"obj\Debug\uap10.0.16299\TextToolbar\ToolbarItems\ToolbarButton.g.i.cs";"obj\Debug\uap10.0.16299\TextToolbar\Tool
    barItems\ToolbarSeparator.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs";"obj\Debug\uap10.0.16299\TileControl\
    TileControl.g.i.cs";"obj\Debug\uap10.0.16299\TokenizingTextBox\TokenizingTextBox.g.i.cs";"obj\Debug\uap10.0.16299\Token
    izingTextBox\TokenizingTextBoxItem.g.i.cs") do echo #pragma warning disable > %%f.temp && type %%f >> %%f.temp && move
    /y %%f.temp %%f > NUL" exited with code 1.
    
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Windows Community Toolkit.sln" (default target) (1:2) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.SampleApp\Microsoft.Toolkit.Uwp.SampleA
    pp.csproj" (default target) (2:6) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.De
    veloperTools.csproj" (default target) (12:8) ->
    (PragmaWarningDisablePrefixer target) ->
      G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.D
    eveloperTools.csproj(26,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\FocusTracker\FocusTracker.
    g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.1629
    9\FocusTracker\FocusTracker.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma warning disable >
    %%f.temp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    
    
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Windows Community Toolkit.sln" (default target) (1:2) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.SampleApp\Microsoft.Toolkit.Uwp.SampleA
    pp.csproj" (default target) (2:6) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls.DataGrid\Microsoft.Toolkit.
    Uwp.UI.Controls.DataGrid.csproj" (default target) (9:8) ->
      G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls.DataGrid\Microsoft.Toolkit
    .Uwp.UI.Controls.DataGrid.csproj(40,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\DataGrid\DataG
    rid.g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.
    16299\DataGrid\DataGrid.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma warning disable > %%f.
    temp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    
    
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Windows Community Toolkit.sln" (default target) (1:2) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.SampleApp\Microsoft.Toolkit.Uwp.SampleA
    pp.csproj" (default target) (2:6) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls.Graph\Microsoft.Toolkit.Uwp
    .UI.Controls.Graph.csproj" (default target) (25:8) ->
      G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls.Graph\Microsoft.Toolkit.Uw
    p.UI.Controls.Graph.csproj(66,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\AadLogin\AadLogin.g.
    cs";"obj\Debug\uap10.0.16299\PeoplePicker\PeoplePicker.g.cs";"obj\Debug\uap10.0.16299\PlannerTaskList\PlannerTaskList.g
    .cs";"obj\Debug\uap10.0.16299\PowerBIEmbedded\PowerBIEmbedded.g.cs";"obj\Debug\uap10.0.16299\ProfileCard\ProfileCard.g.
    cs";"obj\Debug\uap10.0.16299\SharePointFileList\SharePointFileList.g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";
    "obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.16299\AadLogin\AadLogin.g.i.cs";"obj\Debug\uap10.0.16299
    \PeoplePicker\PeoplePicker.g.i.cs";"obj\Debug\uap10.0.16299\PlannerTaskList\PlannerTaskList.g.i.cs";"obj\Debug\uap10.0.
    16299\PowerBIEmbedded\PowerBIEmbedded.g.i.cs";"obj\Debug\uap10.0.16299\ProfileCard\ProfileCard.g.i.cs";"obj\Debug\uap10
    .0.16299\SharePointFileList\SharePointFileList.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma
     warning disable > %%f.temp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    
    
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Windows Community Toolkit.sln" (default target) (1:2) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.SampleApp\Microsoft.Toolkit.Uwp.SampleA
    pp.csproj" (default target) (2:6) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls\Microsoft.Toolkit.Uwp.UI.Co
    ntrols.csproj" (default target) (8:9) ->
      G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.UI.Controls\Microsoft.Toolkit.Uwp.UI.C
    ontrols.csproj(96,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\BladeView\BladeView.g.cs";"obj\D
    ebug\uap10.0.16299\CameraPreview\CameraPreview.g.cs";"obj\Debug\uap10.0.16299\Carousel\Carousel.g.cs";"obj\Debug\uap10.
    0.16299\DropShadowPanel\DropShadowPanel.g.cs";"obj\Debug\uap10.0.16299\Expander\Expander.g.cs";"obj\Debug\uap10.0.16299
    \Eyedropper\Eyedropper.g.cs";"obj\Debug\uap10.0.16299\Eyedropper\EyedropperToolButton.g.cs";"obj\Debug\uap10.0.16299\Gr
    idSplitter\GridSplitter.g.cs";"obj\Debug\uap10.0.16299\HeaderedContentControl\HeaderedContentControl.g.cs";"obj\Debug\u
    ap10.0.16299\HeaderedItemsControl\HeaderedItemsControl.g.cs";"obj\Debug\uap10.0.16299\HeaderedTextBlock\HeaderedTextBlo
    ck.g.cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropper.g.cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropperThu
    mb.g.cs";"obj\Debug\uap10.0.16299\ImageEx\ImageEx.g.cs";"obj\Debug\uap10.0.16299\InAppNotification\InAppNotification.g.
    cs";"obj\Debug\uap10.0.16299\InAppNotification\Styles\MSEdgeNotificationStyle.g.cs";"obj\Debug\uap10.0.16299\InAppNotif
    ication\Styles\VSCodeNotificationStyle.g.cs";"obj\Debug\uap10.0.16299\InfiniteCanvas\InfiniteCanvas.g.cs";"obj\Debug\ua
    p10.0.16299\LayoutTransformControl\LayoutTransformControl.g.cs";"obj\Debug\uap10.0.16299\Loading\Loading.g.cs";"obj\Deb
    ug\uap10.0.16299\MarkdownTextBlock\MarkdownTextBlock.g.cs";"obj\Debug\uap10.0.16299\MasterDetailsView\MasterDetailsView
    .g.cs";"obj\Debug\uap10.0.16299\Menu\Menu.g.cs";"obj\Debug\uap10.0.16299\OrbitView\OrbitView.g.cs";"obj\Debug\uap10.0.1
    6299\RadialGauge\RadialGauge.g.cs";"obj\Debug\uap10.0.16299\RadialProgressBar\RadialProgressBar.g.cs";"obj\Debug\uap10.
    0.16299\RangeSelector\RangeSelector.g.cs";"obj\Debug\uap10.0.16299\RemoteDevicePicker\RemoteDevicePicker.g.cs";"obj\Deb
    ug\uap10.0.16299\RotatorTile\RotatorTile.g.cs";"obj\Debug\uap10.0.16299\ScrollHeader\ScrollHeader.g.cs";"obj\Debug\uap1
    0.0.16299\TabView\TabView.g.cs";"obj\Debug\uap10.0.16299\TextToolbar\Symbols\Symbols.g.cs";"obj\Debug\uap10.0.16299\Tex
    tToolbar\TextToolbar.g.cs";"obj\Debug\uap10.0.16299\TextToolbar\ToolbarItems\ToolbarButton.g.cs";"obj\Debug\uap10.0.162
    99\TextToolbar\ToolbarItems\ToolbarSeparator.g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.162
    99\TileControl\TileControl.g.cs";"obj\Debug\uap10.0.16299\TokenizingTextBox\TokenizingTextBox.g.cs";"obj\Debug\uap10.0.
    16299\TokenizingTextBox\TokenizingTextBoxItem.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.1629
    9\BladeView\BladeView.g.i.cs";"obj\Debug\uap10.0.16299\CameraPreview\CameraPreview.g.i.cs";"obj\Debug\uap10.0.16299\Car
    ousel\Carousel.g.i.cs";"obj\Debug\uap10.0.16299\DropShadowPanel\DropShadowPanel.g.i.cs";"obj\Debug\uap10.0.16299\Expand
    er\Expander.g.i.cs";"obj\Debug\uap10.0.16299\Eyedropper\Eyedropper.g.i.cs";"obj\Debug\uap10.0.16299\Eyedropper\Eyedropp
    erToolButton.g.i.cs";"obj\Debug\uap10.0.16299\GridSplitter\GridSplitter.g.i.cs";"obj\Debug\uap10.0.16299\HeaderedConten
    tControl\HeaderedContentControl.g.i.cs";"obj\Debug\uap10.0.16299\HeaderedItemsControl\HeaderedItemsControl.g.i.cs";"obj
    \Debug\uap10.0.16299\HeaderedTextBlock\HeaderedTextBlock.g.i.cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropper.g.i
    .cs";"obj\Debug\uap10.0.16299\ImageCropper\ImageCropperThumb.g.i.cs";"obj\Debug\uap10.0.16299\ImageEx\ImageEx.g.i.cs";"
    obj\Debug\uap10.0.16299\InAppNotification\InAppNotification.g.i.cs";"obj\Debug\uap10.0.16299\InAppNotification\Styles\M
    SEdgeNotificationStyle.g.i.cs";"obj\Debug\uap10.0.16299\InAppNotification\Styles\VSCodeNotificationStyle.g.i.cs";"obj\D
    ebug\uap10.0.16299\InfiniteCanvas\InfiniteCanvas.g.i.cs";"obj\Debug\uap10.0.16299\LayoutTransformControl\LayoutTransfor
    mControl.g.i.cs";"obj\Debug\uap10.0.16299\Loading\Loading.g.i.cs";"obj\Debug\uap10.0.16299\MarkdownTextBlock\MarkdownTe
    xtBlock.g.i.cs";"obj\Debug\uap10.0.16299\MasterDetailsView\MasterDetailsView.g.i.cs";"obj\Debug\uap10.0.16299\Menu\Menu
    .g.i.cs";"obj\Debug\uap10.0.16299\OrbitView\OrbitView.g.i.cs";"obj\Debug\uap10.0.16299\RadialGauge\RadialGauge.g.i.cs";
    "obj\Debug\uap10.0.16299\RadialProgressBar\RadialProgressBar.g.i.cs";"obj\Debug\uap10.0.16299\RangeSelector\RangeSelect
    or.g.i.cs";"obj\Debug\uap10.0.16299\RemoteDevicePicker\RemoteDevicePicker.g.i.cs";"obj\Debug\uap10.0.16299\RotatorTile\
    RotatorTile.g.i.cs";"obj\Debug\uap10.0.16299\ScrollHeader\ScrollHeader.g.i.cs";"obj\Debug\uap10.0.16299\TabView\TabView
    .g.i.cs";"obj\Debug\uap10.0.16299\TextToolbar\Symbols\Symbols.g.i.cs";"obj\Debug\uap10.0.16299\TextToolbar\TextToolbar.
    g.i.cs";"obj\Debug\uap10.0.16299\TextToolbar\ToolbarItems\ToolbarButton.g.i.cs";"obj\Debug\uap10.0.16299\TextToolbar\To
    olbarItems\ToolbarSeparator.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs";"obj\Debug\uap10.0.16299\TileContro
    l\TileControl.g.i.cs";"obj\Debug\uap10.0.16299\TokenizingTextBox\TokenizingTextBox.g.i.cs";"obj\Debug\uap10.0.16299\Tok
    enizingTextBox\TokenizingTextBoxItem.g.i.cs") do echo #pragma warning disable > %%f.temp && type %%f >> %%f.temp && mov
    e /y %%f.temp %%f > NUL" exited with code 1.
    

    WindowsCommunityToolKitMsbuildRestoreLog.txt

  8. michael-hawker commented on Oct 29, 2019

    @michael-hawker
    Member

    @azchohfi @onovotny looks like it's complaining on some build command in a few places, E.g.:

    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Windows Community Toolkit.sln" (default target) (1:2) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.SampleApp\Microsoft.Toolkit.Uwp.SampleA
    pp.csproj" (default target) (2:6) ->
    "G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.De
    veloperTools.csproj" (default target) (12:8) ->
    (PragmaWarningDisablePrefixer target) ->
      G:\opensourcegithub\Contribution\WindowsCommunityToolkit\Microsoft.Toolkit.Uwp.DeveloperTools\Microsoft.Toolkit.Uwp.D
    eveloperTools.csproj(26,5): error MSB3073: The command "for %%f in ("obj\Debug\uap10.0.16299\FocusTracker\FocusTracker.
    g.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.cs";"obj\Debug\uap10.0.16299\XamlTypeInfo.g.cs";"obj\Debug\uap10.0.1629
    9\FocusTracker\FocusTracker.g.i.cs";"obj\Debug\uap10.0.16299\Themes\Generic.g.i.cs") do echo #pragma warning disable >
    %%f.temp && type %%f >> %%f.temp && move /y %%f.temp %%f > NUL" exited with code 1.
    

    Any ideas?

    @dj-fiorex @chan18 to confirm do you have the release build .NET Core 3 installed?

  9. chan18 commented on Oct 29, 2019

    @chan18
    PS C:\Users\chandu> dotnet --info
    .NET Core SDK (reflecting any global.json):
     Version:   3.1.100-preview1-014459
     Commit:    ac3b59712d
    
    Runtime Environment:
     OS Name:     Windows
     OS Version:  10.0.17763
     OS Platform: Windows
     RID:         win10-x64
     Base Path:   C:\Program Files\dotnet\sdk\3.1.100-preview1-014459\
    
    Host (useful for support):
      Version: 3.1.0-preview1.19506.1
      Commit:  bbf5542781
    
    .NET Core SDKs installed:
      2.2.105 [C:\Program Files\dotnet\sdk]
      2.2.402 [C:\Program Files\dotnet\sdk]
      3.0.100 [C:\Program Files\dotnet\sdk]
      3.1.100-preview1-014459 [C:\Program Files\dotnet\sdk]
    
    .NET Core runtimes installed:
      Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
      Microsoft.AspNetCore.All 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
      Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.AspNetCore.App 3.1.0-preview1.19508.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.NETCore.App 3.1.0-preview1.19506.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
      Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
      Microsoft.WindowsDesktop.App 3.1.0-preview1.19506.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    
    To install additional .NET Core runtimes or SDKs:
      https://aka.ms/dotnet-download
    
  10. modified the milestones: 6.0, 6.1 on Nov 13, 2019
  11. michael-hawker commented on Nov 18, 2019

    @michael-hawker
    Member

    Tagging to NuGet/Home#8388

  12. added a commit that references this issue on Dec 23, 2019
    6b548da
  13. added a commit that references this issue on Dec 23, 2019
    7eb9c0b
  14. michael-hawker commented on Dec 24, 2019

    @michael-hawker
    Member

    @dj-fiorex @chan18 sorry for the delay on this, the NuGet team was able to help us find a workaround to NuGet/Home#8388. Can you try re-cloning and running from just in VS 2019 and see if you're able to build now? If not, please let us know. Thanks!

  15. unpinned this issue on Jan 30, 2020
  16. ghost locked as resolved and limited conversation to collaborators on Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions