Develop Solution/Web Parts/Apps for SharePoint 2013 in Visual Studio 2012 (From Local Machine) -


i have sharepoint foundation 2013 installed in windows server 2012.

is possible develop sharepoint solution/web parts/apps using visual studio 2012 in local machine(windows 7 64bit) without having sharepoint installed in local machine?

if need develop sharepoint solution/web parts/apps in visual studio 2012, need install visual studio in server contain share point foundation 2013?

cant develop in local machine , deploy server?

can me on issue? thanks.

try this;

• how perform sharepoint development on client workstation
15 feb 2011 bryant sombke in guides, web, windows 16 comments 
1 of difficult restrictions sharepoint developer deal can requirement development on sharepoint server.  personally, prefer doing development on local machine, eliminating need establish remote desktop connection different machine in order write code.
unfortunately, sharepoint development requires many dll files included installation of sharepoint on server.  make matters worse, sharepoint 2010 requires x64 server, further complicating issue.  fortunately, there easy workaround can allow sharepoint developer productive, while using laptop on road without available internet connection.
copy sharepoint dlls
mentioned before, sharepoint development requires dll files included sharepoint 2007 or 2010 installation.  first step grab these off of sharepoint server.  sharepoint 2007, located in hive @ c:\program files\common files\microsoft shared\web server extensions\12\isapi\, , 2010 @ c:\program files\common files\microsoft shared\web server extensions\14\isap\.  copy dll files in directory server, , paste them @ exact same file path on local machine.  since pc not have sharepoint installed, may have create directory structure yourself.

sharepoint 2007 dll directory
register assemblies gac
have dll files on workstation, able include them references in visual studio projects other dlls.  however, if want them auto-register project when use visual studio 2010 sharepoint template or wspbuilder template, must register dll files in local global assembly cache.  this, open directory on workstation contains sharepoint dlls , drag them c:\windows\assembly\ directory.  register them gac on workstation, , visual studio should find assemblies when template loaded up.  although these assemblies may 64-bit, work fine though workstation may 32-bit.

global assembly cache
if you’ve completed 2 steps above, should able write code , compile project.  once generate wsp file, can deploy other wsp.
please use caution
if development both 2007 , 2010, can both on same workstation; sure complete both steps each version.  since 2007 , 2010 assemblies have different assembly versions (12.0.0.0 , 14.0.0.0), don’t have worry conflicts in gac.  sure use caution, however, because in experience, visual studio tends grab sharepoint 2010 version of dll sharepoint 2007 project if they’re both registered on workstation.  if happens, remove incorrect reference, , add reference correct 2007 dll 12\isapi directory.

from http://www.techerator.com/2011/02/how-to-perform-sharepoint-development-on-a-client-workstation/


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -