Visual studio item template $safeitemname$ not working as expected
问题 I'm creating a Visual Studio Item template to create a few files which depend on a 'container' file. The last file <ProjectItem SubType="Code" TargetFileName="$fileinputname$\I$fileinputname$ View.cs" ReplaceParameters="true">Container View.cs</ProjectItem> creates a view interface that expects a certain model type. However the $safeitemname$ parameter didn't work as I expected. Output Container View.cs file: public interface IIMy_Triplet_View : IView<IMy_Triplet_View_Model> { } Expected: