.Net Core 6 re: .csproj file

Dean Everhart 1,541 Reputation points
2023-01-17T15:13:48.4+00:00

Not seeing a MvcMovie.csproj at the top level of the project (even after choosing to show all files) re: directions below. I'm working off of a .Net Core 6 tutorial ([https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-model?view=aspnetcore-6.0&tabs=visual-studio)

_******___**_**___**_**___**_**___**__

To eliminate the warnings from nullable reference types, remove the following line from the MvcMovie.csproj file:

XMLCopy

<Nullable>enable</Nullable>

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-01-18T03:17:45.1466667+00:00

    Hi @Dean Everhart

    To view the .csproj file, you can double click the project name.

    Or you can right click the project name, then select the "Open Folder in File Explorer" option, then in the File Explorer, open the .csproj file and Edit it.

    image2


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,

    Dillion

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-01-17T16:44:37.02+00:00

    that is becuase the project node in the solution is the project file. just click on the node. with older project files you need to unload the project, then you can right click the node to get to the edit.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.