dotnet/roslyn

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

Open

#4 655 ouverte le 19 août 2015

Voir sur GitHub
 (31 commentaires) (9 réactions) (1 assigné)C# (4 257 forks)batch import
Area-IDEBugConcept-APIhelp wanted

Métriques du dépôt

Stars
 (20 414 stars)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

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

Guide contributeur