Packaging Problem - Index (zero based) must be greater than or equal to zero and less than the size of the argument list

Hi guys! I am a complete noob in programming and I have this error when I try to package a project.

Index (zero based) must be greater than or equal to zero and less than the size of the argument list

Has anyone had the same problem? Can someone give me a clue how to fix it? Thank you in advance for any help you can give me.
link text

I’m also having this problem, can anybody help?

Just ran into this problem too while trying to package my project for the Epic MegaJam. Any ideas?

This is what fixed it for me:

I went into the installed applications in Windows, searched for Visual Studio and clicked on modify:

After a moment a window appears:

If you have any updates pending make sure to update Visual Studio straight away. This was the final fix for me, but there’s probably one more thing that you have to do. Click on “modify” (which may be hidden under “more”). In the window that pops up select “Desktop development with C++” and begin the installation using the button in the lower right corner.

If after the installation it still doesn’t work, restart your PC and try again.

My issue was a problem with UE4 communicating w Visual Studio after upgrading to Windows 10. Just to add to this solution: Be sure under Editor Preferences/General/Source Code/Accessor, that your version of Visual Studio is selected in the drop down menu.