locked
Can't pack .lua file into package. RRS feed

  • Question

  • I have a project need to use test.lua file. I add it to the resource, but it unable packaged into the package, the folder User/david/AppLayouts/28ed45d3-xxxxx-xxxxx/ can not find the test.lua. I changed the file name, test.lua into test.png and it is workable. Is there any limited file type when putting resource folder?
    Tuesday, October 4, 2011 3:53 PM

Answers

  • Output binaries are included to the package by default. To include non-output files as part of the package, please make sure the "Content" property for the particular file is set to "true" in the properties window.

    This property is set to "true" by default for Image files, with extension of ".jpg", ".jpe" ".jpeg",   ".jfif" , ".png", ".bmp" , ".dib", ".gif" , ".ico" , ".tif" , ".tiff".

    Li Shao, MSFT


    Li Shao
    • Proposed as answer by Raman Sharma Thursday, October 13, 2011 2:55 AM
    • Marked as answer by Hung-Yi Lin Friday, October 14, 2011 6:47 AM
    Saturday, October 8, 2011 8:45 PM

All replies

  • You should be able to change the properties for the file in your project to use the following settings and it will deploy with the application.

    -David

    Saturday, October 8, 2011 12:00 AM
    Moderator
  • Output binaries are included to the package by default. To include non-output files as part of the package, please make sure the "Content" property for the particular file is set to "true" in the properties window.

    This property is set to "true" by default for Image files, with extension of ".jpg", ".jpe" ".jpeg",   ".jfif" , ".png", ".bmp" , ".dib", ".gif" , ".ico" , ".tif" , ".tiff".

    Li Shao, MSFT


    Li Shao
    • Proposed as answer by Raman Sharma Thursday, October 13, 2011 2:55 AM
    • Marked as answer by Hung-Yi Lin Friday, October 14, 2011 6:47 AM
    Saturday, October 8, 2011 8:45 PM