[Skins] Error in code-view: No build provider registered for the extensions '.skin'

Last post 11-05-2009 1:11 AM by matsey. 7 replies.

Sort Posts:

  • [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    07-17-2006, 5:30 PM
    • Participant
      1,205 point Participant
    • michiel1978
    • Member since 07-15-2005, 8:58 AM
    • Posts 250
    In the code-view of a skin file the first line has a blue line under it, with the following tooltip:

    ASP.NET runtime error: There is no build provider registered for the extensions '.skin'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

    What does this mean?

    PS. Typo ("...Make sure is has...") is not mine.
    When you ask a question, remember to click "mark as answered" when you get a reply which answers your question; this ensures the right forum member gets credit below for being helpful (and makes search more relevant too).
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    07-17-2006, 11:11 PM
    Skin files do not have code view... How do you open skin files? Are you trying to open it as a Web Form (i.e. as aspx)?
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    07-18-2006, 3:36 AM
    • Participant
      1,205 point Participant
    • michiel1978
    • Member since 07-15-2005, 8:58 AM
    • Posts 250
    Ok, here's the thing: I added the .skin extension to the list of extensions and associated it with User Control Editor to get IntelliSense support. So that probably causes this error?


    It seems to me that Visual Studio doesn't have 'real' skin support (no IntelliSense, no Design View). Will that be fixed in Service Pack 1?
    When you ask a question, remember to click "mark as answered" when you get a reply which answers your question; this ensures the right forum member gets credit below for being helpful (and makes search more relevant too).
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    07-18-2006, 1:05 PM

    No, VS does not provide intellisense or validation in skin files. One workaround is to create a new aspx file and temporarily move control there, edit and move back.

    No, this will not be fixed in service pack, sorry.

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    07-19-2006, 4:59 AM
    • Participant
      1,205 point Participant
    • michiel1978
    • Member since 07-15-2005, 8:58 AM
    • Posts 250
    Well that's a disappointment. What good is skin development without a visual designer?
    When you ask a question, remember to click "mark as answered" when you get a reply which answers your question; this ensures the right forum member gets credit below for being helpful (and makes search more relevant too).
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    07-19-2006, 3:24 PM

    Generally you style control in Design view in aspx page and then when you are done, copy/paste control markup from aspx to skin. If then need to modify the skin file, you can always pull control back to the page.

    Unfortunately skin file is not well formed markup and designer does not support files that are not well formed.

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    10-16-2006, 11:35 PM
    • Member
      161 point Member
    • aschreiber2
    • Member since 10-17-2006, 3:33 AM
    • Posts 35

    You actually can get Intellisense to work in .skin files.

    1. Go to Tools => Options.
    2. Select "Text Editor" => "File Extensions"
    3. Type "skin" for the extension and select "User Control Editor" from the dropdown list.
    4. Click apply and restart Visual Studio.
  • Re: [Skins] Error in code-view: No build provider registered for the extensions '.skin'

    11-05-2009, 1:11 AM
    • Member
      8 point Member
    • matsey
    • Member since 10-29-2009, 11:14 AM
    • Posts 4

    I had same problem while setting editor for.skin files in VWD2008.

    You need to insert buildprovider tag under compilation tag in web.config file.

    Save ur site and restart VWD/VisualStudio .

    <buildProviders>

    <add extension=".skin" type="System.Web.Compilation.PageBuildProvider"/>

    </buildProviders>

    Hope this Helps.

     

    Filed under:
Page 1 of 1 (8 items)