dotnet/roslyn

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

Open

#4655 aperta il 19 ago 2015

Vedi su GitHub
 (31 commenti) (9 reazioni) (1 assegnatario)C# (4257 fork)batch import
Area-IDEBugConcept-APIhelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

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

Guida contributor