Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Psib3r 70 posts 119 karma points
    Jan 03, 2013 @ 12:35
    Psib3r
    0

    error saving script file

    c:\inetpub\wwwroot\Umbraco\macroScripts\634928096430833609_Landing.cshtml(1): error CS0246: The type or namespace name 'Tocsoft' could not be found (are you missing a using directive or an assembly reference?)

  • Lee Kelleher 4004 posts 15679 karma points MVP 12x admin c-trib
    Jan 03, 2013 @ 15:38
    Lee Kelleher
    100

    Hi Psib3r,

    It's worth double-checking that the `Tocsoft.Umbraco.RazorComponents.dll` is in your /bin folder?

    Cheers, Lee.

  • Psib3r 70 posts 119 karma points
    Jan 03, 2013 @ 15:49
    Psib3r
    0

    It's not there, should it have been in the package or do I need to get it from somewhere else?

  • Lee Kelleher 4004 posts 15679 karma points MVP 12x admin c-trib
    Jan 03, 2013 @ 15:56
    Lee Kelleher
    0

    I've just checked the package, the DLLs appear to be there.  I'd suggest re-installing the package.

    Cheers, Lee.

  • Psib3r 70 posts 119 karma points
    Jan 03, 2013 @ 16:57
    Psib3r
    0

    OK, installed it on another umbraco environment and that installed properly so I copied the dll's to my dev area and it seems to be working.

    Which leaves me with another question.  What I want to do is allow the page editors to create cshtml files in the scripts folder under the settings section as I don't want to give them access to the Developer area, and then I would like to render those files via a macro.  Now it does work, except for the fact that the cshtml files created under the scripts section does not seem to parse html.

    Is there a way of doing this?

  • Lee Kelleher 4004 posts 15679 karma points MVP 12x admin c-trib
    Jan 03, 2013 @ 17:03
    Lee Kelleher
    0

    Hi Psib3r, happy that you got it working.

    I'm not the package developer, so not sure how to go about doing what you want to do.

Please Sign in or register to post replies

Write your reply to:

Draft