<i id='TNPlU'><tr id='TNPlU'><dt id='TNPlU'><q id='TNPlU'><span id='TNPlU'><b id='TNPlU'><form id='TNPlU'><ins id='TNPlU'></ins><ul id='TNPlU'></ul><sub id='TNPlU'></sub></form><legend id='TNPlU'></legend><bdo id='TNPlU'><pre id='TNPlU'><center id='TNPlU'></center></pre></bdo></b><th id='TNPlU'></th></span></q></dt></tr></i><div id='TNPlU'><tfoot id='TNPlU'></tfoot><dl id='TNPlU'><fieldset id='TNPlU'></fieldset></dl></div>
  • <small id='TNPlU'></small><noframes id='TNPlU'>

    <tfoot id='TNPlU'></tfoot>

      <bdo id='TNPlU'></bdo><ul id='TNPlU'></ul>
    <legend id='TNPlU'><style id='TNPlU'><dir id='TNPlU'><q id='TNPlU'></q></dir></style></legend>

        app.config “找不到架构信息"转换为 Visual Stu

        时间:2023-06-02
      1. <small id='i4SAD'></small><noframes id='i4SAD'>

            • <i id='i4SAD'><tr id='i4SAD'><dt id='i4SAD'><q id='i4SAD'><span id='i4SAD'><b id='i4SAD'><form id='i4SAD'><ins id='i4SAD'></ins><ul id='i4SAD'></ul><sub id='i4SAD'></sub></form><legend id='i4SAD'></legend><bdo id='i4SAD'><pre id='i4SAD'><center id='i4SAD'></center></pre></bdo></b><th id='i4SAD'></th></span></q></dt></tr></i><div id='i4SAD'><tfoot id='i4SAD'></tfoot><dl id='i4SAD'><fieldset id='i4SAD'></fieldset></dl></div>
              • <bdo id='i4SAD'></bdo><ul id='i4SAD'></ul>

                <legend id='i4SAD'><style id='i4SAD'><dir id='i4SAD'><q id='i4SAD'></q></dir></style></legend><tfoot id='i4SAD'></tfoot>
                    <tbody id='i4SAD'></tbody>
                • 本文介绍了app.config “找不到架构信息"转换为 Visual Studio 2010/.Net 4.0 后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  将我的项目升级到 Visual Studio 2010 和 .Net 4.0 后,我的 app.config 文件会在构建项目时生成以下消息:

                  After upgrading my project to Visual Studio 2010 and .Net 4.0, my app.config file generates these messages upon building the project:

                  • 找不到元素supportedRuntime"的架构信息.
                  • 找不到属性版本"的架构信息.
                  • 找不到属性sku"的架构信息.

                  这是我的整个 app.config 文件:

                  Here is my entire app.config file:

                  <?xml version="1.0"?>
                  <configuration>
                    <startup>
                      <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>
                    </startup>
                  </configuration>
                  

                  如果我创建一个新的 VS2010 项目并从字面上复制/粘贴相同的 app.config 文件,我不会收到此类消息.

                  If I create a new VS2010 project and literally copy/paste the same app.config file, I receive no such messages.

                  显然这些消息不会导致任何运行时问题,但它们仍然令人烦恼和不安.

                  Obviously these messages are not causing any runtime problems, but they are still annoying and disconcerting.

                  如何解决导致这些消息出现的问题?

                  How do I fix whatever problem is making these messages appear?

                  我在 app.config configSections 看到了答案自定义设置找不到架构信息,但是我在属性列表中看不到任何地方输入架构的路径.

                  I see the answer at app.config configSections custom settings can not find schema information, but I see nowhere in the properties list to enter the path to the schema.

                  谢谢.

                  推荐答案

                  我将架构从 DotNetConfig 更改为 DotNetConfig35,它解决了这个问题.这在 app.config 文件的属性中可用.

                  I changed the schema from DotNetConfig to DotNetConfig35 and it took care of the issue. This is available in the properties of the app.config file.

                  在解决方案资源管理器中右键单击 app.config 文件会给出文件的属性,在 app.config 文件本身的编辑窗口中右键单击会给出 XML 文档的属性.

                  Right clicking the app.config file in solution explorer gives the properties of the file, right clicking in the edit window of the app.config file itself gives the properties of the XML document.

                  这篇关于app.config “找不到架构信息"转换为 Visual Studio 2010/.Net 4.0 后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:使用 Visual Studio 2010 创建 XML 架构并从中自动生成 下一篇:将 XML 反序列化为 XSD 生成的类的问题

                  相关文章

                  最新文章

                  <legend id='fnlMv'><style id='fnlMv'><dir id='fnlMv'><q id='fnlMv'></q></dir></style></legend>

                  • <bdo id='fnlMv'></bdo><ul id='fnlMv'></ul>
                • <i id='fnlMv'><tr id='fnlMv'><dt id='fnlMv'><q id='fnlMv'><span id='fnlMv'><b id='fnlMv'><form id='fnlMv'><ins id='fnlMv'></ins><ul id='fnlMv'></ul><sub id='fnlMv'></sub></form><legend id='fnlMv'></legend><bdo id='fnlMv'><pre id='fnlMv'><center id='fnlMv'></center></pre></bdo></b><th id='fnlMv'></th></span></q></dt></tr></i><div id='fnlMv'><tfoot id='fnlMv'></tfoot><dl id='fnlMv'><fieldset id='fnlMv'></fieldset></dl></div>

                  1. <tfoot id='fnlMv'></tfoot>

                      <small id='fnlMv'></small><noframes id='fnlMv'>