Skip to content

Commit

Permalink
Update netsdk1045.md [ changes made ] (#40260)
Browse files Browse the repository at this point in the history
  • Loading branch information
soniyaprasad77 authored Mar 30, 2024
1 parent e26e905 commit bca96a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/core/tools/sdk-errors/netsdk1045.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Each version of the .NET SDK is available in both x86 and x64 architecture. The

If the version you need isn't installed, find the one you need at the [.NET Downloads](https://dotnet.microsoft.com/download/dotnet) page.

### Visual Studio version

The .NET SDK might have been installed with Visual Studio 2022, so upgrading to a later version of Visual Studio might install a later .NET SDK and resolve this error. For more information, see [Update Visual Studio](/visualstudio/install/update-visual-studio).

## Preview not enabled

If you have a preview installed of the requested .NET SDK version, you also need to set the option to enable previews in Visual Studio. Go to **Tools** > **Options** > **Environment** > **Preview Features**, and make sure that **Use previews of the .NET Core SDK** is checked.
Expand Down

0 comments on commit bca96a2

Please sign in to comment.