Monday, April 04, 2011

Unable to start Debugging. The Silverlight Developer Run time is not installed. Please install a matching version

If you have enabled the automatic updates to Silverlight , then you might face this issue if you download and update the version of Silverlight to the latest version.

Now when you will start your Silverlight application it will complain to you that it can’t start debugging as a matching version of Silverlight Developer Runtime is not installed.

This is not a big trouble its just that you have updated the copy of your Silverlight but the silverilght developer runtime also needs to be updated, microsoft should have given or mentioned it clearly somewhere while updating the Silverlight version but it hasn’t i.e why its difficult to find.

The simple solution is to go to www.silverlight.net and scroll down to the home page you will find a heading where you have “Developer runtime for Windows and OSX”. Under this section go and download the Windows developer runtime and install this runtime.

This will do the trick for you after installing that when you restart your visual studio you will find that you are able to debug your applications as you were doing earlier.

developerruntime

Also given below is the direct link to download the Silverlight Developer runtime http://go.microsoft.com/fwlink/?LinkID=188039

Happy Programming !!!!!!!!!!!!!!!!!!!!!!!!

Tuesday, March 15, 2011

Nuget Package Manager a very useful Visual Studio 2010 Extension

Sorry folks i have not penned any article since a long time as i was busy with life and wasn’t able to spare out much time for blogging, but from now i will try to post useful things as soon as i find a little time.

For today i found out this very useful Visual Studio 2010 Extension called Nuget Package Manager.

The beauty of this application is that you get a whole lot of third party dlls at your disposal to use in your application.

It will add the references to your application directly and there is no need to download the dlss and include in the project and secondly it will modify your web.config files also automatically.

So you just have to click like you did traditionally as “Add Service Reference” and you are ready to go…

For installing Nuget Package Manager Extension go to the link http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c

 

nugetpackagemanager

After installing nuget you will find it inside the Extension Manager in Visual Studio

nugetextensioninstalled

Now in whichever project you want to add any third party assembly you can right click on Reference and do an “Add Library Package Reference”. It will open the Library Package Reference manager for you.

 libraryreference

This manager will display all the available libraries and third party assemblies on Nuget, you can selecte any of those to be added into your project.

nuget

Just select the assembly which you want to add as an example i have added the ELMAH assembly for giving the project an error logging mechanism.

Similarly you can add a lot of other assemblies with the help of Nuget. All in all its a very good extension and you need not code anything to add those references and also you needn’t make any changes in your web.config manually, everything is done for you automatically by Nuget.

elmahadded

 

Its a very good tool which .net developers can leverage to generate cleaner and quick code.

Happy Programming !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

del.icio.us Tags: ,