Forum member

vadim

2 posts

Posts by vadim

  1. Build failure with InvalidCastException.

    Hello, Sorry for so late reply. I seems to figure out what language construct caused the issue. In the base class I have a method: protected virtual TBlock GetDefaultBlock<TBlock>([Optional] TKPBlockType dClassificationBlockType) where TBlock : BaseBlock, new() In the derived class (AdjustingS…

  2. Build failure with InvalidCastException.

    Hello Everybody, I am getting the following exception when building one of my C# projects: System.Exception: Unable to add type: AdjustingSensingHeadPlugin.BlockFactory due to exception: System.InvalidCastException: Specified cast is not valid. at Mono.Cecil.SignatureWriter.WritePrimitiveVal…