我想知道在为新项目类型制作 MonoDevelop 插件时如何将“复制到输出目录”选项设置为“如果更新则复制”?
以这段代码为例,......我需要添加什么才能在构建时将“manifest.json”复制到输出目录?
<?xml version="1.0"?>
<Template originator = "Andrew Witte">
<TemplateConfiguration>
<_Name>MonoNaCl Project</_Name>
<_Category>C#/MonoNaCl</_Category>
<LanguageName>C#</LanguageName>
<_Description>Creates a MonoNaCl project.</_Description>
</TemplateConfiguration>
<!-- Actions -->
<Actions>
<Open filename = "Internal.c"/>
<Open filename = "Main.cs"/>
</Actions>
<Combine name = "${ProjectName}" directory = ".">
<Options>
<StartupProject>${ProjectName}</StartupProject>
</Options>
<References>
<Reference type="Gac" refto="System" />
</References>
<Project name = "${ProjectName}" directory = "." type = "MonoNaCl">
<Options Target = "Exe"/>
<Files>
<File name="manifest.json">
<![CDATA[{
"name": "MonoNaCl",
"description": "Mono for NaCl project.",
"version": "1.0.0",
"icons": {
},
"requirements": {
"3D": {
"features": ["css3d", "webgl"]
}
},
"app": {
"launch": {
"local_path": "${ProjectName}.html"
}
}
}
]]></File>
</Files>
</Project>
</Combine>
</Template>