Are there namespaces and XAML components unique to Silverlight?

Doug Kimzey 1 Reputation point
2021-01-08T19:50:57.68+00:00

I have inherited a legacy application and need to know if it is using Silverlight. Apart from uninstalling Silverlight, is there any way to look at the code and determine if it is a Silverlight application?

If it is a Silverlight application, I need to migrate it to WPF/XAML, Blazor, or HTML5.

The word "Silverlight" appears nowhere in the code - but I understand that this is completely possible.

For example, are there namespaces and XAML components completely unique to Silverlight applications?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,783 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
814 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ken Tucker 5,856 Reputation points
    2021-01-09T15:00:19.843+00:00

    silverlight is not supported in Visual studio 2019 so if you can open the project in visual studio it is not silverlight. You could also open the csproj file with notepad and look for the project type guid. For silverlight it is Silverlight {A1591282-1198-4647-A2B1-27E5FF5F6F3B}

    You can find a list of the project types here

    https://www.codeproject.com/reference/720512/list-of-visual-studio-project-type-guids

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.