The "TransformFiles" task was not given a value for the required parameter "IsDebugging".
I will write today about one issue that sometimes occurs when you try to upgrade your SharePoint Project from Visual Studio 2010 to Visual Studio 2013.
It can also occur in any new SharePoint Project in Visual Studio 2013 directly if you try to add the "PostBuildEventDependsOn" property in a .csproj/.vbproj file (from a text editor such as Notepad) to generate the .wsp when building the project.
The following is the exception you get:
The "TransformFiles" task was not given a value for the required parameter "IsDebugging"
When you add the same properties to a .csproj/.vbproj file (from a text editor such as Notepad) in Visual Studio 2010 SharePoint project then it works well and creates the .wsp correctly there. Notice the "\v10.0\" in the project path for Visual Studio 2010.
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" />
- <PropertyGroup>
- <PostBuildEventDependsOn>$(PostBuildEventDependsOn);CreatePackage</PostBuildEventDependsOn>
- <PostBuildEvent>copy "$(TargetDir)$(TargetName).wsp" "$(SolutionDir)DeploymentFiles\$(TargetName).wsp"</PostBuildEvent>
- </PropertyGroup>
Notice the "\v12.0\" in the project path for Visual Studio 2013.
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" />
- <PropertyGroup> <PostBuildEventDependsOn>$(PostBuildEventDependsOn);CreatePackage</PostBuildEventDependsOn>
- <PostBuildEvent>copy "$(TargetDir)$(TargetName).wsp" "$(SolutionDir)DeploymentFiles\$(TargetName).wsp"</PostBuildEvent>
- </PropertyGroup>
After carefully examining the "Microsoft.VisualStudio.SharePoint.targets" file, it was observed that this property "IsDebugging" is being used inside the "TransformFiles" element.
After doing very much Googling for this exception, I haven't found any solution.
While troubleshooting, I just provided the value for "IsDebugging" as in the following and Voila! It worked! There was no more exception after building the solution and the .wsp was generated perfectly.
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" />
- <PropertyGroup>
- <IsDebugging>False</IsDebugging> <PostBuildEventDependsOn>$(PostBuildEventDependsOn);CreatePackage</PostBuildEventDependsOn>
- <PostBuildEvent>copy "$(TargetDir)$(TargetName).wsp" "$(SolutionDir)DeploymentFiles\$(TargetName).wsp"</PostBuildEvent>
- </PropertyGroup>
I hope it will help someone out there to save his/her day.

Sr KarthigaPosted Feb 16, 2016, 10:19 PM
Nice explanation
SriramPosted Jul 2, 2015, 7:50 AM
Ok...........
Santhakumar MunuswamyPosted Jun 27, 2015, 10:56 AM
Thanks for nice article:)
Sibeesh VenuPosted Jun 27, 2015, 12:32 AM
Good one.
Abhay ShankerPosted Jun 26, 2015, 11:37 AM
nice one
Prasham SabadraPosted Jun 26, 2015, 8:07 AM
Thanks Shriram for sharing this :)