Bug 30826 - Visual Studio does not apply updates in builds with PCL
Summary: Visual Studio does not apply updates in builds with PCL
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.11 (C5)
Hardware: Macintosh Windows
: --- normal
Target Milestone: 4.0.0 (C6)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-04 20:42 UTC by James
Modified: 2015-09-24 08:36 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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:
Status:
RESOLVED FIXED

Description James 2015-06-04 20:42:12 UTC
When making updates to iOS code in Visual Studio, the updates are not caught and built into the compiled DLL, and an older version of the dll is used instead. To force a proper build you need to clean, rebuild then deploy each time you want want to make updates to your app.

Steps to Reproduce
1. Open Visual Studio
2. Create a new Xamarin.Forms Portable application
3. Deploy to Simulator
4. Add a XAML file for a new view, or modify the existing view to have a new message
5. Deploy to Simulator -> Notice the changes are not reflected
6. Do a full clean of the solution, rebuild, deploy, changes are reflected.

Discovered by a customer and then in turn replicated on my machine.
Comment 1 James 2015-06-04 20:42:26 UTC
Version Info

Microsoft Visual Studio Enterprise 2015 RC
Version 14.0.22823.1 D14REL
Microsoft .NET Framework
Version 4.6.00057

Installed Version: Enterprise

Architecture and Modeling Tools   00269-30000-00001-AA852
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015 RC   00269-30000-00001-AA852
Microsoft Visual Basic 2015 RC

Visual C# 2015 RC   00269-30000-00001-AA852
Microsoft Visual C# 2015 RC

Visual C++ 2015 RC   00269-30000-00001-AA852
Microsoft Visual C++ 2015 RC

Visual F# 2015 RC   00269-30000-00001-AA852
Microsoft Visual F# 2015 RC

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools RC   14.0.20417.0
ASP.NET and Web Tools RC

ASP.NET Web Frameworks and Tools 2013   5.2.30411.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.4
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Code Digger   0.9
Microsoft Code Digger

Microsoft.Pex.VisualStudio   1.0
Pex

NuGet Package Manager   3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   14.0.50325.0
Microsoft SQL Server Data Tools

Visual F# Power Tools   1.8.0
Visual F# Power Tools

Xamarin   3.11.590.0 (5160db7)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.3.1 (d419c934e6ce2113653ff4c40214e3a5d5a69440)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.10.1.0 (fce006eae308515fc1eaf85fcc0f90699d9c7e8b)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2015-06-04 20:46:45 UTC
Looks like a duplicate of Bug 25811.
Comment 4 Daniel Cazzulino 2015-07-29 11:05:48 UTC
Fixed in XMA@efcab9704a7c881b7fb5e4b5dd6db5c51ce40df8 ! Finally!! :D