IntelliSense for NHibernate

It seems like quite a few frameworks seem to be missing the intellisense support out of the box – tis is very unfortunate.

Just like the Windows Communication Foundation NHibernate seems to be missing intellisense as well. But there is hope!

You basically need the NHibernate schema definitions (nhibernate-configuration-2.0.xsd, nhibernate-mapping-2.0.xsd and nhibernate-generic.xsd) and copy them into the Visual Studio “schemas” directory (the default path is C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas).

At last you might want to restart your Visual Studio.

IntelliSense for Windows Communication Foundation

A great improvement of Visual Studio 2005 compared to the 2003 edition is the intellisense for configuration-files. Especially complex configurations like windows communication foundation (WCF) can greatly benefit.

Unfortunatly Microsoft did not include any schema-information with the .Net 3.0 Release, so intellisense is not available out of the box. This will probably only be available with Visual Studio 2008 (Orcas) which is being release right now. But for those of you, who want to add the intellisense also to VS 2005, you might want to install the latest CTP for Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF). This also adds some missing developer features such as ”svcutil.exe” to generate client-proxies for the WCF.

Activating the Sharepoint Publishing Infrastructure

I just stumbled across the need to activate the Publishing Infrastructure feature of MOSS, so I can assign Master-Pages to websites. But unfortunately my attempts where discarded by an “access denied” message.

I found a great article describing on how to work around this problem – although I would have loved to know why this error occurs and what the Microsoft-way to avoid this problem would be …