CHUVASH.eu

CHunky Universe of Vigourous Astonishing SHarepoint :)

Tag Archives: publish

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

Publish upgrade on Market – checklist

Here comes my checklist about what has to be done in order to publish an upgrade on Market.

  • get all code from github (git pull origin master)
  • Test the application
  • Change version number in AndroidManifest.xml
  • Commit “version x.x.” and push
  • (Change google map api key in res/layout/main.xml to the prod key)
  • In Eclipse: Project → Clean
  • Right-click on project → Android tools → Export signed… (~/Skrivbord/LUSites-unaligned.apk)
  • Zipalign (e.g.: zipalign -v 4 LUSites-unaligned.apk LUSites-v0.2.7.apk)
  • Publish upgrade on market
  • Save the apk to the archive

 

Вула Чăвашла

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

Toronto Blockchain Consulting and Smart Contract Development

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