I am trying to set up a deployment project for my web aplication. It builds fine if i deploy locally, but when i try deploying it the server, it breaks with the following error
Error 30 The "ToggleDebugCompilation" task failed unexpectedly.
System.ArgumentNullException: Parameter "message" cannot be null.
at Microsoft.Build.Shared.ErrorUtilities.VerifyThrowArgumentNull(Object parameter, String parameterName, String resourceName)
at Microsoft.Build.Utilities.TaskLoggingHelper.LogMessage(MessageImportance importance, String message, Object[] messageArgs)
at Microsoft.WebDeployment.Tasks.ToggleDebugCompilation.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) 1 1 MailingList.csproj_deploy
But, i can publish website without a problem. Any help is appreciated.