dotnet/roslyn

Solution.AddAdditionalDocument does not add a new file with AdditionalFiles item type

Open

#4,655 创建于 2015年8月19日

在 GitHub 查看
 (31 评论) (9 反应) (1 负责人)C# (20,414 star) (4,257 fork)batch import
Area-IDEBugConcept-APIhelp wanted

描述

When adding a new file to a solution from within a codefix provider using the Solution.AddAdditionalDocument method, the file gets added with an item type of None where an item type of AdditionalFiles is expected.

This issue was observed using VS2015 RTM with roslyn 1.0.0

贡献者指南

Solution.AddAdditionalDocument does not add a new file with AdditionalFiles item type · dotnet/roslyn#4655 | Good First Issue