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 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.
Created attachment 16490 [details]
Alert Box with $safeprojectname$ as name of app
Hi Xamarin Team,
Can someone help me with this SO question . Did not get any response at SO. Hope you Geeks will resolve this quickly.
Replacing the $safeprojectname$ with the projectname not working,When we uninstall this Xamarin.Form app from android device we are getting attached alert box with $safeprojectname$ as a name of app instead of actual name of the app.
Looks like while compiling the value of $safeprojectname$ is not getting replaced with the application name.
Therefore, let us know how to fix this bug.
$safeprojectname$ is a variable used by the Visual Studio templating system; it should be replaced with the name of your project at project creation time.
Is this happening on new projects you create? Are you using Visual Studio or Xamarin Studio? Can you upload a project which reproduces this error?
The XF Team
I encountered this problem after I created a Portable model project from scratch from Visual Studio.
I get this too using visual studio with xamarin 188.8.131.52 and xamarain android 184.108.40.206 - just made a blank new pcl forms app with the wizard with ios and android projects. Build, run, then uninstall from a device using marshmallow. I get $safeprojectname every time.
I can confirm this happens in Visual Studio 2015 with Update 3. It looks like the $safeprojectname$ variable is not getting its value substituted in the AndroidManifest.xml template (though it seems to be working everywhere else in the generated project).
As a temporary workaround, you can manually edit the AndroidManifest.xml file in your Android project (it's under the Properties folder) or through the GUI by going to the projects 'Properties' page and using the 'Android Manifest' tab.
We've added several improvements to the cross-platform templates, that should be already addressing this issue.
I'm marking the bug tentatively as resolved, but if you can still reproduce the issue with XVS 4.3.x (currently in the Alpha channel) please feel free to reopen.