maui-samples icon indicating copy to clipboard operation
maui-samples copied to clipboard

UITests.Shared project won't load - Microsoft.Build.NoTargets

Open jeremy-bridges opened this issue 1 year ago • 4 comments
trafficstars

Looks like UITests.Shared (in BasicAppiumNunitSample) uses the Microsoft.Build.NoTargets project type. VS 2022 (I'm running v17.10.6) can't load this project type. I've installed the latest .NET 8.0 SDK for ARM (as I am on an ARM version of Windows). What is needed to load this project?

jeremy-bridges avatar Aug 14 '24 17:08 jeremy-bridges

Related info: https://github.com/microsoft/MSBuildSdks/blob/main/src/NoTargets/README.md https://github.com/microsoft/MSBuildForUnity/issues/167

Error in Output: The SDK 'Microsoft.Build.NoTargets/3.7.0' specified could not be found.

jeremy-bridges avatar Aug 14 '24 17:08 jeremy-bridges

In the issue you link that person said they needed some .NET Framework version? I don't know of any specific requirements actually. For me it just worked using VS2022

jfversluis avatar Aug 14 '24 18:08 jfversluis

Like a lot of MAUI devs, I'm using a Mac, with an ARM version of Windows running in Parallels. Visual Studio is the ARM version. I'll try this on a Mac.

jeremy-bridges avatar Aug 15 '24 22:08 jeremy-bridges

It also works for me on my Mac, so it seems a local configuration issue?

jfversluis avatar Aug 20 '24 10:08 jfversluis