When I try to write a new using
clause, I notice that Intellisense has, in its list, a namespace called Standard
. However, this seems to have no members on closer inspection. What is this namespace?
Asked
Active
Viewed 449 times
11

It'sNotALie.
- 22,289
- 12
- 68
- 103
-
4It it part of your own project? – Oded Feb 22 '13 at 15:06
-
No, I'm pretty sure, as I opened up another project, and it was still there. EDIT: It seems to appear in EVERY WPF project, but not on any other projects. – It'sNotALie. Feb 22 '13 at 15:06
-
I can confirm it seems like a valid namespace on my machine too, putting a `using Standard;` doesn't cause any errors in a WPF application – ArturPhilibin Feb 22 '13 at 15:10
-
I don't see it when I start a new WPF application, and get a build error if I try to use it anyway. Using Studio 2010 / .NET 4. – Jeremy Wiggins Feb 22 '13 at 15:17
-
@JeremyWiggins Seems to be a 4.5 namespace, according to the answer. – It'sNotALie. Feb 22 '13 at 15:31
-
Try searching for 'standard' in Visual Studio's object browser (found under the 'view' menu) – Colonel Panic Feb 22 '13 at 15:38
1 Answers
9
There is a namespace in the PresentationFramework assembly called "Standard". All of its types are internal though, so you can't see any of the types. However, you can still use the namespace.
The namespace seems to have appeared in the 4.5 reference assembly, it doesn't appear in the 4.0 one.

vcsjones
- 138,677
- 31
- 291
- 286