dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.66k stars 1.06k forks source link

MAUI application throws error when microsoft.intune.maui.essentials.android package is installed. #34857

Open MikeP0911 opened 1 year ago

MikeP0911 commented 1 year ago

When installed the Microsoft.Intune.Maui.Essentials.android beta package through command line prompt, received an error.

Microsoft.Intune.Maui.Essentials.android link https://www.nuget.org/packages/Microsoft.Intune.Maui.Essentials.android/9.5.2-beta#readme-body-tab

Error error : The expression "[MSBuild]::VersionLessThanOrEquals('', 33.0.26)" cannot be evaluated. Version string was not in a correct format. C:\NugetPackages\microsoft.intune.maui.essentials.android\9.5.2-beta\build\netstandard2.0\Microsoft.Intune.Maui.Essentials.android.targets

To Reproduce

Create a MAUI application and install this package.

Further technical details

MikeP0911 commented 1 year ago

Hi Is there anyone experiencing the same issue.

Quaybe commented 2 weeks ago

I am experiencing the same issue. I do not experience it in Preview.

Microsoft.VisualStudio.ProjectSystem.Query.QueryExecutionException: The expression "[MSBuild]::VersionLessThanOrEquals('', 33.0.26)" cannot be evaluated. Version string was not in a correct format. C:\n\microsoft.intune.maui.essentials.android\10.0.0\build\netstandard2.0\Microsoft.Intune.Maui.Essentials.android.targets at Microsoft.VisualStudio.ProjectSystem.Query.Execution.QuerySubscription`1.d__11.MoveNext()