I think you need to Exclude it (right-click option in Visual Studio's Solution Explorer window) rather than delete it.