Bug 41518 - Droid project do not compile when the folder has accentuation(error CS0117)
Summary: Droid project do not compile when the folder has accentuation(error CS0117)
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.1 (C9)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Eric Maupin
Depends on:
Reported: 2016-06-05 15:07 UTC by Tales
Modified: 2017-06-28 11:26 UTC (History)
7 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 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:

Description Tales 2016-06-05 15:07:14 UTC
I created a new project in this folder:

I Compiled Droid project using my phone Motorola XT1097(Android 6.0) and I received this message:

Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
1>------ Build started: Project: App1.Droid, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1042,2): warning : obj\Debug\libraryimports.cache does not exist. No Imported Libraries found
1>D:\Programação\Xamarin\App1\App1\App1.Droid\Resources\Resource.Designer.cs(736,104,736,119): error CS0117: 'Resource.String' does not contain a definition for 'ApplicationName'
1>D:\Programação\Xamarin\App1\App1\App1.Droid\Resources\Resource.Designer.cs(737,94,737,99): error CS0117: 'Resource.String' does not contain a definition for 'Hello'
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

I created a new project, but now, I changed the folder from D:\Programação\Xamarin to D:\Programacao\Xamarin
Comment 1 Jose Gallardo 2016-12-23 14:07:03 UTC
Hi, it looks like a build error.
Can you please confirm you get the same error building from the command-line?

Moving the bug to Android for visibility from the right team.

Thanks for reporting!
Comment 2 Prashant [MSFT] 2017-06-28 11:26:44 UTC
Unfortunately, we’re unable to reproduce this report. If this issue is still occurring for you, please reopen this issue and attach a reproduction to the bug by starting with a clean Xamarin.Android project adding just the code necessary to demonstrate the issue.