ChocolateyPackages icon indicating copy to clipboard operation
ChocolateyPackages copied to clipboard

Package for .Net MAUI

Open muffadal53 opened this issue 2 years ago • 6 comments

Hi @jberezanski. Like Xamarin build tools "visualstudio2022-workload-xamarinbuildtools" , Is there any similar chocolatey build tools package available for .NET MAUI?

muffadal53 avatar Dec 12 '22 08:12 muffadal53

From what I can see on the workloads and components listing page (https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2022#net-multi-platform-app-ui-development), MAUI tools are included in the xamarinbuildtools workload.

jberezanski avatar Dec 12 '22 17:12 jberezanski

Many thanks @jberezanski for quick reply and information.

So, as I understand as the MAUI workload is part of Visual Studio build tools (https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2022#mobile-development-with-net) hence I can use the package "https://community.chocolatey.org/packages/visualstudio2022-workload-xamarinbuildtools" for .Net MAUI compilation and there won't be any update needed to this chocolatey package. Is my understanding correct?

muffadal53 avatar Dec 14 '22 06:12 muffadal53

That is my understanding as well, based on Microsoft docs. However, I don't use MAUI personally, so I don't have any actual experience with that workload (other than the fact the package installs successfully).

jberezanski avatar Dec 14 '22 19:12 jberezanski

@jberezanski Speaking of packages for MAUI, I noticed that in the Visual Studio Installer the "Mobile development with .NET" workload seems to have been renamed/replaced with ".NET Multi-platform App UI development".

stogle avatar Mar 06 '23 16:03 stogle

@stogle ah, indeed, it seems to be the case. The workload id is still the same, Microsoft.VisualStudio.Workload.XamarinBuildTools (fortunately; it would be crazy if they changed the id as well), so only the package title needs updating. I would welcome a PR.

jberezanski avatar May 03 '23 16:05 jberezanski

@jberezanski : So, if I understand correctly the PR for package title change (as mentioned by @stogle for .Net MAUI) you expect is in all "nuspec" files for all Visual Studio versions like for example "visualstudio2022enterprise/visualstudio2022enterprise.nuspec". Is this right?

muffadal53 avatar Oct 04 '23 07:10 muffadal53