Bug 9797 - Projects with a period in the name
Summary: Projects with a period in the name
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 0.x Insider Preview
Hardware: PC Mac OS
: High critical
Target Milestone: 1.3.x
Assignee: Vinicius Jarina
: 9982 ()
Depends on:
Reported: 2013-01-25 12:20 UTC by James Clancey
Modified: 2013-05-30 10:54 UTC (History)
8 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 James Clancey 2013-01-25 12:20:22 UTC
MTVS is removing periods from the produced exe.  This is causing issues during compiling/deploying.


Steps to reproduce: Add a period in the project namespace. Or go to components and add Alert Center. Then build the iOS sample.
Comment 1 Vinicius Jarina 2013-01-28 07:41:03 UTC
Hello Clancey,

It seems not to be a VS issue. Instead, it seems the AlertiOSSample.csproj have no periods in the AssemblyName

Comment 2 Vinicius Jarina 2013-02-01 12:23:02 UTC
*** Bug 9982 has been marked as a duplicate of this bug. ***
Comment 3 Jatin 2013-02-07 06:14:39 UTC
Today, we have verified this issue with the latest build:

MTVS 1.0.848
VS 2012/2010 

We have observed that the issue still exists and the root cause of this issue is:

For some of the application for example the iOS sample of the Component Range Slider.

As if the Assembly name of the application contains periods in between it, then when the user try to debug the application it gives the deployment error, and does not debug the application successfully.

However, when the user removes those periods from the assembly name, and then try to debug the application it successfully deploys to the device as well as on the simulator.
Below is the screencast for the same:

Here is the path of the assembly name: 
Project Option >> Application >> Assembly name

Hence, reopening this issue.
Comment 4 Vinicius Jarina 2013-02-07 13:50:17 UTC
Hello Jatin, the csproj is invalid, the AssemblyName is "RangeSlider"


For some reason VS behave different from XS (and is displaying RangeSlider.iOS.Sample).

So, every other csprojs with period or not are working. :)
Comment 5 Jatin 2013-02-11 02:43:24 UTC
An update to the above issue:

As per our understanding this should not be an invalid issue. As this is happening for only few applications.

In case of VS: 

In the project properties the assembly name is appearing as "RangeSlider.iOS.Sample" whereas, the assembly of this sample is generated with the name of "RangeSlider.exe" at the location: 

C:\Users\win7\Documents\Visual Studio 2012\Projects\HelloWorld_App11\Components\rangeslider-1.0\samples\RangeSlider.iOS.Sample\bin\iPhoneSimulator\Debug

And since system tries to search for assembly name "RangeSlider.iOS.Sample" and not able to find that, it gives the error message and the application does not deploy to device/simulator.

In case of MD on Mac:

However, when we check the same using MD on the Mac environment, then for the same sample in the Project option -> Output the assembly name is appearing as "RangeSlider" and also the assembly is getting generated with the same name. 

So this issue is not appearing on the Mac environment using MD.

Note: This issue is appearing only on VS and for few applications not for all.

PJ, please review our assessment for this bug and take further appropriate action.

AS of now reopening this issue.
Comment 6 Vinicius Jarina 2013-02-15 08:55:21 UTC
Helo Jatin

Are you able to create a project with dot on XS or VS and repro the error?
Comment 7 PJ 2013-02-20 06:46:37 UTC
There are different assembly name fields for XS and VS, we should set both perhaps.
Comment 8 Vinicius Jarina 2013-03-27 15:22:45 UTC
Fixed in mtvs-
Comment 9 Mohit Kheterpal 2013-05-30 10:54:22 UTC
Today we have checked this issue on following builds :

VS 2012
MTVS 1.2.103
Mono 2.10.12

If name of the application contains periods in between it and when we try to debug the application it deploys on device/simulator successfully.

It create .exe file without periods.

Like if name of application is "create.new.test.1" then it create exe with name "createnewtest1.exe" 

Hence changing its status to verified.