StackOverflow When Using SlSvcUtil.exe

If you are using SlSvcUtil.exe from Silverlight 4 SDK and you get a StackOverflowException, probably it is because of a known bug of the application.
The solution found in the article Workaround for StackOverflowException when using SlSvcUtil.exe is to add a C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Tools\SlSvcUtil.exe.config file with the following content:

    <assembly name="SlSvcUtil, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />