AlanBarber / NLog.Targets.Splunk

A NLog target for Splunk Http Event Collector (HEC) Sender
Apache License 2.0
9 stars 24 forks source link

This is an invalid xsi:type 'http://www.nlog-project.org/schemas/NLog.xsd:SplunkHttpEventCollector' #56

Open mattfrear opened 3 years ago

mattfrear commented 3 years ago

Hi Alan

I have installed the NLog.Schema NuGet package, which gives me xsd validation of the NLog.config file. However, now Visual Studio gives the above warning in the Error List. I have:

  <extensions>
    <add assembly="NLog.Targets.Splunk" />
    <add assembly="NLog.Web.AspNetCore" />
  </extensions>
  <targets>
    <target name="SplunkNlogConfig"
       xsi:type="SplunkHttpEventCollector"