You're working on a .NET project with a team and want to ensure everyone uses the same .NET SDK version. What file, when added to your project, can specify the SDK version developers should use?
- .editorconfig
- global.json
- project.json
- .NETVersion.json
To specify the SDK version for a .NET project, you should add a global.json file to the project directory. This file allows you to pin the SDK version, ensuring that all team members use the same version, promoting consistency in the development environment.
Loading...
Related Quiz
- You're developing a multi-tenant application where each tenant has its own database. Which Entity Framework Core feature can help you manage multiple databases effectively?
- How can you specify a different layout for a specific Razor view other than the default layout?
- To use tag helpers in a Razor view, you need to add the _________ directive at the beginning of your view.
- In ASP.NET Core Identity, which class is primarily responsible for user authentication and management?
- What is the role of the "wwwroot" directory in an ASP.NET Core project?