Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 for Bug 22190 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In MyiOSProject.csproj file I have these conditional compilation constants defined for Ad-Hoc configuration:
The first two are added by default and the third is my custom one.
Next time I open MyiOSProject project properties in Visual Studio (context menu: Properties). Then go to build tab. Choose configuration to Ad-Hoc. In Conditional compilation symbols field I see this: "__IOS__;__MOBILE__;MYCONSTANT;__IOS__;__MOBILE__". So default constants are duplicated.
I have checked this issue and I am able to reproduce this issue.
Steps I have followed:
1. Create an iOS SingleViewApplication on VS2013.
2. Open Build option from iOS property window (right click on project => Properties=> Build).
3. Add a new "Conditional Compilation Symbol" to already exits symbol.
4. Close the solution.
5. Reopen the solution.
6. Repeat step 2 and check the values of "Conditional Compilation Symbol".
When I add a new custom symbol in the "Conditional Compilation Symbol" field and then close the solution. When I reopen the solution I observed that in "Conditional compilation symbols" field default constants are duplicated like as
I have also check the same without adding a new custom symbol and observed that it is working fine. It doesn't duplicate the default constants.
Windows 6.1.7601.65536 (64-bit)
Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Installed Version: Professional
Xamarin : 188.8.131.52 (0b2a123923812a88ed3091909478dbe9e0111f00)
Mac OS X 10.9.2
Xcode 5.1.1 (5085)
Mono 3.8.0 ((no/62a857e)