CHUVASH.eu

CHunky Universe of Vigourous Astonishing SHarepoint :)

Develop for SharePoint on Windows 8

Do you like Windows 8 user expirience, as me? Well than you want to try developing sharepoint solutions in Windows 8. Here I will show what I found out.

Environment

I installed Windows 8 Release Preview as a VMWare machine. Then I installed Visual Studio 2012 RC. Then I followed the steps for installing SharePoint on Windows 8 which are more or less the same as for Windows 7 client install. But then I encountered an error I haven’t found solution for yet. In my standalone sharepoint installation there were some permission problems:

Failed to create the configuration database.

An exception of type System.Data.SqlClient.SqlException was thrown. Additional information:
Cannot find the object ‘proc_putDeletedSiteMap’,because it does not exist or you do not have permission.

Plan B

In a meanwhile I tried to just to use Andrew Connell’s trick: to copy sharepoint dlls to GAC and the 14 folder. To extract the sharepoint dlls, you can use a script from sharepoint tech blog:

mkdir c:\temp
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Portal")
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Policy")
[appdomain]::currentdomain.getassemblies() |
where {($_.fullname -match "Microsoft.Office") -OR ($_.fullname –match "Microsoft.SharePoint")} |
copy-item -path {$_.location} -destination c:\temp\ -verbose

Then copy the dlls to gac with gacutil.

This plan B works, but with one shortcoming: you can’t debug, neither you can create new sharepoint solutions, you’ll get an error: “SharePoint Not Installed”.

What you have to do is to open an existing sharepoint solution. And you can build it and publish. After I opened an existing solution in Windows 8, I could create new solutions as well :).

The most awesome feature in Visual Studio 2012 is the ability to publish your projects:

Advertisements

4 responses to “Develop for SharePoint on Windows 8

  1. Pingback: Develop for SharePoint on Windows 8 « Share… What? | Mastering Sharepoint

  2. Noble Rocha 2012-12-10 at 11:30

    he must find a way to offer you with visual customization, knowing how your company is effective and precisely what it does and several more.

  3. jay 2015-02-26 at 22:52

    The plan B solution did not work for me – could you please suggest any other solution plese.
    Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Вула Чăвашла

VulaCV - Чăвашла вулаттаракан сайт

Discovering SharePoint

And going crazy doing it

Bram de Jager - Coder, Speaker, Author

Office 365, SharePoint and Azure

SharePoint Development Lab by @avishnyakov

It is a good place to share some SharePoint stories and development practices.

SharePoint Dragons

Nikander & Margriet on SharePoint

Paul J. Swider - RealActivity

RealActivity is a specialized healthcare services and solution advisory firm.

Mai Omar Desouki - Avid SharePointer

Egyptian & Vodafoner - Senior SharePoint Consultant

Cameron Dwyer | Office 365, SharePoint, Outlook, OnePlace Solutions

Office 365, SharePoint, OnePlace Solutions & Life's Other Little Wonders

paul.tavares

Me and My doings!

Share SharePoint Points !

By Mohit Vashishtha

Jimmy Janlén "Den Scrummande Konsulten"

Erfarenheter, synpunkter och raljerande om Scrum från Jimmy Janlén

Aryan Nava

| Blockchain | Serverless Architecture | Microservices Architecture | DevOps | AWS Lambda | Teraform |

SPJoel

SharePoint for everyone

SharePointRyan

Ryan Dennis is a SharePoint Solution Architect with a passion for SharePoint and PowerShell

SharePoint 2020

The Vision for a Future of Clarity

Aharoni in Unicode

Treacle tarts for great justice

... And All That JS

JavaScript, Web Apps and SharePoint

blksthl

Mostly what I know about SharePoint - CommunicoCuspis

%d bloggers like this: