草庐IT

Assemblies

全部标签

visual-studio - VS2005 : Assembly '<assembly>' is incorrectly specified as a file.

我已在我的项目中添加了对log4net程序集dll的引用。当我构建时,我收到一条警告:WarningAssembly'Lib\log4net.dll'isincorrectlyspecifiedasafile.我查了helpforthiserroronMSDN,它说:Thiswarningisgeneratedduringapplicationmanifestgenerationwhenthebuildprocessdetectsthatafilereferenceisactuallya(managedornative)assembly.这正是我正在做的;文件引用是一个程序集。我在这里