From 8247e08d6417921e1490fcebbebc33ac05d2e4eb Mon Sep 17 00:00:00 2001 From: agneszitte Date: Thu, 16 Jan 2025 17:28:13 -0500 Subject: [PATCH] docs(HotDesign): Clarify steps for running the application with VS Code (cherry picked from commit 7c1332131d5cb2a6c4d3e3e82adf549739ed34c8) --- .../Assets/vscode-csproj-selection.png | Bin 0 -> 3629 bytes .../hot-design-getstarted-counter-tutorial.md | 17 +++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 doc/articles/studio/Hot Design/Assets/vscode-csproj-selection.png diff --git a/doc/articles/studio/Hot Design/Assets/vscode-csproj-selection.png b/doc/articles/studio/Hot Design/Assets/vscode-csproj-selection.png new file mode 100644 index 0000000000000000000000000000000000000000..48d5903c0ecb66dff0803ccfd770c5488d40cc9d GIT binary patch literal 3629 zcmV+|4$|?7P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D4Z=x8K~#8N?VbB; zRM!^A`=|7`{?y+}e@SVLy(N95H1!sXfz;7vnzo5)omvc1A{ZzbM8c?y!3T=ZSY#p? zdoSuO5j7%Vf{oBSL3C=B@#@sH6JwIAx9gt0&tpH%I%m$jkK z$jFK{5;P*zkf1fDJ-KoP=Gxm8A#()njW=NF+BK^t8Ch^6K_fy930h;>U%&qj3!68i zLdKYGYlFn5O>pPV9jgTyS#TpkBSH-cTI1N#$Ozh6YHy}i~A+_>n)TCMuZv?wEEiP{(e-nykOrci*MToH*VapdLSdKospms zp(YH1#=aQL{#%pB>()J2%&lCBiWUa@PT9_l8~Jz2=;cMSdKn2C5o+o!XiUhk1Dp^% zY-)n>x8H^wedvR%&PIYpgqnH^+EOx!9^lUde<1e?^6tC*6OUwM^)eDPBGlAV(EeDq z3_rLVoLS?E3%ehb`88|!ch<|e0UcCx4Gcyg#e|mZppM%2QL%a6M zD{$uJmm&V%d$8rZ?_hX%n8yo?EkRTZ5;TH9NblOE9NN=s*P`_rg~yt|e%yKMEx5X3 z1)Ti!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0lw(HPrjisi>eSNM-D>!{Xz4C|YebpG-fr9A|B$HDURxuZ25@)%e@}n{|vb z%^%TT+b0}zE@nU4I&*)Fwu+cBR3BLX`WiXwrpHJwlkR!urUAN#rM%=Z)BWNxboc4> z<+*m)c;0i<3HFksgc=Otl&B*H7ZcNxNCFS80X7Goe0H#;`(F4S6s3R#micD;P)t&Y zx_S)!lF{9dg&i9WyRP0&xn^xyoa}$CIs(~844;I<)}UhRk~d;yi!J6dQ$0b;LFz;T5+_oS^U6zh zA3YRVzxa8hpGAKA(z&O{M;})PDHCJ(>=Ogw~7uHEx16gNScf@WUJb=idNYuQn~o&y^To2=&?gmd`9Nci|s z8hT)@4e5+wUSo^P<037f9w*TU8^iX?>`(Y;mU;E>y3aR+IbXe8y=LQ>ul0MzldqF{ zNMuKiHvHNr;jB$5+R6S^0483$qtG+Z50Qa!^ZQKpeM9V``%{p;pM})^C`1B&AcRp< zK{Md{LpgYiHHnK2F6VKu+;Q&@`C2J+t&u?QL#KLzCc)+>`LEpfITYoX3D}sDulo7J zuBARq-&tHm8+PA&&HeVQS>~TF()=8M^gUC+2fm)xHUC+vE0-yF=cemy(a!>Xd)v_4GPs+{`{%POA6aZS=1ivDiChWq&B7 zLa+%}{pl+| zO8iq?Vdci^)k>TK3mX0DtJ{H;zZy?{bt5+oWAQ$S^bSJO`n!(B!v4--rlrMoU=!YC zmoJA~>B65NC2GjCC}{i_cj??KLPx6lk|RMp%N*Oh89lfOoReRDMgO@cQCCRN2*QJ# zH*Z41IHc)G%^&t;w!gcZ|9@#%90{T}EW-Z*r7WoXI$Fc_00000NkvXXu0mjfXT1~z literal 0 HcmV?d00001 diff --git a/doc/articles/studio/Hot Design/hot-design-getstarted-counter-tutorial.md b/doc/articles/studio/Hot Design/hot-design-getstarted-counter-tutorial.md index 7ddfd290e16d..1c768c7c59b8 100644 --- a/doc/articles/studio/Hot Design/hot-design-getstarted-counter-tutorial.md +++ b/doc/articles/studio/Hot Design/hot-design-getstarted-counter-tutorial.md @@ -78,8 +78,17 @@ The template will create a solution with a single cross-platform project, named - Select **Blank** in **Presets** selection - Select the **Presentation** tab and choose **MVUX** - Click **Create** to complete the wizard -- Copy the `dotnet new` command and run it from a terminal -This will create a new folder called **Counter** containing the new application. +- Copy the `dotnet new` command and run it from a terminal where you want your solution to be located. +- This will create a new folder called **Counter** containing the new application. +- Next, open the project using Visual Studio Code. In the terminal type the following: + + ```bash + code ./Counter + ``` + +- Visual Studio Code might ask to restore the NuGet packages. Allow it to restore them if asked. +- Once the solution has been loaded, in the status bar at the bottom left of VS Code, `Counter.sln` is selected by default. Select `Counter.csproj` to load the project instead. +![Counter.csproj selection in Visual Studio Code](Assets/vscode-csproj-selection.png) ### [Command Line](#tab/cli) @@ -111,6 +120,10 @@ Before you run the application, switch the target platform to **Desktop** (net8. - [Visual Studio](xref:Uno.GettingStarted.CreateAnApp.VS2022#debug-the-app) - [VS Code](xref:Uno.GettingStarted.CreateAnApp.VSCode#debug-the-app) + > [!IMPORTANT] + > In the status bar at the bottom left of VS Code, ensure `Counter.csproj` is selected (by default `Counter.sln` is selected). + > + > ![Counter.csproj selection in Visual Studio Code](Assets/vscode-csproj-selection.png) - [Rider](xref:Uno.GettingStarted.CreateAnApp.Rider#debug-the-app) > [!IMPORTANT]