Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This is mostly for my quick go to place to get some quick copy/paste when I am not around my machine!
How to extract Public key token using Visual Studio?
Add a custom tool in Visual Studio as
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\Sn.exe -Tp $(TargetDir)$(TargetName)$(TargetExt)
(select Output window)
How to quickly get new GUID using Visual St
Add a custom tool as
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
SharePoint Schema Locations
Create CAML.XML file using notepad and add following code
1: <SchemaCatalog xmlns="https://schemas.microsoft.com/xsd/catalog">
2: <Schema href="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss.xsd"
3: targetNamespace="https://schemas.microsoft.com/sharepoint/"/>
4: </SchemaCatalog>
Drop this file to
%ProgramFiles%\Microsoft Visual Studio 8\Xml\Schemas\
Recycle app pools in IIS6
IIS6
%systemroot%\System32\iisapp.vbs /a "<app pool name>" /r
IIS7
%systemroot%\System32\inetsrv\APPCMD.exe recycle apppool "<App Pool Name>"
Quick MOSS Exception Logging (MOSS SDK says “Internal Use Only” – so be careful!)
1: catch(Exception Ex)
2:
3: {
4:
5: Microsoft.Office.Server.Diagnostics.PortalLog.LogString(”Exception Occurred: {0} ”, Ex.ToString());
6:
7: }
Nope! I am not taking any credit for it - collected it from various seasoned SharePointers!
Happy SharePointing!
Comments
- Anonymous
February 20, 2009
PingBack from http://www.clickandsolve.com/?p=12369