Hi,
When I created the sample using your code, I used Visual Studio 2012 to do it. Nevertheless, I recreated the sample in Visual Studio 2010 and it is also working for me. Therefore, you probably have an issue with your Visual Studio 2010 installation or your computer environment.
Anyway, I'm glad that your solution is now working.
Regards,
Federico Martinez
http://blogs.southworks.net/fmartinez
When I created the sample using your code, I used Visual Studio 2012 to do it. Nevertheless, I recreated the sample in Visual Studio 2010 and it is also working for me. Therefore, you probably have an issue with your Visual Studio 2010 installation or your computer environment.
Anyway, I'm glad that your solution is now working.
Regards,
Federico Martinez
http://blogs.southworks.net/fmartinez