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

Sori for the stupid question, given a project in C# which almost never worked properly and wrote only desktop. Where in the source you can see what framwork draft is written?
April 4th 20 at 13:07
3 answers
April 4th 20 at 13:09
Solution
if there is appsettings.json that net core
if global.asax ordinary net
So the project for example, the line
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
- sigmund.Crist64 commented on April 4th 20 at 13:12
@sigmund.Crist64, Net 4.5 is quite old by the way - Dylan_Kuhlman commented on April 4th 20 at 13:15
@Dylan_Kuhlman, it's not the age, but there's no need to guess, the draft is clearly written on what it is based. - sigmund.Crist64 commented on April 4th 20 at 13:18
@sigmund.Crist64, well, that would be complete answer to your question ))
it's not the crust, and the "traditional" ASP


@sigmund.Crist64litter. again didn't see anyone answer ;(( - hayley.Ziemann commented on April 4th 20 at 13:21
@sigmund.Crist64, net project can be in one of 3 languages, it is also necessary to know where to find this place. And looked at the file names and saw everything. It's not right dispute, just as opravdaniya my laziness to look for somewhere - Dylan_Kuhlman commented on April 4th 20 at 13:24
global.asax is asp.net project. - dolly_McCullough commented on April 4th 20 at 13:27
April 4th 20 at 13:11
Solution
but you can still open the project properties and look for the option "target framework"
April 4th 20 at 13:13
If the project has the aspx, asax, it ASP.NET.
If .the csproj file has a line like
<PackageReference Include="Microsoft.AspNetCore" />
or <Sdk Project="Microsoft.NET.Sdk.Web"> with <TargetFramework>netcoreapp3.1</TargetFramework>, it ASP .net Core

Find more questions by tags ASP.NET.NETC#