Source Code 05.02.03 failed to compile under VS2008 -
File failed: ...\DotNetNuke050203\Website\admin\Modules\ModuleSettings.ascx.vb
Err msg:
Error 10 Expression of type 'System.Collections.Generic.Dictionary(Of String, T)' is not queryable. Make sure you are not missing an assembly reference and/or namespace import for the LINQ provider. C:\...\DotNetNuke050203\Website\admin\Modules\ModuleSettings.ascx.vb 655 46 http://localhost/DotNetNuke_Community/
Private Function GetFilteredProviders(Of T)(ByVal providerList As Dictionary(Of String, T), ByVal keyFilter As String) As IEnumerable
Dim providers = From provider In providerList _
Let filteredkey = provider.Key.Replace(keyFilter, String.Empty) _
Select filteredkey, provider.Key
Return Providers
End Function
Here is the solution Explorer screen shot, everything else has been successfully built except "http://localhost/DotNetNuke_Community/" where the built error occurred.
Here is the list of the references that ModuleSettings.ascx.vb import:
Imports DotNetNuke.UI.Skins
Imports DotNetNuke.Entities.Modules
Imports DotNetNuke.Entities.Modules.Definitions
Imports DotNetNuke.Entities.Tabs
Imports DotNetNuke.UI.Modules
Imports System.Collections.Generic
Imports DotNetNuke.Security.Permissions
Imports DotNetNuke.Services.ModuleCache
Imports System.Linq
Imports DotNetNuke.Services.Localization
Imports DotNetNuke.Security
Imports DotNetNuke.Common.Utilities
Imports DotNetNuke.UI
Imports DotNetNuke.Entities.Portals
Imports DotNetNuke.Common.Globals
Imports DotNetNuke.Services.Exceptions
Imports DotNetNuke.Services
Imports System.Core
Thank you very much for your input.