在WebConfig文件中,OldVersion =“0.0.0.0-x.x.x.x”不接受

时间:2017-01-31 10:29:01

标签: c# web-config config assemblyversions

<dependentAssembly>
    <assemblyIdentity name="assembly" publicKeyToken="b87ed1f09d48c01" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-x.x.x.x" newVersion="x.x.x.x" />
  </dependentAssembly>

我已经在我的网络配置文件中给出了这个以接受版本范围,但我得到的是异常。

 Application Configuration file "Web.config" is invalid. There was a problem parsing the oldVersion attribute. Input string was not in a correct format.

0 个答案:

没有答案