Bug 57685 - UWP project needs building (and restoring!) upon unfolding, else users see 15+ errors.
Summary: UWP project needs building (and restoring!) upon unfolding, else users see 15...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: Normal critical
Target Milestone: 15.5
Assignee: Joaquin Jares
Depends on:
Reported: 2017-06-22 11:14 UTC by Neeraj Deshmukh
Modified: 2017-10-27 10:59 UTC (History)
9 users (show)

Tags: TemplateRefresh,Globallogic
Is this bug a regression?: No
Last known good build:

ide logs for multiple build error cross platform (12.35 KB, application/octet-stream)
2017-06-22 11:14 UTC, Neeraj Deshmukh

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Neeraj Deshmukh 2017-06-22 11:14:39 UTC
Created attachment 23053 [details]
ide logs for multiple build error cross platform

When we create CrossPlatform >Blank app >Xamarin.Forms shared project gets multiple build errors

##Test plan link:-

##Reproducible 100%

##Step to reproduce:-
1. Create CrossPlatform >Blank app >Xamarin.Forms shared project

##Expected result:- Project should get created sucessfully withput any errors

##Actual result:- Project create with multiple errors

##Errors gist link:-

##Supplemental info:-
Screencast link : https://www.screencast.com/t/nSodWGYt0xks
Logs Attached :

##Environment info:-
Microsoft Visual Studio Enterprise 2017 d15rel
Version 15.3.0 [26620.11111.d15rel]
Microsoft .NET Framework Version 4.6.01586
Xamarin (60c3d0e)
Xamarin.Android SDK (5a73b38)
Xamarin.iOS and Xamarin.Mac SDK (104e7b4)
Xamarin.Forms Template version 0.5.504

##Details build version:
Comment 1 Joaquin Jares 2017-06-22 12:25:16 UTC
This issue goes away after the first build of UWP (which is not the default). Marking as Confirmed, lowering priority and moving to 15.4 as the workaround is trivial.
Comment 2 Sumanta Welekar 2017-06-23 11:13:01 UTC
This issue is also happening on VS 2015 

Build info -

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Xamarin (a5ed8bf)
Xamarin.Android (5f3167a)
Xamarin.iOS (104e7b4)

Getting 21 errors like 

1-CS0103 The name 'InitializeComponent' does not exist in the current context	Blank_Forms_Shared.iOS
2-CS0246 The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Comment 3 Pierce Boggan [MSFT] 2017-09-27 15:52:16 UTC
We have identified a potential fix for this issue (thank to the UWP team!), but this fix will be Visual Studio 2017 only. We don't intend to fix this issue for Visual Studio 2015 (as there is really nothing we can do to resolve it, according to the UWP team).
Comment 5 Neeraj Deshmukh 2017-10-27 10:59:47 UTC
Visual Studio Enterprise 2017 for Mac (Preview)
Version 7.3 Preview (7.3 build 739)
Complete Build Info:
Working fine. Hence marking as Verified.