Is there a Razor Pages template available in Visual Studio 2017?
The template comes from the SDK. However, I think you need VS 2019 v16.4+ or VS Code to run and edit a Core 3.x application. Anyway both editors are free.
...so I can't really do anything with Razor Pages or anything else besides MVC(on my office computer, at least) until my employer upgrades to VS2019?
I don't know your employer's policy when it comes developing applications and purchasing development software. In my experience it's a conversation with the right people to get the software. Usually no one outside the dev team knows what dev tools are needed.
So you have to ask.
As stated above if you want to use Visual Studio then at least VS 2019 v16.4 is required for Razor Pages.
None
0 Points
10 Posts
Razor pages possible in Visual Studio 2017?
Oct 27, 2020 06:14 PM|irsharp23|LINK
Is there a Razor Pages template available in Visual Studio 2017?
If so, how do I use it(since it isn't on the "New Project" menu as it is in Visual Studio 2019)?
All-Star
53081 Points
23654 Posts
Re: Razor pages possible in Visual Studio 2017?
Oct 27, 2020 06:17 PM|mgebhard|LINK
The template comes from the SDK. However, I think you need VS 2019 v16.4+ or VS Code to run and edit a Core 3.x application. Anyway both editors are free.
None
0 Points
10 Posts
Re: Razor pages possible in Visual Studio 2017?
Oct 27, 2020 07:18 PM|irsharp23|LINK
...so I can't really do anything with Razor Pages or anything else besides MVC(on my office computer, at least) until my employer upgrades to VS2019?
All-Star
53081 Points
23654 Posts
Re: Razor pages possible in Visual Studio 2017?
Oct 27, 2020 08:17 PM|mgebhard|LINK
I don't know your employer's policy when it comes developing applications and purchasing development software. In my experience it's a conversation with the right people to get the software. Usually no one outside the dev team knows what dev tools are needed. So you have to ask.
As stated above if you want to use Visual Studio then at least VS 2019 v16.4 is required for Razor Pages.
All-Star
58254 Points
15674 Posts
Re: Razor pages possible in Visual Studio 2017?
Oct 27, 2020 08:24 PM|bruce (sqlwork.com)|LINK
you can always just use the dotnet command line.
dotnet new web app
creates a razor page app.
dotnet run
runs it
you can visual studio code to debug
All-Star
48570 Points
18081 Posts
Re: Razor pages possible in Visual Studio 2017?
Oct 27, 2020 10:04 PM|PatriceSc|LINK
Hi,
If you really have to use VS 2017 you would need to stick with ASP.NET Core 2.x: https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=netcore31#install-with-visual-studio
Beyond the command line anohter option is to use https://code.visualstudio.com/
VS 2019 Community is free if https://visualstudio.microsoft.com/license-terms/mlt031819/ applies.