Bug 17334 - Unloaded projects is loaded again in Visual Studio 2013
Summary: Unloaded projects is loaded again in Visual Studio 2013
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.8.x
Hardware: PC Windows
: Normal normal
Target Milestone: 3.1
Assignee: Vinicius Jarina
: 18820 ()
Depends on:
Reported: 2014-01-20 13:09 UTC by Andy
Modified: 2014-06-04 14:49 UTC (History)
11 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 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 Andy 2014-01-20 13:09:33 UTC
Uninstalling XS plugin from PC solves the issue.

See here:

This seems solved but it's still happening on VS2013
Comment 1 Mohit Kheterpal 2014-01-28 07:02:13 UTC
Today we have checked this issue. And below is our observations :

Steps that we have followed:
1. Create a console app in VS.
2. Add iOS Library project in solution
3. Unload the library project
4. Close the solution
5. Observe that after clicking on close solution, we are getting Save file
changes with 'Yes' and 'No' option.
We have checked with the options and observation as follows:

Case 1: If we click on 'Yes' Button and reopens the VS with Same project, then
unloaded Library project appears as loaded in Solution Explorer of VS.

Screencast for the same:  http://screencast.com/t/1aGq1IpI5Amo

Case 2: If we click on 'No' button and reopens the VS with same project, then
unloaded Library project doesn't appears in Solution Explorer of VS. 

Screencast for the same:  http://screencast.com/t/pny8KMR5dlu

Please let us know if we have to check something else?
Comment 2 Andy 2014-01-28 07:12:07 UTC
What do you mean ? If we say 'Yes', it shouldn't reload the project the next time, right ?
Comment 3 Andy 2014-01-28 07:19:54 UTC
Maybe we haven't understood each other, let me be more clear.

What I do is this:

- Open a solution I already had with multiple projects
- Unload an exe Project 
- Close the solution. No dialog appears
- Reopen solution: the exe Project is still loaded <<<< this is incorrect, do you agree ?

Then, I can try:

- Uninstall Xamarin plugin
- Repeat the above
- at the last step the exe Project is correctly unloaded <<<< this is correct and shows the plugin is the problem. Do you agree ?
Comment 4 Andy 2014-03-11 14:12:44 UTC
Is this a "Feature" now of your plugin ? Because it's annoying as hell, and it's (naturally) still there after the last stable update. 

Please make it stop interfering with normal use of programming with VS. 

By the way, don't bother answering me. Thanks.
Comment 5 Mohit Kheterpal 2014-03-11 14:48:30 UTC
@Andy : Really sorry for the late reply.

Yes, I agree with you. After reopen project, it should not open the unloaded project again. 

Actually, I have already marked this issue as CONFIRMED with comment 1.
Comment 6 Andy 2014-03-11 14:56:39 UTC
Don't worry about the late reply, it's the norm here. And don't worry about my sarcastic tone: apparently your team is very annoyed that I discover too many bugs.

So we should wait ... how long for a 'in progress' and maybe a fix ? 

It's very annoying not to be able to work properly in VS on stuff DIFFERENT than Xamarin. Which is pretty comic, since the VS plugin is still pretty much unusable, but manages to cripple non-Xamarin stuff.
Comment 9 Vinicius Jarina 2014-04-24 00:57:09 UTC
*** Bug 18820 has been marked as a duplicate of this bug. ***
Comment 11 Vinicius Jarina 2014-04-24 09:12:27 UTC
Fixed in master.
Comment 12 Brendan Zagaeski (Xamarin Team, assistant) 2014-05-21 17:17:15 UTC
## Temporary partial workaround

Just in case it might be helpful for some users until the bug fix is released, I noticed that logging out of my Xamarin account ("Tools -> Xamarin Account") was sufficient to stop the problem.

It's not a complete workaround since it doesn't help when working on Xamarin projects in solutions that also contain unloaded projects, but it might be helpful for solutions that don't contain any Xamarin projects.
Comment 13 John Miller [MSFT] 2014-05-29 12:55:06 UTC
I was able to reproduce this issue with:

Microsoft Visual Studio Premium 2013
Version 12.0.30324.00 Update 2 RC
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Premium

Xamarin (d3cf238e3845e930e312b6ec9b4c6c5437c33067)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android

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

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

The workaround in comment #12 did work.
Comment 14 Brendan Zagaeski (Xamarin Team, assistant) 2014-05-29 13:18:44 UTC
The fix has not yet been released (see also https://bugzilla.xamarin.com/show_bug.cgi?id=10670#c7). I suspect it will be in the next beta now that Xamarin 3 is in stable.
Comment 15 Andy 2014-05-29 13:26:06 UTC
Really guys. This quantity of bugs requires faster iteration. It's a bug from a year and half ago
Comment 17 Atin 2014-06-04 14:44:38 UTC
Today, I have checked this issue with:
VS 2013
XVS 3.1.159
Windows 8

Now this issue doesn't exists, unloaded project is not loaded again when we reopen the VS. Here is the screencast for the same: http://screencast.com/t/nOjkzW0I1lU

Hence marking this as Verified Fixed.
Comment 18 Andy 2014-06-04 14:49:55 UTC
Have a go with vs2010 too