How disable safe compile mode???? [Answered]RSS

1 reply

Last post Mar 11, 2011 09:34 AM by xRidx

  • How disable safe compile mode????

    Mar 10, 2011 04:38 PM|xRidx|LINK

    I having that field:

    private unsafe static extern int

    when i debug i got error :

    Unsafe code may only appear if compiling with /unsafe

    but how may i dissable unsafe debug option in WebMatrix.Pls Help.

  • Re: How disable safe compile mode????

    Mar 11, 2011 09:34 AM|xRidx|LINK

     I foud solution how do this.I must configure it in web.config:



    language="c#;cs;csharp" extension=".cs"


    type="Microsoft.CSharp.CSharpCodeProvider, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" />