From 612cb659761d5a2e95d0d03cb17c063b4466cc92 Mon Sep 17 00:00:00 2001 From: Pedro Jesus Date: Tue, 31 May 2022 20:12:35 -0500 Subject: [PATCH 1/2] Updated the VS-target --- .github/DEVELOPMENT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/DEVELOPMENT.md b/.github/DEVELOPMENT.md index c057ddcc4220..18287a111a1a 100644 --- a/.github/DEVELOPMENT.md +++ b/.github/DEVELOPMENT.md @@ -135,7 +135,7 @@ dotnet build src\DotNet\DotNet.csproj # Builds the rest of Maui .\bin\dotnet\dotnet build Microsoft.Maui.sln # (Windows-only) to launch Visual Studio -dotnet cake --target=VS-DOGFOOD +dotnet cake --target=VS ``` To build & run .NET 6 sample apps, you will also need to use `.\bin\dotnet\dotnet` or just `dotnet` if you've From 4e087e4c3bd87833741a9e1a6b60b8f3569a975c Mon Sep 17 00:00:00 2001 From: Pedro Jesus Date: Tue, 31 May 2022 20:18:54 -0500 Subject: [PATCH 2/2] Added a target that works for me --- .github/DEVELOPMENT.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/DEVELOPMENT.md b/.github/DEVELOPMENT.md index 18287a111a1a..34e0bc34bc41 100644 --- a/.github/DEVELOPMENT.md +++ b/.github/DEVELOPMENT.md @@ -121,6 +121,13 @@ dotnet tool restore dotnet cake --target=VS-NET6 ``` +You can also run: + +```dotnetcli +dotnet tool restore +dotnet cake --target=VS +``` + _NOTES:_ - _If the IDE doesn't show any Android devices try unloading and reloading the `Sample.Droid-net6` project._