VS2008 SP1
The C# compiler is giving me "Generate" task failed unexpectedly ... (Image.Save) when I try to compile my project, which has a resx file to which I've added a TIFF file.
I haven't yet written any code to reference the resource -- just having the TIFF file 开发者_如何学运维included in the resource causes the compile failure.
How can I compile this project?
I had this problem with VS2008 SP1 Pro Edition (9.0.30729.1 SP) when I tried to add TIFF files to my Resource.
Renaming the "TIFF" file to use a .dat extension (anything non-.tif is the point, I think) before adding it to the Resource solved the problem for me.
精彩评论