Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Error MSB4018: The "GenerateResourceDesigner" task failed unexpectedly.

$
0
0

I am getting the following error message when compiling:

C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error MSB4018: The "GenerateResourceDesigner" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.Android.Tasks.ResourceDesignerImportGenerator.CreateImportFor(TypeDefinition type, CodeMemberMethod method) at Xamarin.Android.Tasks.ResourceDesignerImportGenerator.CreateImportMethods(IEnumerable`1 libraries) at Xamarin.Android.Tasks.GenerateResourceDesigner.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext() (MSB4018) (DashboadTV)

ERROR ON BUILD OUTPUT

C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: The "GenerateResourceDesigner" task failed unexpectedly. C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object. C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: at Xamarin.Android.Tasks.ResourceDesignerImportGenerator.CreateImportFor(TypeDefinition type, CodeMemberMethod method) C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: at Xamarin.Android.Tasks.ResourceDesignerImportGenerator.CreateImportMethods(IEnumerable`1 libraries) C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: at Xamarin.Android.Tasks.GenerateResourceDesigner.Execute() C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(641,2): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext()

0 Warning(s)

1 Error(s)

Help me please!


Viewing all articles
Browse latest Browse all 204402

Trending Articles