Victor's Blog

Live as if you were to die tomorrow. Learn as if you were to live forever


Parameter name: s Value cannot be null exception in SharePoint deployment

I encountered a very strange problem with deploying my solution to SharePoint. I got this error "Parameter name: s Value cannot be null." Someone suggested that I should disable Deployment Conflict Resolution, and that worked – but since I didn't change anything since my last successful deployment, I knew that there wasn’t really anything conflicting so there must have been another way to get it to deploy…

I finally figured out that all I need to do is to close all my opened files and it started working again! It sounds very silly, but it works :D.