'配置'元素未在Visual Studio 2015中声明

时间:2017-05-26 04:30:40

标签: c# android visual-studio-2015

我的App Visual Studio有些问题,特别是在我的Xamarin中, 我想问为什么每次我编译,这个消息总是来的?

The 'configuration' element is not declared.App4.Android

这是我的源代码,

任何人都可以帮助我吗?

<?xml version="1.0" encoding="utf-8" ?>`

    <configuration>            
    <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Net.Http" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Runtime" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
            </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-4.2.29.0" newVersion="4.2.29.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>`

0 个答案:

没有答案