Bug 25010 - [Sketches][C#] evaluator does "refresh" updated assemblies
Summary: [Sketches][C#] evaluator does "refresh" updated assemblies
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Sketches ()
Version: 5.7
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Sketches Dev List
URL: http://forums.xamarin.com/discussion/...
Depends on:
Reported: 2014-12-02 15:54 UTC by Aaron Bockover [MSFT]
Modified: 2018-01-30 15:48 UTC (History)
3 users (show)

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 or GitHub 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 Aaron Bockover [MSFT] 2014-12-02 15:54:28 UTC
From the forums (http://forums.xamarin.com/discussion/comment/91149/#Comment_91149)

"Except it seems to "hang onto" the image. If I have a sketch referencing the assembly, then recompile the assembly, then rerun the sketch, it uses the old assembly. I have to close and reopen the sketch to fix this."


Looks like the assemblies stick around in the app domain in the agent and don't get updated. We may need to monitor for changes and unload, or explicitly reload all user-referenced assemblies on each eval.