Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't publish a Visual Studio 2010 website : The TransformXml task failed unexpectedly

Can't publish a website. When I try to publish it to a valid FTP or a local folder, I get following error:

Error 1 The "TransformXml" task failed unexpectedly. System.UriFormatException: Invalid URI: The URI is empty. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at Microsoft.Web.Publishing.Tasks.TransformXml.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) 0 0*

How do you deal with this?

like image 576
Bogdan Verbenets Avatar asked Mar 29 '11 17:03

Bogdan Verbenets


1 Answers

this has solved my problem: http://www.troyhunt.com/2010/03/visual-studio-2010-config.html

like image 135
Bogdan Verbenets Avatar answered Oct 22 '22 02:10

Bogdan Verbenets