-
Notifications
You must be signed in to change notification settings - Fork 532
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
dnu restore: unknown keyword platform #88
Comments
Hey, The ASP.NET Core RC2/aspnet-contrib projects no longer work with DNX: you need to install .NET CLI to install and run the latest bits: https://github.com/dotnet/cli I'll update CONTRIBUTING.md to reflect that. Note that we already have a Steam middleware, that uses the generic OpenID2 provider: https://github.com/aspnet-contrib/AspNet.Security.OpenId.Providers/tree/dev/src/AspNet.Security.OpenId.Steam. You can find the latest release on NuGet.org (for RC1) and the nightly builds on our MyGet repository (for RC2): https://www.nuget.org/packages/AspNet.Security.OpenId.Steam/ |
thanks for that.... Haha who would have known keeping up with beta/rc projects would be so hard (not). A bit off topic, but how do you keep up to date with these changes? |
@PinpointTownes I'm having RC1 version project in my Solution. I don't want to update that project to RC2 for the time being and adding new ASP.Net Core RC2 project in the same solution. I'm seeing the same error. How I can add two version ASP.net (RC1 and RC2) in the same solution ?????? Error: Microsoft.Dnx.Runtime.FileFormatException: unknown keyword platform ---> System.InvalidOperationException: unknown keyword platform |
@falconmick sometimes, I really wonder 😄
Unfortunately, you can't. At all. Either stay with RC1-only or migrate to RC2. |
Hey guys.
Just spent the last 2 hours trying to get this damn thing to run... And yeah, no luck. I have tried heaps of things and got heaps of diferent errors, but I will start out with the initial error I get as the ones that were after might be due to my "fixes"
I have a fresh clone of my forked repo as suggested via Contributing.md I cd into: AspNet.Security.OAuth.Providers and type:
dnu restore
This is where the fun starts!
I get the following output:
Apparently the issue is that it is tripping up on this part of the project.json:
"Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0-*" }
As this is the only reference to platform (which is the issue) in the project.json
If I then go ahead and use delete the issue approach (bad I know, but hey, just run under 4.5?)
I get allot further :D yay!
(following removed from project.json)
Yay! It builds
I then proceed to open the solution in the root folder and set the sample project as the startup project. I hit run (IIS) and I get the following:
The same happens for the web command.
Does anyone have a solution for any of these? Really want to get to implementing Steam login.
Cheers :(
The text was updated successfully, but these errors were encountered: