dbettin / webapi.nlog

NLog TraceWriter implementation for Asp.Net WebApi
MIT License
13 stars 7 forks source link

System.Web.Http.dll should not be distributed with the NuGet package #1

Open JohannesRudolph opened 11 years ago

JohannesRudolph commented 11 years ago

... as it conflicts with the released version of WebApi (and is legally questionable due to licensing issues...). Can you instead make the nuget package depend on Microsoft.AspNet.WebApi.Core.4.0 and above?

jonswaino commented 11 years ago

I agree, I've included this in my project and now getting lots of errors like the one below:

Error 13 'System.Web.Http.HttpConfiguration' does not contain a definition for 'Services' and no extension method 'Services' accepting a first argument of type 'System.Web.Http.HttpConfiguration' could be found (are you missing a using directive or an assembly reference?)

alanwei43 commented 9 years ago

Have you resolved the Error 13?