﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Error: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 10 May 2026 17:21:20 GMT</lastBuildDate><ttl>20</ttl><item><title>Error: The "GenerateResource" task failed unexpectedly in win 7 - 64 bit ?</title><link>http://forum.strataframe.net/FindPost33508.aspx</link><description>I'm using VS2005. In win7 when I press the Rebuild Solution button under the error, but in winxp not error and run very well. Pay attention to win7 64 bit and 32 bit winxp.&lt;div&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Error&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;1&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;The "GenerateResource" task failed unexpectedly.&lt;div&gt;System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Drawing.Image.Save(MemoryStream stream)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Drawing.Image.System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo si, StreamingContext context)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Resources.ResourceWriter.WriteValue(ResourceTypeCode typeCode, Object value, BinaryWriter writer, IFormatter objFormatter)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Resources.ResourceWriter.Generate()&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Resources.ResourceWriter.Dispose(Boolean disposing)&lt;div&gt;&amp;nbsp; &amp;nbsp;at System.Resources.ResourceWriter.Close()&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.Tasks.ProcessResourceFiles.WriteResources(IResourceWriter writer)&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.Tasks.ProcessResourceFiles.WriteResources(String filename)&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.Tasks.ProcessResourceFiles.ProcessFile(String inFile, String outFile)&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, ArrayList inputs, ArrayList outputs, Boolean sourcePath, String language, String namespacename, String filename, String classname, Boolean publicClass)&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.Tasks.ProcessResourceFiles.Run(TaskLoggingHelper log, ITaskItem[] assemblyFilesList, ArrayList inputs, ArrayList outputs, Boolean sourcePath, String language, String namespacename, String filename, String classname, Boolean publicClass)&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.Tasks.GenerateResource.Execute()&lt;div&gt;&amp;nbsp; &amp;nbsp;at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean&amp;amp; taskClassWasFound)&lt;span class="Apple-tab-span" style="white-space:pre"&gt;	&lt;/span&gt;Shop</description><pubDate>Tue, 01 Aug 2017 02:31:51 GMT</pubDate><dc:creator>Dong Trien Lam</dc:creator></item></channel></rss>