Saturday, August 20, 2011
MCPD: SharePoint Developer 2010
On Monday (15th Aug) I took the exam for PRO: Designing and Developing Microsoft SharePoint 2010 Applications (70-576) and I passed. Yea!! I'm now MCPD certified.
Labels:
Certification,
SharePoint 2010
Thursday, January 20, 2011
MCTS: SharePoint 2010, Application Development
Yay!!! After much hard work I passed my very first MCTS Microsoft Certification: TS - Microsoft SharePoint 2010, Application Development (70-573), which I sat for today. I will post some tips/ recommendation on how to prepare yourself for this certification in the next couple of days.
Now..time to celebrate....
Now..time to celebrate....
Labels:
Certification,
SharePoint 2010
Wednesday, January 12, 2011
SharePoint Forum Sri Lanka Launched
Today we attended the launch and inaugural session of the SharePoint Forum Sri Lanka at Microsoft SL. There were two presentations - first one on Professional SharePoint Branding and the second on Claims Based Authentication.
Forum will meet every 2nd Wednesday of the Month for community sessions.
Forum will meet every 2nd Wednesday of the Month for community sessions.
Labels:
SharePoint 2010
Tuesday, January 11, 2011
Creating a SharePoint WSP package through Visual Studio 2010 Build
To be part of our automated build process (NAnt) here I was wanting to create the WSP on invoking devenv.exe from the command line. From the VS2010 IDE it would be straightforward to select Package from the Project context menu.
If you integrate with TFS it might be worth reading this MSDN technical article. I had no intention to include MSBuild in the build, therefore needed a way to create the WSP just using Visual Studio. As I was searching around I came across this blog post by Yaroslav Pentsarskyy.
Essentially, with this approach the WSP will be created whenever you build your solution.
In a SharePoint projects project definition file or simply the project file (.csproj) couple of parameters are defined such as the build platform, build configuration etc. Apart from these variables the project file can be manually edited to add your own build tasks.
Build tasks are somewhat similar to targets in NAnt. They define a set of operations to execute during build. Visual Studio 2010 defines a set of standard SharePoint tasks that are defined in C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets. In this case I will be using the CreatePackage task.
First unload the SharePoint Project from Visual Studio to enable manual editing of the project file. Then select to edit the project file.
Add the Create Package command.
Scroll down right to the bottom and you will see the import of the SharePoint targets:
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" />
This imports the Microsoft.VisualStudio.SharePoint.targets MSBuild taget file to the project. We can override specific predefined targets defined in Microsoft.VisualStudio.SharePoint.targets
Right below add the following:
<propertygroup>
<builddependson>$(BuildDependsOn);CreatePackage</builddependson>
</propertygroup>
This appends the CreatePackage task to the existing tasks defined for BuildDependsOn. Now when you build the project the WSP will be created as well.
Here are some How To articles relevant to this:
Labels:
Build,
SharePoint 2010,
Visual Studio 2010,
WSP
Wednesday, January 05, 2011
How to Restart/Change Project Server Workflow
Came across this blog post on how to restart or change a Project Server 2010 workflow. Was quite useful since you can test a workflow without creating new projects. Downside is that it won't skip if there are natural stop points such as creation of approval task, having an OnSubmit activity etc..
Labels:
Project Server 2010,
Workflow
Subscribe to:
Posts (Atom)