I found out my cs server file was not registered as a cs file, So I made it in visual studio instead and that worked