I am trying to publish an ASP.Net 3.5 site on IIS 7.5 using WebDAV, and every time I create a configuration file, it is empty. The culprit is the Elements provider described in the code below.
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
The FX_schema.xml file in C: \ Windows \ System32 \ inetsrv \ config \ schema is used to check Web.config for the site and does not contain ProviderOptions as part of XML. I could add something to allow this, to modify the file, to add it by adding something like this:
<collection addElement = "providerOption">
<attribute name = "name" required = "true" isUniqueKey = "true" type = "string" />
<attribute name = "value" required = "true" type = "string" />
</collection>
. , , . , , " codedom", , 3.5 , LINQ, , .
, - IIS 7.5 -?