Command "File.AddexistingItem" is not valid

Viewed 137

I am curious about why wouldn't this command work?

File.AddExistingItem

Since it's stated in MSDN library and it has its own chapter about it!
https://msdn.microsoft.com/en-us/library/6h4c0t7y.aspx

I am using VS2015
1. Open the IDE's command window by View->Other Window->Command Window
(or simply by shortcut key: CTRL + ALT + A
2. Type File.AddExistingItem Whatever_Valid_CSHARP_Filepath no auto-completion
(As you can see there is no auto-completion for File.AddExistingItem)

3.It comes out "Command "File.AddexistingItem" is not valid." But the similar command File.AddExistingProject works adding *.csproj using File.AddExistingProject works, and no "Command xxx is not valid" coming out
(using File.AddExistingProject works, and no "Command xxx is not valid" coming out)

Does anyone know why it doesn't work?
And How can I fix it? If it's possible.

1 Answers
Related