dotnet/roslyn

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

開放

#4,655 建立於 2015年8月19日

 (31 則留言) (9 個反應) (1 位負責人)C# (4,257 個分叉)batch import
Area-IDEBugConcept-APIhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

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

貢獻者指南