V
V
vorobyeval2020-01-21 10:38:28
ASP.NET
vorobyeval, 2020-01-21 10:38:28

How to find out what the project is .net core or asp .net?

Sorry for the stupid question, they gave me a C# project with which I almost never really worked and wrote only desktop. Where can I see in the source code on which framework the project is written?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-01-21
@vorobyeval

if there is appsettings.json then net core
if global.asax then normal net

V
Vasily Bannikov, 2020-01-24
@vabka

If the project has aspx, asax files, then this is ASP.NET.
If the .csproj file contains a line like

<PackageReference Include="Microsoft.AspNetCore" />
, or <Project Sdk="Microsoft.NET.Sdk.Web">with <TargetFramework>netcoreapp3.1</TargetFramework>, then this is ASP .net Core

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question