Is it possible to automatically set “Copy to Output Directory” when creating files in Visual Studio 2010?
问题 I recently started playing around with LuaInterface to get Lua scripting working in my C# programs. In order to easily create Lua scripts from within Visual Studio, I installed a Lua syntax highlighting plugin and created an Item Template so that I could create new scripts by right clicking on the project file and selecting "New Item->Lua Script". This works quite well. In order for the program to find the scripts, they need to be placed in the same directory (or a subdirectory) of the build