Skip to content

Commit 06e9be1

Browse files
committed
remove use of m:1. replace -nr with -nodeReuse
1 parent b482f28 commit 06e9be1

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Documentation/building/windows/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ MSBuild version 15 or later is required.
2020

2121
5. In a [Developer Command Prompt][developer-prompt], prepare the project:
2222

23-
dotnet msbuild Xamarin.Android.sln -t:Prepare -nr:false -m:1
24-
dotnet msbuild external\Java.Interop\Java.Interop.sln -t:Prepare -nr:false -m:1
23+
dotnet msbuild Xamarin.Android.sln -t:Prepare -nodeReuse:false
24+
dotnet msbuild external\Java.Interop\Java.Interop.sln -t:Prepare -nodeReuse:false
2525

2626
This will ensure that the build dependencies are installed, perform
2727
`git submodule update`, download NuGet dependencies, and other
2828
"preparatory" and pre-build tasks that need to be performed.
2929

3030
6. Build the project:
3131

32-
dotnet-local.cmd build Xamarin.Android.sln -nr:false -m:1
32+
dotnet-local.cmd build Xamarin.Android.sln -nodeReuse:false
3333

3434
7. (For Microsoft team members only - Optional) In a [Developer Command
3535
Prompt][developer-prompt], build external proprietary git

build.cmd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ IF ERRORLEVEL 1 CALL:FAILED_CASE
88
IF ERRORLEVEL 1 CALL :DEFAULT_CASE
99

1010
:Prepare_CASE
11-
dotnet msbuild Xamarin.Android.sln -t:Prepare -nr:false
11+
dotnet msbuild Xamarin.Android.sln -t:Prepare -nodeReuse:false
1212
GOTO END_CASE
1313
:PrepareExternal_CASE
14-
dotnet build Xamarin.Android.sln -t:PrepareExternal -nr:false
14+
dotnet build Xamarin.Android.sln -t:PrepareExternal -nodeReuse:false
1515
GOTO END_CASE
1616
:Build_CASE
17-
dotnet-local.cmd build Xamarin.Android.sln -nr:false
17+
dotnet-local.cmd build Xamarin.Android.sln -nodeReuse:false
1818
GOTO END_CASE
1919
:Pack_CASE
20-
dotnet-local.cmd build Xamarin.Android.sln -t:PackDotNet -nr:false
20+
dotnet-local.cmd build Xamarin.Android.sln -t:PackDotNet -nodeReuse:false
2121
GOTO END_CASE
2222
:DEFAULT_CASE
23-
dotnet msbuild Xamarin.Android.sln -t:Prepare -nr:false
24-
dotnet-local.cmd build Xamarin.Android.sln -nr:false
25-
dotnet-local.cmd build Xamarin.Android.sln -t:PackDotNet -nr:false
23+
dotnet msbuild Xamarin.Android.sln -t:Prepare -nodeReuse:false
24+
dotnet-local.cmd build Xamarin.Android.sln -nodeReuse:false
25+
dotnet-local.cmd build Xamarin.Android.sln -t:PackDotNet -nodeReuse:false
2626
GOTO END_CASE
2727
:FAILED_CASE
2828
echo "Failed to find an instance of Visual Studio. Please check it is correctly installed."

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Common/DotNetCLI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ List<string> GetDefaultCommandLineArgs (string verb, string target = null, strin
152152
$"/flp1:LogFile=\"{BuildLogFile}\";Encoding=UTF-8;Verbosity={Verbosity}",
153153
$"/bl:\"{Path.Combine (testDir, $"{(string.IsNullOrEmpty (target) ? "msbuild" : target)}.binlog")}\"",
154154
"-m:1",
155-
"-nr:false",
155+
"-nodeReuse:false",
156156
"/p:_DisableParallelAot=true",
157157
};
158158
if (!string.IsNullOrEmpty (target)) {

0 commit comments

Comments
 (0)