Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/281.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# ASP.NET system.codedom不工作_C#_Asp.net_Codedom - Fatal编程技术网

C# ASP.NET system.codedom不工作

C# ASP.NET system.codedom不工作,c#,asp.net,codedom,C#,Asp.net,Codedom,我正在制作一个asp.net网站 有没有一种方法可以将此代码: <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/unsafe" type="Microsoft.CSharp.CSharpCodePr

我正在制作一个asp.net网站

有没有一种方法可以将此代码:

<system.codedom>
    <compilers>
        <compiler 
            language="c#;cs;csharp" 
            extension=".cs" 
            compilerOptions="/unsafe"
            type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    </compilers>
</system.codedom>
也许这工作

<system.codedom>
<compilers>
    <compiler 
        language="c#;cs;csharp" 
        extension=".cpp" 
        compilerOptions="/unsafe"
        type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, 
        Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>


您能告诉我您更改了什么,以及为什么现在可以使用吗?它对我不起作用,它不起作用
<system.codedom>
<compilers>
    <compiler 
        language="c#;cs;csharp" 
        extension=".cpp" 
        compilerOptions="/unsafe"
        type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, 
        Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>