The following code is based on the SqueakyApp demo using Fabulous.XamarinForms
The launch.json
and tasks.json
are placed inside the .vscode
directory beside the sln
file.
These files are usually created by VS Code, but since there is not a .NET Framework option by default, you can choose the .NET Core options and edit the files after.
This is based off the Launch .NET Core configuration.
The type
was changed from coreclr
to clr
.
cwd
and program
were changed to match the .NET Framework build directory.
preLaunchTask
must match the label
of the build task.
msbuild.bat
needs to be accessible (in the PATH
env var) for the build task to complete.
I did not have luck with adding the MSBuild.exe
folder to PATH
.
It is based on VS 2019 Community edition, but 2017 Community is in a similar place.
I received an unclear build fail before I added options.cwd
to tasks.json
.