Error with C# Partial classes
Are the two partial classes in the same namespace? That could be an explanation.
Same answer as @Andrey K but in simple terms
Set the build action of all your partial classes to 'Compile' using the 'Properties' windows of each of those files
different namespace?