Cannot Publish Visual Studio 2010 Website: TransformXml Task Failed Unexpectedly

Unable to publish website. When I try to publish it in a valid FTP or in a local folder, I get the following error:

Error 1 Failed to complete the TransformXml task. System.UriFormatException: Invalid URI: URI is empty. in System.Uri.CreateThis (String uri, Boolean dontEscape, UriKind uriKind) in System.Uri..ctor (String uriString) in Microsoft.Web.Publishing.Tasks.TransformXml.Execute () in Microsoft.Build.BackEnd.TaskExecutionHost. Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () on Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask (ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecultome 0TecultecuteMode

How do you deal with this?

+7
source share
2 answers
+9
source

Adding <AutoParameterizationWebConfigConnectionStrings>False</AutoParameterizationWebConfigConnectionStrings> to the csproj on the right PropertyGroup fixed the problem for me.

0
source

All Articles