dotnet/roslyn

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

Offen

#4.655 geöffnet am 19.08.2015

 (31 Kommentare) (9 Reaktionen) (1 zugewiesene Person)C# (4.257 Forks)batch import
Area-IDEBugConcept-APIhelp wanted

Repository-Metriken

Stars
 (20.414 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide