oOo a highly exciting build issue. Compact framework occasionally goes funny when building. Usually when messing with xmta files but this is the first time i've seen it go awry in this scenario.
I created a abstract base class with an abstract method. Placed this in one of my core dlls. This was fine. I then, in a "later" .dll inherited from it. Now I get this error:
Error 1150 genasm.exe(1) : error There was an error finalizing type . Method 'DoParse' in type 'MyComanyName.PlatformName.ProductName.Configuration.ConfigurationParser' from assembly 'UICore.WindowsCE.asmmeta, Version=1.0.3187.17348, Culture=neutral, PublicKeyToken=null' does not have an implementation. UICore
And yes, I have implemented this method in this class. I have also tried a full clean and rebuild and a close and restart VS.
Out of interest, I also have a warning that is "Object not set to instance of object" which is slightly unusual.
Update: If I make the method virtual as opposed to abstract the problem disappears.
Update:
- CF 2.0 SP1
- Visual Studio 2005 SP1
- The method is not generic
- However I do give an object with a generic method to the constructor of this object.