I tried to open the Gravity skin ( the default skin in ddn7) as a website in visual studio 2012 just to understand the layout of dnn7 trying to do one in vs 2012 but I got a lot of error like
<%@ Register TagPrefix="dnn" TagName="LANGUAGE" Src="~/Admin/Skins/Language.ascx" %>
I also tried to do a new website using Dotnetnuke webapplication framework
when I build the project I got the following errors bellow. but when I changed the framework from 4 to 4.5 for the project then I got 22 warning.(*)
also when I tried to view the design of the hom.ascx file the view doesn't look like the real one. and also I got the warning
hope to find the best way to create a skin in vs 2012. with sample.
=====================================
Warning 1 Element 'SEARCH' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 16 18 DotNetNukeWebsite1(1)
Warning 2 Element 'USER' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 19 18 DotNetNukeWebsite1(1)
Warning 3 Element 'LOGIN' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 20 18 DotNetNukeWebsite1(1)
Warning 4 Element 'LOGO' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 27 22 DotNetNukeWebsite1(1)
Warning 5 Element 'LANGUAGE' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 31 11 DotNetNukeWebsite1(1)
Warning 6 Element 'MENU' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 35 11 DotNetNukeWebsite1(1)
Warning 7 Element 'BREADCRUMB' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 42 29 DotNetNukeWebsite1(1)
Warning 8 Element 'LINKTOMOBILE' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 60 11 DotNetNukeWebsite1(1)
Warning 9 Element 'TERMS' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 61 11 DotNetNukeWebsite1(1)
Warning 10 Element 'PRIVACY' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 62 11 DotNetNukeWebsite1(1)
Warning 11 Element 'COPYRIGHT' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. C:\websites\DotNetNukeWebsite1\Portals\_default\Skins\Gravity\groups.ascx 64 10 DotNetNukeWebsite1(1)
Warning 12 The variable 'message' is declared but never used C:\websites\DotNetNukeWebsite1\Install\InstallWizard.aspx.cs 681 32 DotNetNukeWebsite1(1)
==============
warrning(*)
------------------------------------------------------------------------------------------------------------
Warning 1 'DotNetNuke.UI.Containers.ActionButton' is obsolete: 'This class has been deprecated in favour of the new ActionCommandButton and ActionButtonList.' c:\Users\Hani\AppData\Local\Temp\Temporary ASP.NET Files\root\a22255e2\d7610bb9\App_Web_gm5blxqe.5.cs 256
Warning 2 'DotNetNuke.UI.Containers.ActionButton' is obsolete: 'This class has been deprecated in favour of the new ActionCommandButton and ActionButtonList.' c:\Users\Hani\AppData\Local\Temp\Temporary ASP.NET Files\root\a22255e2\d7610bb9\App_Web_gm5blxqe.5.cs 262
Warning 3 'DotNetNuke.UI.ControlPanels.ControlBar.LocalResourceFile' hides inherited member 'DotNetNuke.UI.ControlPanels.ControlPanelBase.LocalResourceFile'. Use the new keyword if hiding was intended. C:\websites\DotNetNukeWebsite1\admin\ControlPanel\ControlBar.ascx.cs 668
Warning 4 The variable 'kColSpan' is assigned but its value is never used C:\websites\DotNetNukeWebsite1\DesktopModules\Admin\Skins\EditSkins.ascx.cs 311
Warning 5 'DotNetNuke.Modules.Admin.AdvancedSettings.AdvancedSettings.Attributes' hides inherited member 'System.Web.UI.UserControl.Attributes'. Use the new keyword if hiding was intended. C:\websites\DotNetNukeWebsite1\DesktopModules\Admin\AdvancedSettings\AdvancedSettings.ascx 29
Warning 6 The variable 'profileResourceFile' is assigned but its value is never used C:\websites\DotNetNukeWebsite1\DesktopModules\Admin\ViewProfile\ViewProfile.ascx.cs 167
Warning 7 The using directive for 'System' appeared previously in this namespace C:\websites\DotNetNukeWebsite1\Install\UpgradeWizard.aspx.cs 26
Warning 8 The variable 'message' is declared but never used C:\websites\DotNetNukeWebsite1\Install\InstallWizard.aspx.cs 681
Warning 9 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Aphelia\Banner.ascx 18
Warning 10 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Aphelia\NoTitle.ascx 4
Warning 11 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Aphelia\Title.ascx 7
Warning 12 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\DarkKnightMobile\NoTitle.ascx 3
Warning 13 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\DarkKnightMobile\Simple.ascx 3
Warning 14 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\DarkKnightMobile\ToggledContentContainer.ascx 8
Warning 15 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\NoTitle.ascx 4
Warning 16 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\Title_h2.ascx 6
Warning 17 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\Title_h3.ascx 6
Warning 18 WithEvents variable 'ContentPane' conflicts with property 'ContentPane' in the base class 'Container' and should be declared 'Shadows'. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\Gravity\Title_h4.ascx 6
Warning 19 'ASP.portals__default_containers__default_popupcontainer_ascx.ContentPane' hides inherited member 'DotNetNuke.UI.Containers.Container.ContentPane'. Use the new keyword if hiding was intended. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\_default\popUpContainer.ascx 3
Warning 20 'ASP.portals__default_containers__default_no_container_ascx.ContentPane' hides inherited member 'DotNetNuke.UI.Containers.Container.ContentPane'. Use the new keyword if hiding was intended. C:\websites\DotNetNukeWebsite1\Portals\_default\Containers\_default\No Container.ascx 2
Warning 21 'DotNetNuke.Framework.DefaultPage.Form' hides inherited member 'System.Web.UI.Page.Form'. Use the new keyword if hiding was intended. C:\websites\DotNetNukeWebsite1\Default.aspx 32
Warning 22 'DotNetNuke.Services.Exceptions.ErrorPage.Form' hides inherited member 'System.Web.UI.Page.Form'. Use the new keyword if hiding was intended. C:\websites\DotNetNukeWebsite1\ErrorPage.aspx 12
---------------------------------------------------------------------------------------------------------
errors
Error 1 'DotNetNuke.UI.Containers.PrintModule.PrintIcon.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\PrintModule.ascx.cs 57
Error 2 'DotNetNuke.UI.Containers.PrintModule.PrintIcon.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\PrintModule.ascx.cs 57
Error 3 'DotNetNuke.UI.Containers.Icon.BorderWidth.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Icon.ascx.cs 55
Error 4 'DotNetNuke.UI.Containers.Icon.BorderWidth.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Icon.ascx.cs 55
Error 5 'DotNetNuke.UI.Containers.Visibility.BorderWidth.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs 131
Error 6 'DotNetNuke.UI.Containers.Visibility.BorderWidth.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs 131
Error 7 'DotNetNuke.UI.Containers.Visibility.minIcon.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs 161
Error 8 'DotNetNuke.UI.Containers.Visibility.minIcon.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs 161
Error 9 'DotNetNuke.UI.Containers.Visibility.MaxIcon.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs 164
Error 10 'DotNetNuke.UI.Containers.Visibility.MaxIcon.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Visibility.ascx.cs 164
Error 11 'DotNetNuke.UI.Containers.Controls.Toggle.Class.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Toggle.ascx.cs 54
Error 12 'DotNetNuke.UI.Containers.Controls.Toggle.Class.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Toggle.ascx.cs 54
Error 13 'DotNetNuke.UI.Containers.Title.CssClass.get' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Title.ascx.cs 52
Error 14 'DotNetNuke.UI.Containers.Title.CssClass.set' must declare a body because it is not marked abstract or extern C:\websites\DotNetNukeWebsite1\admin\Containers\Title.ascx.cs 52