VB.Net C# Designtime Error ~ ‘.ctor’ is not a valid identifier.
Tired of searching you project for that string? The answer is simple, which was proposed by Vladmir from Serbia on MSDN. The name of your class or form shares it’s name with a function or subroutine contained within that class. Like below:
public class Form1
private sub Form1()
Changing the name of the method will fix this issue.