我刚刚在观看Scott Hanselman的video on web deployment后,在VS2010 RC中的.NET 3.5项目上启用了配置转换。不幸的是我每次去发表我现在得到以下错误:配置转换和“TransformXml任务失败”错误消息
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的Web应用程序,我没有问题,所以我怀疑我的问题是项目相关的。有没有人曾经遇到过这个问题,或者对修复有任何想法?
真棒视频,感谢您的链接 – 2011-03-30 20:13:23