Hi, I just added a new skin in GCN that I was able to apply to my community with no problems. I am having an issue building my GCN solution in VS.NET 2003. Here's my compiler output...have any clues on why the compiler is looking for codebehind and resources
for these new skin files, but not the original skins?: ------ Build started: Project: CSKDotNet, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\ControlSkins\Comments_DisplayComments.ascx.cs'
could not be opened ('The system cannot find the file specified. ') error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\ControlSkins\Sections_SectionMenu.ascx.cs' could not be opened ('The system cannot find the file specified.
') error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\ControlSkins\Sections_SectionMenuBottom.ascx.cs' could not be opened ('The system cannot find the file specified. ') error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\ControlSkins\Topics_TopicMenu.ascx.cs'
could not be opened ('The system cannot find the file specified. ') error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\ControlSkins\Users_DisplayProfile.ascx.cs' could not be opened ('The system cannot find the file specified.
') error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\ControlSkins\Users_UserLogin.ascx.cs' could not be opened ('The system cannot find the file specified. ') error CS1504: Source file 'D:\Program Files\CSKDotNet\Communities\Common\Themes\VCC\Skins\PageSkins\Default.ascx.cs'
could not be opened ('The system cannot find the file specified. ') Build complete -- 7 errors, 0 warnings Building satellite assemblies... Satellite assemblies could not be built because the main project output is missing. ---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
VS.NET automatically creates a code-behind file for every user control and web form page you create through the solution explorer. You need to remove the code behind file manually. Then you must change the generate @control directive by removing the code-behind
property and changing the inherits/imports property to point to the proper CSK code file (use the default theme's control properties as an example if you don't know which class you should point your skins towards)
None
0 Points
4 Posts
Cannot Build When Including New Theme
Dec 06, 2003 12:28 AM|parkbrit|LINK
Member
35 Points
1052 Posts
Re: Cannot Build When Including New Theme
Dec 07, 2003 02:07 PM|Redd|LINK
http://www.reddnet.net