N
~~~ .NET Ed ~~~
this seems like a bug to me. I use VS.NET 2003 with the framework v1.1. I
had a project that grouped all the common forms I would use in other
solutions. There are icons associated with these forms.
This week I had to reorganize my development tree, things got moved around
by prune & graft. It appears that for *some* icons the IDE uses a relative
path rather than an absolute path.
When I compile my common-forms project it fails with the following message:
"Error generating Win32 resource: Error reading icon
'E:\develop\lib\icons\relationtree.ico'-- The system cannot find the path
specified."
I looked at all the forms and don't see the missing icon. I remember one of
them used that icon, but now that the tree has been moved all the forms
display fine in design mode but does not build the project due to that
problem.
I went around removing adding the Form icons of the various forms because I
think that's where I used it. The problem still persists. The other icons in
the form display fine and are not missing so I must be one of the Form level
icons.
What I find annoying is:
a) The IDE throws the error but does not give the slightest clue as to WHICH
file uses the offending icon!
b) That it somehow remembers the "relative path" and filename of the icon
but does not appear to have that information ANYWHERE in the project
directory! I did a search on ALL the files (Find in files, *.*) for the base
name of the icon (relationtree and just that) and it cannot find it
anywhere.
So now I am stumped, can't compile my project, don't know where on earth
this stubborn IDE is getting the path and name of the icon.
Any help? this is certainly a bug, I wish it was just at least a bit
friendlier in the message, it sounds like "There is a dead person in the
city" yeah right, how helpful is that? I don't really feel like deleting the
forms one by one and recreating them all over again.
had a project that grouped all the common forms I would use in other
solutions. There are icons associated with these forms.
This week I had to reorganize my development tree, things got moved around
by prune & graft. It appears that for *some* icons the IDE uses a relative
path rather than an absolute path.
When I compile my common-forms project it fails with the following message:
"Error generating Win32 resource: Error reading icon
'E:\develop\lib\icons\relationtree.ico'-- The system cannot find the path
specified."
I looked at all the forms and don't see the missing icon. I remember one of
them used that icon, but now that the tree has been moved all the forms
display fine in design mode but does not build the project due to that
problem.
I went around removing adding the Form icons of the various forms because I
think that's where I used it. The problem still persists. The other icons in
the form display fine and are not missing so I must be one of the Form level
icons.
What I find annoying is:
a) The IDE throws the error but does not give the slightest clue as to WHICH
file uses the offending icon!
b) That it somehow remembers the "relative path" and filename of the icon
but does not appear to have that information ANYWHERE in the project
directory! I did a search on ALL the files (Find in files, *.*) for the base
name of the icon (relationtree and just that) and it cannot find it
anywhere.
So now I am stumped, can't compile my project, don't know where on earth
this stubborn IDE is getting the path and name of the icon.
Any help? this is certainly a bug, I wish it was just at least a bit
friendlier in the message, it sounds like "There is a dead person in the
city" yeah right, how helpful is that? I don't really feel like deleting the
forms one by one and recreating them all over again.