Click here to Skip to main content
15,885,876 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to create a deployment package using visual studio 2012 and i am getting xml transform error. The following are the options i have tried to fix this:

1. Removed the debug and release config file as i don't need it
2. Disabled the TransformWebConfigEnabled to prevent transforming during deployment
3. Uninstalled windows azure sdk

The solutions were coming from different post from other articles yet still no luck.


please see error below:

Error	1	The "ImportParametersFile" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.XmlTransform, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Web.XmlTransform, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at Microsoft.Web.Publishing.Tasks.ImportParametersFile.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.XmlTransform, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/
LOG: Initial PrivatePath = NULL
Calling assembly : Microsoft.Web.Publishing.Tasks, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===
Posted

1 solution

Solutions I have tried.
Solution 1: Uninstall Visual Studio 2012 and azure sdk and Install back the VS2012 and Azure SDK 2.3

Failed Result: I still can't publish due to xml transform dll not found.

+++

Solution 2: Tried Installing VS 2013

Successful Result: I am now able to publish using vs2013
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900