Share via

can I clone samples in MS 'Browse code Sample' into VS2022

Eduard Kaufmann 401 Reputation points
2023-06-21T19:24:42.1833333+00:00

I like to learn .net Maui. When opening MS 'Browse code sample' I find lots of .net Maui samples.

How do I run these samples ( preferably in VS2022).

e.g.: .net MAUI - Shell

Is there a possibility to 'clone' the samples into VS2022 ?

Or, how can I run these samples otherwise ?

I admit I'm out of ideas and probably miss just some stupid thing!

thanks for your time and hints

ed kaufmann

Developer technologies | .NET | .NET Multi-platform App UI
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

Answer accepted by question author

Bruce (SqlWork.com) 84,086 Reputation points
2023-06-21T22:56:15.7166667+00:00

if you click browse code, it will take you to the github site, you just clone:

git clone <url from code picker on site>

for the maui samples it:

git clone https://github.com/dotnet/maui-samples.git the shell is in the 7.0/Fundamentals/Shell/ folder

note: the repo has all the sample. you can get github tool that allow extraction of just a folder.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.