Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve symbol 'UseWebApiHelpPage' #1

Closed
NZTSL opened this issue Jan 14, 2016 · 7 comments
Closed

Cannot resolve symbol 'UseWebApiHelpPage' #1

NZTSL opened this issue Jan 14, 2016 · 7 comments

Comments

@NZTSL
Copy link

NZTSL commented Jan 14, 2016

Hi,

I added the package via Nuget but then got the Cannot resolve symbol 'UseWebApiHelpPage' error when adding this line in my code:

app.UseWebApiHelpPage(config);

Any idea ?

Thanks.

@DalSoft
Copy link
Owner

DalSoft commented Jan 14, 2016

Are you missing?

using  DalSoft.WebApi.HelpPage;

@NZTSL
Copy link
Author

NZTSL commented Jan 14, 2016

Seems I'm missing the dll actually.

@NZTSL
Copy link
Author

NZTSL commented Jan 14, 2016

Ok the dll was in packages folder but I had to reference it manually.

I have another error now:

The type or namespace name 'DalSoft' could not be found (are you missing a using directive or an assembly reference?)

on this line:

using  DalSoft.WebApi.HelpPage;

@NZTSL
Copy link
Author

NZTSL commented Jan 14, 2016

Is it compatible with .NET 4.5 or 4.5.1 only ?

@NZTSL
Copy link
Author

NZTSL commented Jan 14, 2016

Ok upgraded the project to 4.5.2, works fine now, thanks.

@NZTSL NZTSL closed this as completed Jan 14, 2016
@DalSoft
Copy link
Owner

DalSoft commented Jan 14, 2016

Hi sorry just realized what has happened, the project has been build targeting .Net 4.5.2 which is why NuGet skips referencing the dll. I fix it to tonight 4.5 as it doesn't need to be .Net 4.5.2.

@NZTSL
Copy link
Author

NZTSL commented Jan 14, 2016

Ok thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants