Error While Testing Dashboard

I am receiving this error while trying to test or deploy a dashboard. It is a new one I created. Never seen this error before.

--------compile errors------------
Error: CS1002 - line 28 (27) - ; expected
Error: CS1022 - line 48 (47) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 68 (67) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 140 (139) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 112 (111) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 192 (191) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 150 (149) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 112 (111) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 192 (191) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 12 (11) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 150 (149) - Type or namespace definition, or end-of-file expected
Error: CS0116 - line 14 (13) - A namespace cannot directly contain members such as fields or methods
Error: CS0116 - line 14 (13) - A namespace cannot directly contain members such as fields or methods
Error: CS1022 - line 79 (78) - Type or namespace definition, or end-of-file expected

** Compile Failed. **

Well there’s your problem right there! You are missing the semicolon that ends every line.

Get into the customization and search for bad syntax. You can also use Customization Maintenance for this if you cant open it in developer mode.
Good Luck!
Nate

2 Likes