Syntax Error

Code samples and hints

"Payload file does not exist" compile error

If you write a Windows Metro Style App in Visual Studio 11 Beta and references directly a self written UserControl-DLL you may get the following error:

"Payload file [xyz] does not exist" compile error

 

--> This is a bug.

 

To workaround this, go to the DLL output folder (e.g. bin\Release), create a new folder named like your DLL-Name (e.g. MyUserControlLibrary) and move the XAML files down to this folder.

bin\Release

  MyUserControlLibrary.dll

  MyUserControlLibrary.pri

  \MyUserControlLibrary [folder] <-- create

       UserControl1.xaml <-- move here

       UserControl2.xaml <-- move here

  

Sources:

http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/51111470-8a86-44d4-acb8-e268afa7564e

http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/b20ca4a5-8293-4da7-859e-6759a2a76f9d

Kommentare sind geschlossen