.NET Portability Analyzer

Portability of any application into various platforms is of high importance now. Do you want to check how portable your application or library or project developed in .NET is? Use the .NET Portability Analyzer from Visual Studio Gallery.

Download and install the VSIX or extension package, which will add Analyzer options in various menus. Open Visual Studio, go to Tools-> Options, you can see the new tab added “.NET Portability Analyzer”.

1

Select the target platforms from the list of platforms. Your code will be analysed to see how much portable the solution in all these selected platforms. Select the “Analyze Assembly Potability” option from “Analyze” menu.

2

This will open the file open dialog, where you can select your project’s executable or dll file. This will display the .NET portability report for the selected file in the below format
3

We can run the Analyzer from the Solution explorer too. Right click on your project and select Analyze -> Analyze Assembly Portability
4

.NET Portability report not only contains the percentage of how much portable the application into specific platform, but also contains recommended changes and method level portability information. Moreover, Analyze from Solution explorer list the portability incompatibility as warnings in Error window, which will take you to the exact code where the issue inside the code.

5

Download the .NET Portability Analyzer from https://visualstudiogallery.msdn.microsoft.com/1177943e-cfb7-4822-a8a6-e56c7905292b

Advertisements

About ambilykk

I am a Technology Evangelist on Microsoft Technologies. I am carrying the passion on Microsoft technologies specifically on web technologies such as ASP .Net and Ajax. My interests also include Azure and Visual Studio. Technology adoption and learning is my key strength and technology sharing is my passion.
This entry was posted in C#, Visual Studio 2012, Visual Studio 2013 and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s