I don't think we need to declare the service in this library project. Instead, it needs to be declared in the application projects that package the service for deployment.