I have a mobile .NET solution and decided to sign the assemblies. Compilation completes without errors but gives the warning
'CompactUI.Business.PocketPC.asmmeta, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not signed correctly.
The application is working fine but I can't open the designer for forms using this assembly anymore. Again the designer says
'CompactUI.Business.PocketPC.asmmeta, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not signed correctly.
with the stack information:
at Microsoft.CompactFramework.Build.AsmmetaBindingService.GetAsmmetaAssembly(String sourceAssemblyPath, Boolean verify) at Microsoft.CompactFramework.Build.AsmmetaBindingService.LoadAsmMetaAssembly(Assembly sourceAssembly, String hintPath, IDeviceTypeResolutionService resolver) at Microsoft.CompactFramework.Build.MetadataService.GetAsmmetaType(Type sourceType) at Microsoft.CompactFramework.Build.MetadataService.GetTypeAttributes(Type desktopType) at Microsoft.CompactFramework.Design.DeviceCustomTypeDescriptor.GetAttributes() ...
What is causing this?
Edit: Nicholas suggestion is not solving the problem
I've got a Form that contains common properties which is base for every form in the presentation layer
public class CustomForm : Form
{
...
}
This form is in the business layer that causes the warning. Every form that inherits from this base form causes the problem when viewing in the designer.