PDA

View Full Version : Build warning -6211 is misleading



bahadir
04-16-2007, 09:14 PM
Hi,
I find this warning message:

"ISDEV : warning -6211: Destination of Component <component name> is GlobalAssemblyCache but key file is not a .NET assembly"

misleading because this warning appears when the actual file is missing! As soon as copied back the physical file to its source location, the warning didnt appear. As soon as I remove the file, this warning reappears.

To reproduce:
1. Create 2 components and add the same physical file so it references that file.
2. Now, remove the physical file.
3. Build it, and you will receive this warning message.

I may be picky, but this warning should state the obvious, not something else.
Also, this file IS a .NET assembly, it simply didnt exist.

Bahadir.

MichaelU
04-17-2007, 09:56 AM
Do you get the "correct" error later on in the build process (if you don't have stop on first error selected)? If so, while I agree it's not as useful a message as it could be, it's also not exactly incorrect...

bahadir
04-17-2007, 06:55 PM
Hi Michael,

Yes I do, but it is confusing because it will state:


ISDEV : error -6103: Could not find file <filename>

but this <filename> is different to the component name, and if you have alot of these, then this causes confusion. <filename> cannot be renamed to the <componentname> in instances where you have multiple component names referencing the one file.

MichaelU
04-18-2007, 09:42 AM
Bahadir,
Ahah, I hadn't considered that unfortunate part of the error message interaction. I've put in WO# IOC-000059322 to track this request. Thanks!

bahadir
04-18-2007, 07:06 PM
no problem. thanks for looking into this.