Home
Products
Downloads
Support
Buy
Differentiating the WebMenu assemblies that target different versions of the ASP.NET MVC platform
Product Name: WebMenu for ASP.NET MVC
Product Version: 7.0
Document Type: Informational
Last Updated: 4/23/2017
Document ID: 137
Summary
How to tell the target version of the .NET assembly being used.

Details

Since WebMenu for ASP.NET MVC ships with support for ASP.NET MVC 1.0 through 5 using different assemblies, it is possible to confuse these files. In order to determine which version of the ASP.NET MVC platform an assembly is targeted for, you can view the properties of the DLL in Windows Explorer (select the "Version" tab and view the "Comments" field).

Newer versions of Windows cannot display this field, but this information can also be programmatically retrieved by:

1. Using PowerShell to display this information, for example:

PS C:\> (dir "C:\MyDLLs\Coalesys.WebMenu.Mvc.dll").VersionInfo.Comments
Designed for ASP.NET MVC 5, or

2. Rendering the WebMenu.About property to your page.

Copyright © 2024 Coalesys, Inc. All Rights Reserved.