Updated build steps to use msbuild

Instead of the convoluted method of opening in VS, have updated to use msbuild and the --no-build flag as suggested by Andrew Hoefling
This commit is contained in:
Luce Carter 2018-01-09 08:37:04 +00:00 committed by GitHub
parent db68ded117
commit da3e035571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -23,9 +23,11 @@ git clone git@github.com:praeclarum/Ooui.git
cd Ooui cd Ooui
dotnet restore dotnet restore
msbuild
dotnet run --project Samples/Samples.csproj --no-build
``` ```
Now open the .sln file in Visual Studio for Mac or Visual Studio 2017 (note: you may need to ensure it is being run as administrator) and ensure Samples is set as the start up project and run it. There is currently an issue with Xamarin.Forms and building from the dotnet cli, so for now we use the msbuild command and then set the --no-build flag on dotnet run but this will eventually change when the issue is resolved.
This will open the default starting page for the Samples. Now point your browser at [http://localhost:8080/shared-button](http://localhost:8080/shared-button) This will open the default starting page for the Samples. Now point your browser at [http://localhost:8080/shared-button](http://localhost:8080/shared-button)