Bug 15534 - Pricing Trigger doesn't pop up when user creates new project in VS
Summary: Pricing Trigger doesn't pop up when user creates new project in VS
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Activation ()
Version: 1.8.x
Hardware: PC Windows
: High critical
Target Milestone: 1.8.x (VS2013)
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2013-10-21 06:48 UTC by Atin
Modified: 2013-10-23 09:51 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:
VERIFIED FIXED

Description Atin 2013-10-21 06:48:02 UTC
Condition: User is not logged in and there is no License on disk

Steps to reproduce:
1. Open VS
2. Create a new iOS or MFA project
3. Project created

Actual result:
Observe that on creating project VS doesn't prompt for pricing trigger. However Project is created but it doesn't load and when we try to reload the project it also doesn't prompt for pricing trigger. 

Screen cast: http://screencast.com/t/WMkml1e8V

Expected result:
Pricing Trigger should prompt in VS after creating project and also on reloading project.

Environment info:
Windows 7 and 8
MTVS 1.8.25
VS 2013
MT 7.0.4.84

Regression Status: REGRESSION, This is working fine with stable MTVS 1.3.250
Comment 1 Alan McGovern 2013-10-21 16:59:50 UTC
Fixed in master. I ported to new activation incorrectly in one place and that place controlled this dialog for both of those scenarios.
Comment 2 Alan McGovern 2013-10-21 17:10:52 UTC
Actually the events are broken, 'Reload Project' still does not work.
Comment 3 Alan McGovern 2013-10-21 18:34:42 UTC
'Reload Project' works as expected. When QA are testing they should be aware of this 'feature' of VS:

1) Start Visual Studio while logged out of the xamarin account (with no license)
2) Open a project or create a new one
3) Choose 'Cancel' when prompted to log in to your xamarin account
4) The project will be in the unloaded state
5) Right click and choose 'Reload Project'
6) Click cancel again on the log in prompt
7) Right click and choose 'Reload Project' one more time

This time you will not get prompted to log in and you never will again. This is a Visual Studio feature of some kind. To work around this you need to close the solution and re-open it.

There is no way to 'fix' this situation once we block solution loading multiple times as VS stops calling the events and stops attempting to load the csproj.
Comment 4 Mohit Kheterpal 2013-10-22 12:32:49 UTC
Today we have checked this issue on following builds :

VS 2012 / 2013
MTVS 1.8.31
MT 7.0.4.85

Pricing Trigger Still not prompt in VS after creating project. Hence, Reopen this issue.
Comment 5 PJ 2013-10-22 13:01:49 UTC
I'll need to get you guys a new build after Alan's merge, he's fixed this now.
Comment 6 Nischal 2013-10-23 09:51:48 UTC
Today we have checked this issue on following buids :

VS 2013
MTVS 1.8.65
MT 7.0.4.86

Now we are getting pricing trigger when we create new application in VS.

Hence verifying this issue.