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)
如果我采取一个全新的VS2010网络应用程序,已经有配置转换默认情况下我没有问题,所以我怀疑我的问题是项目相关。有没有人碰到这个或有任何想法修复?
解决方法
编辑:博客在一点更详细:Visual Studio 2010 Config Transformations TransformXml task failure