You must Sign In to post a response.
  • Category: Silverlight

    Unable to create silverlight application in my visual studio


    When I tried to do some silverlight application by using my visual studio 2010 am getting an unhandled exception.
    Error is "System.NullReferenceException Object reference not set to an instance of an object." in designer page i.e., in MainPage.xaml designer.

    Before two days I was able to do silverlight applications in my IDE by today facing the problem.

    Even if opened my previous application in designer it showing the same error and I lost my design also.


    DNS Member.
  • #759021

    Can you try like this

    1. Uninstall everything "Microsoft Silver light" that you have in your system.
    2. Install VS 2010 SP1 from this location
    3. Install Silver light from here:

    Check these links also


  • #759022

    Select the project type using Silver light . I have mention below the urls for silverlight project creation with snapshots can you refer this if you dont get let me know.

    Name : Dotnet Developer-2015
    Email Id :

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #759030
    Hello Sridhar,

    You can refer the below link for Silverlight application:

    You can do this also:

    1. Uninstall "Microsoft Silver light" from your system.
    2. Install VS 2010 SP1. Download Link :
    3. Install Silverlight. Download Link :

    Hope this will help you.
    Mark the answer if it helped you.

    Nirav Lalan
    DNS Gold Member
    "If you can dream it, you can do it."

  • #759045
    Please check if there are any modifications in the dependent project or if some library is not loading properly.

    Have you made any changes to your project. If yes, ensure that the changes you made are not causing this issue.

    Miss. Jain
    Microsoft Certified Technology Specialist in .Net

  • #759061
    If your old well running project is now giving error means there is change in your Silverlight settings. Have you update something on your machine ?
    Is your error description is as below line
    If yes then you need to new Silverlight version(4.1) and then download it
    see below link
    I think it will help
    - Restart machine after installing latest Silverlight version

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • Sign In to post your comments