Bug 26485 - Profiler can't start with not «Debug» solution configuration name.
Summary: Profiler can't start with not «Debug» solution configuration name.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 5.9
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-27 22:39 UTC by Vlad Servitola
Modified: 2015-03-17 11:15 UTC (History)
3 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 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:
Status:
RESOLVED FIXED

Description Vlad Servitola 2015-01-27 22:39:56 UTC
Visual Studio Utimate 2013 12.0.31101.00 Update 4
Xamarin 3.9.236.0
Xamarin.Profiler 0.10.720.0

I have different solution configurations: Debug, Debug-Staging, Debug-Production. 
When I try to start profile android project with Debug-Staging or Debug-Production configuration I receive message: 
«Profiling is not supported for this build configuration. You can enable both profiling and debugging for this build by checking "Enable developer instrumentation" in Project Build Options»
But I have this option ON in all configuration. I have tried to switch this option off. Then profiler offers to switch it on. Then I receive message «Profiling is not supported…» again.
With Debug Configuration everything works fine. Debug's PropertyGroup node from Android project file is identical with Debug-Staging except
<DefineConstants>TRACE;DEBUG;LOCAL</DefineConstants> for Debug
<DefineConstants>TRACE;DEBUG;STAGING</DefineConstants> for Debug-Staging
Comment 1 Marius Ungureanu 2015-02-04 13:52:30 UTC
Hey!

Can you paste the <Mtouch*> elements of the csproj file of the startup project?
Comment 2 Marius Ungureanu 2015-02-04 13:55:57 UTC
Disregard my above comment, this is Android we're talking about. I'll come back with a response in a bit.
Comment 3 Marius Ungureanu 2015-03-17 10:26:06 UTC
Fixed in master.