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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *