?? ????? ????? ??? "System.Resources.MissingManifestResourceException" ??? ?????? ??? ??? .resources ??????? ?? ??? ???????

?????? ????????? ?????? ?????????
???? ???????: 318603 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? Visual Basic .NET ????? ?? ?? 2005 Visual Basic ?? Visual C# .NET ?? ????? Windows Visual J# ?? .NET ?? ????? ????? ????? ??????? ?? ??? ?????? ??? ????? ?????:
??? ??????? ??? ????? ?? ????? 'System.Resources.MissingManifestResourceException' ?? mscorlib.dll

??????? ??????: ???? ?????? ??? ????? ????? ?? ??????? ??????? (?? ??????? ????????) ?? ??????? ???????. ???? ?? ?? "Form1.resources" ?? ??????? ???? ?? ????? ?? "myApplication" ???? ????.

baseName: locationInfo Form1: ??? ??? ???? WindowsApplication4.Form1: ??????? Form1.resources: myApplication ??????? = 1.0.781.33026 ??????? = ?????? ????? PublicKeyToken = ?????
??? ??? ?????? ??? "????" ?? ???? ???? ????? ?? ??? ??? ???? ?????? ????????? ???????? ?? ???? ??????? ????????? (IDE) ????? ???? ???? ??? ?? ????????? ???????? ???? ????? InitializeComponent ??? ???????. ??? ???? ??????? ??? ??? ?????? ??????? ?? ??? "???? ?? ?????????" ???? ??? ????? ????????? ?? ???? ???? ImageList. ??? ????? ?? ??? ?? ???? ????? ????? ??? ???? ???? ????? ? ???? ???? ??? resources.GetObject ??? ??? ????? ?? ???????? ???????? ?? ????? ?????:
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));

?????

???? ??? ??????? ???? ??? ??????? ???? ????? ?????? ?? ?????? ??????? ????????? ???????? ???????.

?????? ???? ??? ?????? ???? ????????? ??????? ??? ???????. ?? ???? ???? ??? ??????? ?????? ???? ???? ?? ???? ??? ??????? ??????.

????

??? ??? ???????? ??? ???? ??????? ?????? ???? ???? ??? ????? ??? ???????.

???? ??????

??????? ?????? ??? ??? ??????? ?? ?????? ??????? ??? ??? ?????? ??? .resX ???????. ?????? ????? ???? ??????? ???????:
  1. ??? ????? Visual Studio .NET 2003 ?? Visual Studio 2005 .
  2. ???? ??????? ???? ????? ??? ??? ??????? ???????? ??? ????? ????? ????? ???????? ?? ??? "???????".
  3. ?? "??????" ???? "? ?? ?????? ???? ????????.
  4. ???? ??? ?????? ?????? ??? Form1.resX ??? ?? ???? ??? ?????.
  5. ?? ???? ?????? ????? ??????? Form1.resX ????? ????? ????? ? ?? ???? ??? ??? ??? ??????? ?????.
  6. ????? ????? ??? ??? ?????? ?? $(IntDir)/ <placeholder>. Form1.resources ??? $ (IntDir) / <placeholder>..resources MyForm ? ?? ???? ??? ?????.

    ??????MyForm ?????? ?????? ??? ????? ??? ??????? ???? ??? ????????.
  7. ???? CTRL + SHIFT + S ???? ???????. ???? CTRL + SHIFT + B ???? ????.????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
    824495FIX: ????? ???? "MissingManifestResourceException" ????? ??? ??? ????? ???? ?????? ?? Visual Studio .NET 2003
  8. ???? F5 ?????? ???????. ??? ????? ??????? ?? Form1 ??? ???????.
.

?????

????? ??? ?????? ??? ???????.

??????? ????

???? ?? ????? ?????? ????? ????????? ?????? ????? ??? ???? ??????. ??? ????? "???????" ? ??? ?? ???? ?????? ????? ????? ???? ??? ?? ?????? ?????? ??? .resources. ????? ???? ???? ??????? ???? ????? ?????? ?? ?????? ??????? ????????? ???????? ??? ????? ???? ????? .resources. ??? ????? ??? .resources ???????? ??? ??? ??? ??? ???????. ?? ???? ???????? ????? ??? ?? ?????. ??? ???? ??? ????? ??? ??????? ???? ????? ????? ???????? ?? ??? "???????".

??? ????? ??????? ?? ??? ??????? ?? ???? ?????? ??? ?????? ?? ??? .resources ????? InitializeComponent. ???? InitializeComponent ??? .resources Form_Name ?? ???????. ???? ?? ????? ??? .resources Form_Name ?????? ????? ?? ??? ??????? ? ???? ?????? ??????? ??? .resources.

????? ????? ????? ??????

  1. ????? ????? ????? Windows ?? Visual Basic .NET ?? ?? 2005 Visual Basic ?? Visual C# .NET Visual J# .NET. ??? ????? Form1 ?????? ?????????. ?????? ?? Visual Studio 2005 ? ????? ????? ??????? ???????:
    ?? ???? ????? ???????? ?? ??? ???????. ??? (?????????) ?? ????? "?????" ?????? ??? ??????? ????????? ?? ????? ????????.
    ?????? ??? ????? ????????? ???????? ?? Visual Basic 2005. ???? ???????? ????? Visual Basic ????? ??????? ??? ????? ?????? ????? ????? Windows. ??? ?? ????? ??????? Form1, ??? ????? ??????? ???? ???? ??????? Form1.vb ? Form1.Designer.vb. ????? ????????? ???????? ?? ??? Form1.vb. ???? ????? Windows ?????? ???????? ???????? ?? ??? Form1.Designer.vb. ???? ????? Windows ?????? ?????? ???????? ??????? ?????? ????? Form1 ??? ????? ??????. ???? ??? ?????? ?? ????????? ???????? ???? ?? ??????? ???? ?? ??? interspersed ?? ????????? ???????? ?????? ??.

    ????? ?? ????????? ??? ??????? ????? 2005 Visual Basic ??????? ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????:
    http://msdn2.microsoft.com/en-us/library/ms379584(vs.80).aspx
    ????? ?? ????????? ??? ???? ????? "?" ???? ????? Windows ?? ?????? ???? MSDN ??????:
    http://msdn2.microsoft.com/en-us/library/ms171843.aspx
  2. ????? ???? ???? ImageList ??? Form1.
  3. ????? ??? ??? ??? ???? ?????? ImageList.
  4. ?? ?????? ??????? ????????? ???????? Form1 ?????? ???????? ???????? ??????? ??? ????? Form1: Visual Basic .NET:
    Public Class someClass
    End Class
    					
    Visual C# .NET ? Visual J# .NET:
    public class someClass
    {
    }
    					
  5. ????? ???????. ???? ???? ??????? ?????.
  6. ????? ???????. ???? ?? ????? ????? ????? ???????? ?? ??? "???????".

???????

???? ???????: 318603 - ????? ??? ??????: 24/???? ??????/1428 - ??????: 4.3
????? ???
  • Microsoft Visual Basic .NET 2002 Standard Edition
  • Microsoft Visual C# .NET 2002 Standard Edition
  • Microsoft Visual J# .NET 2003 Standard Edition
  • Microsoft Visual C# .NET 2003 Standard Edition
  • Microsoft Visual Basic .NET 2003 Standard Edition
????? ??????: 
kbmt kbvs2005applies kbvs2005swept kbprb KB318603 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????318603

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com