无效的Resz文件。给定的程序集或代码库无效

时间:2014-10-17 20:49:59

标签: vb.net

在我的visual studio解决方案中更换所有工具后发生了不幸的事故,我一直在逐步完成代码行。 - 我基本上删除了所有'>'出于我的解决方案。傻我知道。

但更多的是当前的问题。我一直在修复所有内容,并且能够修复几乎所有的表单,除了Reasources.resx中的这个唠叨错误。

  

无效的Resz文件。给定的程序集或代码库无效。

我已经突出显示了此错误的相关位置(第127行,第5位)

<?xml version="1.0" encoding="utf-8"?>
<root>
   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>
      System.Resources.ResXResourceWriter, System.Windows.Forms="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b77a5c561934e089">
    </value>
  </resheader>
  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  <data name="ajax_loader" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\ajax-loader.gif;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>              '<---------------ERROR RELATES TO THIS LINE HERE******************
  <data name="blue_home_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\blue-home-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="Places_folder_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Places-folder-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="Dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Dark.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="no" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\no.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="minimize1" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\minimize1.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="LoadingCircle_finalani" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\LoadingCircle_finalani.gif;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="Atlas_Background_Song" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Royalty Free="" Music="" -="" Nesser="" -="" Savanna.wav;System.IO.MemoryStream="", mscorlib="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b77a5c561934e089">
    </value>
  </data>
  <data name="black_background" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\black_background.jpg;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="Actions-go-bottom-icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Actions-go-bottom-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="yes" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\yes.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="Places_user_identity_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Places-user-identity-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="Recycle_4_2_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Recycle-4-2-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a">
    </value>
  </data>
  <data name="Recycle_4_1_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\Recycle-4-1-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="minimize" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\minimize.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="database_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\database-icon.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="minimize2" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\minimize2.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="database_2no" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\database-2no.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="streamerno" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\streamerno.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
  <data name="teamstuffno" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>
      ..\Resources\teamstuffno.png;System.Drawing.Bitmap, System.Drawing="", Version="4.0.0.0", Culture="neutral", PublicKeyToken="b03f5f7f11d50a3a"
    </value>
  </data>
</root>

任何对此的帮助都将不胜感激。

0 个答案:

没有答案