Security icon indicating copy to clipboard operation
Security copied to clipboard

release version does not compile without errors

Open Tgueth opened this issue 10 years ago • 4 comments

I downloaded the Security release repository (I am assuming that this is RC1) to my computer and opened in Visual Studio 2015. I want to use the code to walk through the authorization process of AuthorizeAsync. However, the code does not compile, too many to list

A number of issues keep this from compiling:

  1. references appear out of date or non-operable. In some case, I can remove all frameworks but dnx451 but still compile fails.

  2. All tests as well as some base code fail to compile. Removed these to try and get to a point where I could use the base libraries.

  3. Compile still fails. Here are some of the errors:

JwtBearerOptions - The type or namespace name 'TokenValidationParameters' could not be found

OpenIdConnectOptions - same error

AuthenticationMiddleware - The type or namespace name 'RequestDelegate' could not be found

Is there an issue with the RC1 version code?

Is this an issue with Nuget pulling the wrong version of libraries?

What is the fix?

Tom

Tgueth avatar Mar 07 '16 15:03 Tgueth

You should never use the release branch - that's just for build stabilization while a release is being prepared. Instead, use dev for the latest, most up-to-date code, and use master for the latest public bits.

Can you try out dev or master and see if that works for you?

Eilon avatar Mar 07 '16 17:03 Eilon

Sorry, misunderstood the terminology. Still learning to dig into this. I am not ready to move to RC2 (lots of breaking changes mainly) but working to understand the parts of the underlying architecture so the RC1 release is just fine as I move an application to MVC6.

Sorry for my ignorance. Will let you know if this solves my problem.

Tom

From: Eilon Lipton [mailto:[email protected]] Sent: Monday, March 7, 2016 12:34 PM To: aspnet/Security [email protected] Cc: Tgueth [email protected] Subject: Re: [Security] release version does not compile without errors (#733)

You should never use the release branch - that's just for build stabilization while a release is being prepared. Instead, use dev for the latest, most up-to-date code, and use master for the latest public bits.

Can you try out dev or master and see if that works for you?

— Reply to this email directly or view it on GitHub https://github.com/aspnet/Security/issues/733#issuecomment-193362529 . https://github.com/notifications/beacon/ADkfz79qWmWZ80uDNfY9sip68MqbYisJks5prGGhgaJpZM4Hq3-g.gif

Tgueth avatar Mar 07 '16 18:03 Tgueth

Okay, you are correct. Master version does compile. Thank you for the clarification.

Tgueth avatar Mar 07 '16 19:03 Tgueth

Great, thanks!

Eilon avatar Mar 07 '16 22:03 Eilon