I had something odd happening. I use web.config transformation files, and when trying to publish to a local iis as a web-deployment, I get the following error:
Error 1160 The "ParameterizeTransformXml" 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.ParameterizeTransformXml.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)
It did work before I added some image files to the project, and it does work in debug mode when the transformation files are basically still identical.
Did anyone encounter this and know what might be causing this?
This is under visual studio 2010 and framework 4.0, Windows 7.