I have downloaded some code from my friend (we are working together on it) when I run the code a few times, it runs fine with no errors, then later when I go to run it, I keep getting these 2 errors:
Error 1 Partial declarations of 'GuiGame.HareAndTortoiseForm' have conflicting accessibility modifiers
public partial class HareAndTortoiseForm : Form {
Error 2 Missing partial modifier on declaration of type 'GuiGame.HareAndTortoiseForm'; another partial declaration of this type exists
internal class HareAndTortoiseForm {
I think the code was generated automatically when I created the GUI form. I have tried changing the accessors so they are both public partial, but still no luck. I have tried re-downloading the file about 10 times and keep having the problem, I cannot find out where it is coming from or how to fix it. Does anyone have any clue? The top line of code is from the HareAndTortoiseForm.cs class and the other line is from the HareAndTortoiseForm1.Designer.cs class.