Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
agneszitte opened this issue Sep 19, 2019 · 9 comments · Fixed by #3084
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior build 🔥 Completed 🔥 visual studio 🔀
Milestone

Comments

@agneszitte
Copy link
Contributor

agneszitte commented Sep 19, 2019

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

@agneszitte agneszitte added the bug 🐛 An unexpected issue that highlights incorrect behavior label Sep 19, 2019
@ghost ghost added the needs triage 🔍 label Sep 19, 2019
@agneszitte
Copy link
Contributor Author

@michael-hawker

@michael-hawker
Copy link
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?

@dj-fiorex
Copy link

@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

@michael-hawker
Copy link
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?

@chan18
Copy link

chan18 commented Oct 29, 2019

@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

@michael-hawker
Copy link
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?

@chan18
Copy link

chan18 commented Oct 29, 2019

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

@michael-hawker
Copy link
Member

Tagging to NuGet/Home#8388

michael-hawker added a commit that referenced this issue Dec 23, 2019
Tested with VS 2019 16.5 Preview 1
@ghost ghost added the In-PR 🚀 label Dec 23, 2019
@ghost ghost added Completed 🔥 and removed In-PR 🚀 labels Dec 23, 2019
@michael-hawker
Copy link
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!

@michael-hawker michael-hawker unpinned this issue Jan 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior build 🔥 Completed 🔥 visual studio 🔀
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants