Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Upgrading a Visual Studio 2010 to VS 2012 (SP 2013) solution

$
0
0

Hi All

I was hoping that someone would be able to help me with an issue that I have been struggling with the last few days.

We need to convert a VS 2010 SP 2010 solution to VS 2012 SP 2013.  The solution which contains 3 projects with features.  Most of these contain Visual Webparts (scoping is at farm level).  The issue that we are experiencing is that the following build error is generated:

Error 2 The "TransformFiles" task was not given a value for the required parameter "IsDebugging". xxxxxxxx.yyyyyy

We have confirmed that there is only one Microsoft.VisualStudo.SharePoint.Tasks.dll

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SharePointTools\Microsoft.VisualStudio.SharePoint.Tasks.dll

and it is the correct version.

What we did to import the solution was to:

  • Open the solution in VS 2012 and let the import wizard do its thing.  There were a few warnings but no errors
  • Remove and re-add the SharePoint references (to confirm that the projects were pointing to the correct dlls)
  • Do a global change of _layouts/ to _layouts/15/ as well as _controltemplates/ to _controltemplates/15
  • Change the Project .Net Target Frameworks to 4.5
  • Change any 14.0.0.0 references to 15.0.0.0
  • Change any 3.5.0.0 references to 4.0.0.0


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>