1
1
我建议简单地重用XAML文件扩展名(在目标中无法绕过此检查)。您需要自己的文件扩展名有什么原因吗? |
2
0
Property属性=projectItem.Properties.Item(“BuildAction”);
要解决此问题,您需要将ItemType设置为自定义操作,如下所示: projectItem.Properties.Item(“ItemType”).Value=“MyCustomActionName”。 谢谢 -布莱克·尼米斯基 |