1>Writing intermediate script to C:\Users\me\source\repos\NewFancyFlightInfo\obj\intermediate-script.WhitespaceTrimmer.cs 1>Verifying that nothing went wrong 1>C:\Users\me\source\repos\NewFancyFlightInfo\obj\intermediate-script.cs(597,7): error CS1038: #endregion directive expected 1>Failed to compile the project.
i checked every cs file in the solution and they all close the in-game region directive with an endregion. I opened the intermediate script and this is what i found:
first line:
#region pre-script using System; using System.Linq;
a ways down:
public class Program : MyGridProgram { #endregion #region in-game
a ways down:
`
}
#endregion
#region post-script
}
class Skin`
no other region directives past that in the intermediate file.
my Program.cs file in which that last section of code came from DOES close the regions(the first endregion is from the in-game region above the code):
`};
}
#endregion
#region post-script
}
}
#endregion`
1>Writing intermediate script to C:\Users\me\source\repos\NewFancyFlightInfo\obj\intermediate-script.WhitespaceTrimmer.cs 1>Verifying that nothing went wrong 1>C:\Users\me\source\repos\NewFancyFlightInfo\obj\intermediate-script.cs(597,7): error CS1038: #endregion directive expected 1>Failed to compile the project.i checked every cs file in the solution and they all close the in-game region directive with an endregion. I opened the intermediate script and this is what i found:
first line:
#region pre-script using System; using System.Linq;a ways down:
public class Program : MyGridProgram { #endregion #region in-gamea ways down:
`
}
}
class Skin`
no other region directives past that in the intermediate file.
my Program.cs file in which that last section of code came from DOES close the regions(the first endregion is from the in-game region above the code):
`};
}
}
#endregion`