I have a C# project that uses a third-party library which depends on old version DevExpress. There is a bug in a dll(DevExpress.Utils.v9.2.dll) of this version DevExpress. I use .NET Reflector and Reflexil to patch the dll and use the patched dll replace the old one. Then when I rebuild solution, Visual Studio shows me error:
Error CS0012 The type 'XtraForm' is defined in an assembly that is not referenced. You must add a reference to assembly 'DevExpress.Utils.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'.
It seems original dll is signed that causes the problem. I have tried removing strong name but it does not work. How to resolve?