Wallace B. McClure
Wallace B. McClure

Reputation: 1555

.NET Maui - You are using a preview version of .NET - Where is this coming from and what version am I using?

I am running VS 17.3 Preview 6 on windows11. I have a .net maui app. when i load the app into vs, I get a message saying that I am using a preview version of .net. I don't think I've installed a preview of .net6 on this machine since it is pretty much brand new. i am using

Basically, why am i getting a message about using a preview version of .net? Is this some artifact message because I am using VS17.3 preview x? any idea how to make this go away since it is annoying? Is this due to .net 7 preview being installed with vs17.3?

Upvotes: 0

Views: 1058

Answers (1)

Silv
Silv

Reputation: 773

To find out what version of MAUI you are using

  1. Open solution or project in Visual Studio (Currently you should use Visual Studio Preview)
  2. Right click on Project
  3. Select Manage NuGet Packages...
  4. Go to the register Installed
  5. Check the versions of the packages Microsoft.Maui.Dependencies and Microsoft.Maui.Extensions

To find out what version of dotnet SDK you are using

  1. Open PowerShell or cmd
  2. Change directory to the path of your project
  3. Execute dotnet --version

Upvotes: 1

Related Questions