From ecd131a021a458577d680f399975f1d1c74495d1 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Wed, 22 Jul 2020 14:41:12 -0700 Subject: [PATCH] add note about .NET project restore --- content/pong/draw_paddle/position_component.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/pong/draw_paddle/position_component.md b/content/pong/draw_paddle/position_component.md index 13cf286..5f9e181 100644 --- a/content/pong/draw_paddle/position_component.md +++ b/content/pong/draw_paddle/position_component.md @@ -32,6 +32,14 @@ and PongFE.Core.csproj: ``` +Once you have added the package reference, the project must be "restored" to bring the types in. This is done automatically during the build process, but you can trigger it manually by doing Ctrl-Shift-P -> .NET: Restore Project in VSCode, or by doing + +```sh +dotnet restore +``` + +in the terminal. + Now we can define our PositionComponent. Create a file: **PongFE/Components/PositionComponent.cs** ```cs