Merge pull request #16985 from dotnet-maestro-bot/merge/release/3.1-to-blazor-wasm
[automated] Merge branch 'release/3.1' => 'blazor-wasm'
This commit is contained in:
commit
a33106dfc4
|
|
@ -639,7 +639,7 @@ stages:
|
||||||
publishInstallersAndChecksums: true
|
publishInstallersAndChecksums: true
|
||||||
# This is to enable SDL runs part of Post-Build Validation Stage
|
# This is to enable SDL runs part of Post-Build Validation Stage
|
||||||
SDLValidationParameters:
|
SDLValidationParameters:
|
||||||
enable: true
|
enable: false
|
||||||
continueOnError: false
|
continueOnError: false
|
||||||
params: ' -SourceToolsList @("policheck","credscan")
|
params: ' -SourceToolsList @("policheck","credscan")
|
||||||
-TsaInstanceURL $(_TsaInstanceURL)
|
-TsaInstanceURL $(_TsaInstanceURL)
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ parameters:
|
||||||
installTar: true
|
installTar: true
|
||||||
installNodeJs: true
|
installNodeJs: true
|
||||||
installJdk: true
|
installJdk: true
|
||||||
timeoutInMinutes: 180
|
timeoutInMinutes: 270
|
||||||
|
|
||||||
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
|
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
|
||||||
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build
|
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,6 @@
|
||||||
void IncrementCount()
|
void IncrementCount()
|
||||||
{
|
{
|
||||||
currentCount++;
|
currentCount++;
|
||||||
throw new NotImplementedException("Doing crazy things!");
|
throw new NotImplementedException("Doing something that won't work!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public IList<string> States { get; set; } = new List<string>();
|
public IList<string> States { get; set; } = new List<string>();
|
||||||
public IDictionary<string, string> Countries = new Dictionary<string, string>();
|
public IDictionary<string, string> CountriesAndRegions = new Dictionary<string, string>();
|
||||||
public dynamic Items { get; set; } = new ExpandoObject();
|
public dynamic Items { get; set; } = new ExpandoObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -62,14 +62,14 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var model = new Class1();
|
var model = new Class1();
|
||||||
yield return new object[] { model, "/Countries/USA", model.Countries };
|
yield return new object[] { model, "/CountriesAndRegions/USA", model.CountriesAndRegions };
|
||||||
yield return new object[] { model.Countries, "/USA", model.Countries };
|
yield return new object[] { model.CountriesAndRegions, "/USA", model.CountriesAndRegions };
|
||||||
|
|
||||||
var nestedModel = new Class1Nested();
|
var nestedModel = new Class1Nested();
|
||||||
nestedModel.Customers.Add(new Class1());
|
nestedModel.Customers.Add(new Class1());
|
||||||
yield return new object[] { nestedModel, "/Customers/0/Countries/USA", nestedModel.Customers[0].Countries };
|
yield return new object[] { nestedModel, "/Customers/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
|
||||||
yield return new object[] { nestedModel.Customers, "/0/Countries/USA", nestedModel.Customers[0].Countries };
|
yield return new object[] { nestedModel.Customers, "/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
|
||||||
yield return new object[] { nestedModel.Customers[0], "/Countries/USA", nestedModel.Customers[0].Countries };
|
yield return new object[] { nestedModel.Customers[0], "/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
"progress": true,
|
"progress": false,
|
||||||
"extractCss": true,
|
"extractCss": true,
|
||||||
"outputPath": "dist",
|
"outputPath": "dist",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Extensions.CommandLineUtils;
|
using Microsoft.Extensions.CommandLineUtils;
|
||||||
|
|
@ -88,15 +89,19 @@ namespace Microsoft.DotNet.Watcher.Tools.FunctionalTests
|
||||||
};
|
};
|
||||||
args.AddRange(arguments);
|
args.AddRange(arguments);
|
||||||
|
|
||||||
|
var dotnetPath = typeof(WatchableApp).Assembly.GetCustomAttributes<AssemblyMetadataAttribute>()
|
||||||
|
.Single(s => s.Key == "DotnetPath").Value;
|
||||||
|
|
||||||
var spec = new ProcessSpec
|
var spec = new ProcessSpec
|
||||||
{
|
{
|
||||||
Executable = DotNetMuxer.MuxerPathOrDefault(),
|
Executable = dotnetPath,
|
||||||
Arguments = args,
|
Arguments = args,
|
||||||
WorkingDirectory = SourceDirectory,
|
WorkingDirectory = SourceDirectory,
|
||||||
EnvironmentVariables =
|
EnvironmentVariables =
|
||||||
{
|
{
|
||||||
["DOTNET_CLI_CONTEXT_VERBOSE"] = bool.TrueString,
|
["DOTNET_CLI_CONTEXT_VERBOSE"] = bool.TrueString,
|
||||||
["DOTNET_USE_POLLING_FILE_WATCHER"] = UsePollingWatcher.ToString(),
|
["DOTNET_USE_POLLING_FILE_WATCHER"] = UsePollingWatcher.ToString(),
|
||||||
|
["DOTNET_ROOT"] = Directory.GetParent(dotnetPath).FullName,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,13 @@
|
||||||
<ProjectReference Include="..\src\dotnet-watch.csproj" />
|
<ProjectReference Include="..\src\dotnet-watch.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
|
||||||
|
<_Parameter1>DotnetPath</_Parameter1>
|
||||||
|
<_Parameter2>$(DotNetTool)</_Parameter2>
|
||||||
|
</AssemblyAttribute>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<Target Name="CleanTestProjects" BeforeTargets="CoreCompile">
|
<Target Name="CleanTestProjects" BeforeTargets="CoreCompile">
|
||||||
<RemoveDir Directories="$(TargetDir)TestProjects" Condition="Exists('$(TargetDir)TestProjects')" />
|
<RemoveDir Directories="$(TargetDir)TestProjects" Condition="Exists('$(TargetDir)TestProjects')" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue