From e02730bfacda77cb41f5cb382d9a47522c666e20 Mon Sep 17 00:00:00 2001 From: yamachu Date: Fri, 16 Sep 2022 01:47:31 +0900 Subject: [PATCH 1/4] Fix typo --- src/mono/wasm/templates/templates/browser/README.md | 4 ++-- src/mono/wasm/templates/templates/console/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mono/wasm/templates/templates/browser/README.md b/src/mono/wasm/templates/templates/browser/README.md index f3c4ddce82ffc9..0aeac02884cb81 100644 --- a/src/mono/wasm/templates/templates/browser/README.md +++ b/src/mono/wasm/templates/templates/browser/README.md @@ -2,7 +2,7 @@ ## Build -You can build the applcation from Visual Studio or by dotnet cli +You can build the application from Visual Studio or by dotnet cli ``` dotnet build -c Debug/Release -r browser-wasm @@ -12,7 +12,7 @@ After building the application, the result is in the `bin/$(Configuration)/net7. ## Run -You can build the applcation from Visual Studio or by dotnet cli +You can build the application from Visual Studio or by dotnet cli ``` dotnet run -c Debug/Release -r browser-wasm diff --git a/src/mono/wasm/templates/templates/console/README.md b/src/mono/wasm/templates/templates/console/README.md index a3b8dbc660e5d0..77f70dba93e044 100644 --- a/src/mono/wasm/templates/templates/console/README.md +++ b/src/mono/wasm/templates/templates/console/README.md @@ -2,7 +2,7 @@ ## Build -You can build the applcation from Visual Studio or by dotnet cli +You can build the application from Visual Studio or by dotnet cli ``` dotnet build -c Debug/Release -r browser-wasm @@ -12,7 +12,7 @@ After building the application, the result is in the `bin/$(Configuration)/net7. ## Run -You can build the applcation from Visual Studio or by dotnet cli +You can build the application from Visual Studio or by dotnet cli ``` dotnet run -c Debug/Release -r browser-wasm -h=nodejs From ede0d4c4859a6f220300461e7bffa92592027498 Mon Sep 17 00:00:00 2001 From: yamachu Date: Fri, 16 Sep 2022 01:51:41 +0900 Subject: [PATCH 2/4] Fix dotnet run arguments --- src/mono/wasm/templates/templates/console/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/templates/templates/console/README.md b/src/mono/wasm/templates/templates/console/README.md index 77f70dba93e044..03d2e7996377e7 100644 --- a/src/mono/wasm/templates/templates/console/README.md +++ b/src/mono/wasm/templates/templates/console/README.md @@ -15,7 +15,7 @@ After building the application, the result is in the `bin/$(Configuration)/net7. You can build the application from Visual Studio or by dotnet cli ``` -dotnet run -c Debug/Release -r browser-wasm -h=nodejs +dotnet run -c Debug/Release -r browser-wasm -- -h=node ``` Or you can start any static file server from the AppBundle directory From 7f216ace0b3ec791aaea87089770cd7d01dcc4ad Mon Sep 17 00:00:00 2001 From: yamachu Date: Fri, 16 Sep 2022 02:04:27 +0900 Subject: [PATCH 3/4] double dashes might be understood to mean different things, so change to --h --- src/mono/wasm/templates/templates/console/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/templates/templates/console/README.md b/src/mono/wasm/templates/templates/console/README.md index 03d2e7996377e7..0b4a94d65be743 100644 --- a/src/mono/wasm/templates/templates/console/README.md +++ b/src/mono/wasm/templates/templates/console/README.md @@ -15,7 +15,7 @@ After building the application, the result is in the `bin/$(Configuration)/net7. You can build the application from Visual Studio or by dotnet cli ``` -dotnet run -c Debug/Release -r browser-wasm -- -h=node +dotnet run -c Debug/Release -r browser-wasm --h=node ``` Or you can start any static file server from the AppBundle directory From 152bb6e0c1f9c629a46472655a2ecaacf36f8bc6 Mon Sep 17 00:00:00 2001 From: yamachu Date: Fri, 16 Sep 2022 03:23:38 +0900 Subject: [PATCH 4/4] remove RuntimeIdentifier settings and host settings from build/run argument --- src/mono/wasm/templates/templates/browser/README.md | 4 ++-- src/mono/wasm/templates/templates/console/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mono/wasm/templates/templates/browser/README.md b/src/mono/wasm/templates/templates/browser/README.md index 0aeac02884cb81..8e1339897bef46 100644 --- a/src/mono/wasm/templates/templates/browser/README.md +++ b/src/mono/wasm/templates/templates/browser/README.md @@ -5,7 +5,7 @@ You can build the application from Visual Studio or by dotnet cli ``` -dotnet build -c Debug/Release -r browser-wasm +dotnet build -c Debug/Release ``` After building the application, the result is in the `bin/$(Configuration)/net7.0/browser-wasm/AppBundle` directory. @@ -15,7 +15,7 @@ After building the application, the result is in the `bin/$(Configuration)/net7. You can build the application from Visual Studio or by dotnet cli ``` -dotnet run -c Debug/Release -r browser-wasm +dotnet run -c Debug/Release ``` Or you can start any static file server from the AppBundle directory diff --git a/src/mono/wasm/templates/templates/console/README.md b/src/mono/wasm/templates/templates/console/README.md index 0b4a94d65be743..84fd14b27897e2 100644 --- a/src/mono/wasm/templates/templates/console/README.md +++ b/src/mono/wasm/templates/templates/console/README.md @@ -5,7 +5,7 @@ You can build the application from Visual Studio or by dotnet cli ``` -dotnet build -c Debug/Release -r browser-wasm +dotnet build -c Debug/Release ``` After building the application, the result is in the `bin/$(Configuration)/net7.0/browser-wasm/AppBundle` directory. @@ -15,7 +15,7 @@ After building the application, the result is in the `bin/$(Configuration)/net7. You can build the application from Visual Studio or by dotnet cli ``` -dotnet run -c Debug/Release -r browser-wasm --h=node +dotnet run -c Debug/Release ``` Or you can start any static file server from the AppBundle directory