How do I access the size of a sprite?

You should rebuild the solution in Visual Studio, in the solution explorer under Games, right click your project and click Rebuild. Try closing the editor first and then building it