In my web.config I have the following settings:
<system.diagnostics>
<trace>
<listeners>
<add name="AzureDiagnostics"
type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<filter type="" />
</add>
</listeners>
</trace>
</system.diagnostics>
which is just the same as in MSDN example here:
<system.diagnostics>
<trace>
<listeners>
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,
Microsoft.WindowsAzure.Diagnostics,
Version=1.0.0.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35"
name="AzureDiagnostics">
<filter type="" />
</add>
</listeners>
</trace>
Yet Visual Studio will underline type
attribute inside <filter type=""
and when I move mouse there it says the 'type' attribute is not allowed
. If I try using IntelliSense to find what is allowed it offers lockItem
, lockElements
, lockAttributes
, lockAllElementsExcept
and lockAllAttributesExcept
.
Why does Visual Studio not like type
inside filter
?