"The 'GenerateResource' task failed unexpectedly." Another Issue?

J

jonfroehlich

I am running VS2005 and building a .NET CF 2.0 app in C#. Recently I've
been getting the following error when I compile:

The "GenerateResource" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance
of an object.
at
Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception
e)
at Microsoft.Build.Tasks.GenerateResource.NeedSeparateAppDomain()
at Microsoft.Build.Tasks.GenerateResource.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask,
BuildPropertyGroup projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) MeLib

Typically, I could rid myself of this error by restarting VS2005,
cleaning the solution and rebuilding. However, this is no longer
working. In fact, no matter what I do, I always receive this
compilation error.

Does anybody know what's going on here?

The post listed below talks about another "GenerateResource" issue but
I'm not sure it's related to my situation.
http://groups.google.com/group/micr...sk+failed+unexpectedly.&#doc_95b67afe2bf6afda

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top