Copied to clipboard

Flag this post as spam?

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


  • Daniel Bardi 927 posts 2562 karma points
    May 01, 2011 @ 06:47
    Daniel Bardi
    0

    Sporadic error when saving Razor files

    I get the following error sporadically when saving Razor files.

    I've researched this and think it might be related to the Microsoft.Scripting.dll

    I've removed it from the bin and the error goes away, but then xlst breaks.

    There error eventually comes back so I put the assembly back in the bin and the error goes away again.

    I'm running 4.7.  I upgraded from 4.0.3 months ago.  Everything was running fine until I started using Razor.

    HELP!

  • Eran Meir 401 posts 543 karma points
    May 01, 2011 @ 12:53
    Eran Meir
    0

    i found a similar thread about it http://our.umbraco.org/forum/developers/razor/19151-Save-error maybe it will help you

  • Max Davidse 16 posts 37 karma points
    May 02, 2011 @ 10:19
    Max Davidse
    0

    What version is your .NET framework? ASP.NET MVC3 run-time components require .NET Framework version 4, so this may be the source of your problems.

    In general: Compiler Error CS0656 can be caused by the following problems:

    1. Your installation of the common language runtime is corrupt.

    2. You have a reference to an assembly that defines a type that is also found in the common language runtime. However, your assembly's type is not defined the way the C# compiler expects.

    So check your references to ensure that you are using the correct version of the common language runtime.

  • Daniel Bardi 927 posts 2562 karma points
    May 02, 2011 @ 11:03
    Daniel Bardi
    0

    Running 4.7 on .Net 4.0 (required).. been running 4.0 for over a year.

    Error happens when I update 3rd party assemblies (i.e. install a package)

    Error goes away if I increment the client dependancy version

    Go figure..!?

  • Daniel Bardi 927 posts 2562 karma points
    May 08, 2011 @ 07:09
    Daniel Bardi
    0

    Anyone have a solution or at least a reason for this happening?

Please Sign in or register to post replies

Write your reply to:

Draft