Today, let me explain you about How to TransformFiles error when upgrade SharePoint Project from Visual Studio 2010 to Visual Studio 2013. It may occur in any new SharePoint Project in Visual Studio 2013 directly if you are attempting to add the “PostBuildEventDependsOn” property in a .csproj/.vbproj file (from a text editor like Notepad) to get the .wsp once building the project. And I got the exception:
The “TransformFiles” task was not given a value for the required parameter “IsDebugging”
SharePoint-2013-Hosting

When you add identical properties to a .csproj/.vbproj file (from a text editor like Notepad) in Visual Studio 2010 SharePoint project then it works well and creates the .wsp properly there. Notice the “\v10.0\” within the project path for Visual Studio 2010.

But once you attempt to use a similar settings within the Visual Studio 2013 project then it does not work and throws the exception The “TransformFiles” task wasn’t given a value for the desired parameter “IsDebugging”.

Notice the “\v12.0\” in the project path for Visual Studio 2013.

 

The exception says that the property “IsDebugging” that’s a needed property isn’t provided with any value. After carefully examining the “Microsoft.VisualStudio.SharePoint.targets” file, it absolutely was observed that this property “IsDebugging” is being used inside the “TransformFiles” component. After doing very much Googling for this exception, i have never found any answer. While troubleshooting, I simply provided the value for “IsDebugging” as within the following and Voila! It worked! There was no a lot of exception when building the solution and also the .wsp was generated perfectly.

Please note one necessary thing here, i want to use the PostBuildEvent command to copy the .wsp to another location. once I wasn’t using this command, the .wsp file wasn’t being built at the bin\release folder.

SharePoint 2013 Hosting Recommendation

HostForLIFE.eu’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options.

hostforlifebanner