Merge changes from 'release/2.2'
This commit is contained in:
commit
2a99b8608d
|
|
@ -94,14 +94,6 @@
|
||||||
<MicrosoftExtensionsValueStopwatchSourcesPackageVersion>2.2.0</MicrosoftExtensionsValueStopwatchSourcesPackageVersion>
|
<MicrosoftExtensionsValueStopwatchSourcesPackageVersion>2.2.0</MicrosoftExtensionsValueStopwatchSourcesPackageVersion>
|
||||||
<MicrosoftExtensionsWebEncodersPackageVersion>2.2.0</MicrosoftExtensionsWebEncodersPackageVersion>
|
<MicrosoftExtensionsWebEncodersPackageVersion>2.2.0</MicrosoftExtensionsWebEncodersPackageVersion>
|
||||||
|
|
||||||
<!-- These dependencies are required to build. The need to be used as explicit package references -->
|
|
||||||
<MicrosoftNETSdkRazorPackageVersion>2.2.0</MicrosoftNETSdkRazorPackageVersion>
|
|
||||||
<MicrosoftAspNetCoreRazorDesignPackageVersion>2.2.0</MicrosoftAspNetCoreRazorDesignPackageVersion>
|
|
||||||
<MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion>2.2.0</MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion>
|
|
||||||
<MicrosoftAspNetCoreRazorRuntimePackageVersion>2.2.0</MicrosoftAspNetCoreRazorRuntimePackageVersion>
|
|
||||||
<MicrosoftAspNetCoreRazorLanguagePackageVersion>2.2.0</MicrosoftAspNetCoreRazorLanguagePackageVersion>
|
|
||||||
<MicrosoftCodeAnalysisRazorPackageVersion>2.2.0</MicrosoftCodeAnalysisRazorPackageVersion>
|
|
||||||
|
|
||||||
<!-- These dependencies are temporary while we refactor package refs into project refs. -->
|
<!-- These dependencies are temporary while we refactor package refs into project refs. -->
|
||||||
<MicrosoftAspNetCoreAspNetCoreModulePackageVersion>2.2.0</MicrosoftAspNetCoreAspNetCoreModulePackageVersion>
|
<MicrosoftAspNetCoreAspNetCoreModulePackageVersion>2.2.0</MicrosoftAspNetCoreAspNetCoreModulePackageVersion>
|
||||||
<MicrosoftAspNetCoreAspNetCoreModuleV1PackageVersion>2.2.0</MicrosoftAspNetCoreAspNetCoreModuleV1PackageVersion>
|
<MicrosoftAspNetCoreAspNetCoreModuleV1PackageVersion>2.2.0</MicrosoftAspNetCoreAspNetCoreModuleV1PackageVersion>
|
||||||
|
|
@ -167,10 +159,10 @@
|
||||||
<MicrosoftIdentityModelProtocolsOpenIdConnectPackageVersion>5.3.0</MicrosoftIdentityModelProtocolsOpenIdConnectPackageVersion>
|
<MicrosoftIdentityModelProtocolsOpenIdConnectPackageVersion>5.3.0</MicrosoftIdentityModelProtocolsOpenIdConnectPackageVersion>
|
||||||
<MicrosoftIdentityModelProtocolsWsFederationPackageVersion>5.3.0</MicrosoftIdentityModelProtocolsWsFederationPackageVersion>
|
<MicrosoftIdentityModelProtocolsWsFederationPackageVersion>5.3.0</MicrosoftIdentityModelProtocolsWsFederationPackageVersion>
|
||||||
<MicrosoftInternalAspNetCoreH2SpecAllPackageVersion>2.1.1</MicrosoftInternalAspNetCoreH2SpecAllPackageVersion>
|
<MicrosoftInternalAspNetCoreH2SpecAllPackageVersion>2.1.1</MicrosoftInternalAspNetCoreH2SpecAllPackageVersion>
|
||||||
<MicrosoftNETCoreApp10PackageVersion>1.0.12</MicrosoftNETCoreApp10PackageVersion>
|
<MicrosoftNETCoreApp10PackageVersion>1.0.15</MicrosoftNETCoreApp10PackageVersion>
|
||||||
<MicrosoftNETCoreApp11PackageVersion>1.1.9</MicrosoftNETCoreApp11PackageVersion>
|
<MicrosoftNETCoreApp11PackageVersion>1.1.12</MicrosoftNETCoreApp11PackageVersion>
|
||||||
<MicrosoftNETCoreApp20PackageVersion>2.0.9</MicrosoftNETCoreApp20PackageVersion>
|
<MicrosoftNETCoreApp20PackageVersion>2.0.9</MicrosoftNETCoreApp20PackageVersion>
|
||||||
<MicrosoftNETCoreApp21PackageVersion>2.1.3</MicrosoftNETCoreApp21PackageVersion>
|
<MicrosoftNETCoreApp21PackageVersion>2.1.10</MicrosoftNETCoreApp21PackageVersion>
|
||||||
<MicrosoftNETCoreDotNetAppHost21PackageVersion>$(MicrosoftNETCoreApp21PackageVersion)</MicrosoftNETCoreDotNetAppHost21PackageVersion>
|
<MicrosoftNETCoreDotNetAppHost21PackageVersion>$(MicrosoftNETCoreApp21PackageVersion)</MicrosoftNETCoreDotNetAppHost21PackageVersion>
|
||||||
<MicrosoftNETCoreWindowsApiSetsPackageVersion>1.0.1</MicrosoftNETCoreWindowsApiSetsPackageVersion>
|
<MicrosoftNETCoreWindowsApiSetsPackageVersion>1.0.1</MicrosoftNETCoreWindowsApiSetsPackageVersion>
|
||||||
<MicrosoftNETFrameworkReferenceAssembliesPackageVersion>1.0.0-alpha-5</MicrosoftNETFrameworkReferenceAssembliesPackageVersion>
|
<MicrosoftNETFrameworkReferenceAssembliesPackageVersion>1.0.0-alpha-5</MicrosoftNETFrameworkReferenceAssembliesPackageVersion>
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
<SignCheckExclusionsFile>$(RepositoryRoot)eng\signcheck.exclusions.txt</SignCheckExclusionsFile>
|
<SignCheckExclusionsFile>$(RepositoryRoot)eng\signcheck.exclusions.txt</SignCheckExclusionsFile>
|
||||||
<SharedSourcesFolder>$(RepositoryRoot)src\Shared\</SharedSourcesFolder>
|
<SharedSourcesFolder>$(RepositoryRoot)src\Shared\</SharedSourcesFolder>
|
||||||
<SharedFxArchitecture Condition="'$(SharedFxArchitecture)' == ''">$(SharedFxRid.Substring($([MSBuild]::Add($(SharedFxRid.LastIndexOf('-')), 1))))</SharedFxArchitecture>
|
<SharedFxArchitecture Condition="'$(SharedFxArchitecture)' == ''">$(SharedFxRid.Substring($([MSBuild]::Add($(SharedFxRid.LastIndexOf('-')), 1))))</SharedFxArchitecture>
|
||||||
<BuildSiteExtensions>false</BuildSiteExtensions>
|
<BuildSiteExtensions Condition=" '$(VersionPrefix)' == '2.2.5' " >true</BuildSiteExtensions>
|
||||||
<BuildSiteExtensions Condition="'$(BuildSiteExtensions)' == 'true' AND '$(OS)' != 'Windows_NT'">false</BuildSiteExtensions>
|
<BuildSiteExtensions Condition="'$(BuildSiteExtensions)' == 'true' AND '$(OS)' != 'Windows_NT'">false</BuildSiteExtensions>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Repository Include="Templating" RootPath="$(RepositoryRoot)src\Templating\" PatchPolicy="AlwaysUpdateAndCascadeVersions" />
|
<Repository Include="Templating" PatchPolicy="AlwaysUpdateAndCascadeVersions" RootPath="$(RepositoryRoot)src\Templating\" />
|
||||||
<ShippedRepository Include="EntityFrameworkCore" />
|
<ShippedRepository Include="EntityFrameworkCore" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ and are generated based on the last package release.
|
||||||
<LatestPackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="$(MicrosoftExtensionsLocalizationAbstractionsPackageVersion)" />
|
<LatestPackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="$(MicrosoftExtensionsLocalizationAbstractionsPackageVersion)" />
|
||||||
<LatestPackageReference Include="Microsoft.Extensions.Localization" Version="$(MicrosoftExtensionsLocalizationPackageVersion)" />
|
<LatestPackageReference Include="Microsoft.Extensions.Localization" Version="$(MicrosoftExtensionsLocalizationPackageVersion)" />
|
||||||
<LatestPackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsPackageVersion)" />
|
<LatestPackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsLoggingAbstractionsPackageVersion)" />
|
||||||
|
<LatestPackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="$(MicrosoftExtensionsLoggingAzureAppServicesPackageVersion)" />
|
||||||
<LatestPackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="$(MicrosoftExtensionsLoggingConfigurationPackageVersion)" />
|
<LatestPackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="$(MicrosoftExtensionsLoggingConfigurationPackageVersion)" />
|
||||||
<LatestPackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
|
<LatestPackageReference Include="Microsoft.Extensions.Logging.Console" Version="$(MicrosoftExtensionsLoggingConsolePackageVersion)" />
|
||||||
<LatestPackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(MicrosoftExtensionsLoggingDebugPackageVersion)" />
|
<LatestPackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(MicrosoftExtensionsLoggingDebugPackageVersion)" />
|
||||||
|
|
|
||||||
|
|
@ -53,11 +53,17 @@ Later on, this will be checked using this condition:
|
||||||
<PackagesInPatch>
|
<PackagesInPatch>
|
||||||
Microsoft.AspNetCore.AspNetCoreModule;
|
Microsoft.AspNetCore.AspNetCoreModule;
|
||||||
Microsoft.AspNetCore.AspNetCoreModuleV2;
|
Microsoft.AspNetCore.AspNetCoreModuleV2;
|
||||||
|
Microsoft.AspNetCore.Identity.UI;
|
||||||
java:signalr;
|
java:signalr;
|
||||||
Microsoft.AspNetCore.SignalR.Protocols.MessagePack;
|
Microsoft.AspNetCore.SignalR.Protocols.MessagePack;
|
||||||
Microsoft.AspNetCore.SignalR.Redis;
|
Microsoft.AspNetCore.SignalR.Redis;
|
||||||
Microsoft.AspNetCore.SignalR.StackExchangeRedis;
|
Microsoft.AspNetCore.SignalR.StackExchangeRedis;
|
||||||
Microsoft.AspNetCore.DataProtection.StackExchangeRedis;
|
Microsoft.AspNetCore.DataProtection.StackExchangeRedis;
|
||||||
|
Microsoft.AspNetCore.Mvc.Core;
|
||||||
|
Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
Microsoft.AspNetCore.AzureAppServicesIntegration;
|
||||||
|
Microsoft.AspNetCore.AzureAppServices.HostingStartup;
|
||||||
|
Microsoft.AspNetCore.AzureAppServices.SiteExtension;
|
||||||
</PackagesInPatch>
|
</PackagesInPatch>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ try {
|
||||||
$slnDir = Split-Path -Parent $_
|
$slnDir = Split-Path -Parent $_
|
||||||
$sln = $_
|
$sln = $_
|
||||||
& dotnet sln $_ list `
|
& dotnet sln $_ list `
|
||||||
| ? { $_ -ne 'Project(s)' -and $_ -ne '----------' } `
|
| ? { $_ -like '*proj' } `
|
||||||
| % {
|
| % {
|
||||||
$proj = Join-Path $slnDir $_
|
$proj = Join-Path $slnDir $_
|
||||||
if (-not (Test-Path $proj)) {
|
if (-not (Test-Path $proj)) {
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net461</TargetFrameworks>
|
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net461</TargetFrameworks>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<PackageTags>aspnetcore;azure;appservices</PackageTags>
|
<PackageTags>aspnetcore;azure;appservices</PackageTags>
|
||||||
|
<UseProjectReferences>true</UseProjectReferences>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<PackageTags>aspnetcore;azure;appservices</PackageTags>
|
<PackageTags>aspnetcore;azure;appservices</PackageTags>
|
||||||
|
<UseLatestPackageReferences>true</UseLatestPackageReferences>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ namespace Microsoft.AspNetCore
|
||||||
var localAssemblyVersion = AssemblyName.GetAssemblyName(file).Version;
|
var localAssemblyVersion = AssemblyName.GetAssemblyName(file).Version;
|
||||||
var dllName = Path.GetFileName(file);
|
var dllName = Path.GetFileName(file);
|
||||||
Assert.Contains(dllName, nugetAssemblyVersions.Keys);
|
Assert.Contains(dllName, nugetAssemblyVersions.Keys);
|
||||||
Assert.InRange(localAssemblyVersion.CompareTo(nugetAssemblyVersions[dllName]), 0, int.MaxValue);
|
Assert.True(localAssemblyVersion >= nugetAssemblyVersions[dllName], $"Expected {dllName} ({localAssemblyVersion}) to have assembly version >= {nugetAssemblyVersions[dllName]}");
|
||||||
}
|
}
|
||||||
catch (BadImageFormatException) { }
|
catch (BadImageFormatException) { }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
||||||
private static readonly double TimestampToTicks = TimeSpan.TicksPerSecond / (double)Stopwatch.Frequency;
|
private static readonly double TimestampToTicks = TimeSpan.TicksPerSecond / (double)Stopwatch.Frequency;
|
||||||
|
|
||||||
private static readonly Action<ILogger, string, string, Exception> _actionExecuting;
|
private static readonly Action<ILogger, string, string, Exception> _actionExecuting;
|
||||||
|
private static readonly Action<ILogger, string, MethodInfo, string, string, Exception> _controllerActionExecuting;
|
||||||
private static readonly Action<ILogger, string, double, Exception> _actionExecuted;
|
private static readonly Action<ILogger, string, double, Exception> _actionExecuted;
|
||||||
|
|
||||||
private static readonly Action<ILogger, string, string, Exception> _pageExecuting;
|
private static readonly Action<ILogger, string, string, Exception> _pageExecuting;
|
||||||
|
|
@ -42,7 +43,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
||||||
private static readonly Action<ILogger, string, Exception> _contentResultExecuting;
|
private static readonly Action<ILogger, string, Exception> _contentResultExecuting;
|
||||||
|
|
||||||
private static readonly Action<ILogger, string, ModelValidationState, Exception> _actionMethodExecuting;
|
private static readonly Action<ILogger, string, ModelValidationState, Exception> _actionMethodExecuting;
|
||||||
private static readonly Action<ILogger, string, string[], ModelValidationState, Exception> _actionMethodExecutingWithArguments;
|
private static readonly Action<ILogger, string, string[], Exception> _actionMethodExecutingWithArguments;
|
||||||
private static readonly Action<ILogger, string, string, double, Exception> _actionMethodExecuted;
|
private static readonly Action<ILogger, string, string, double, Exception> _actionMethodExecuted;
|
||||||
|
|
||||||
private static readonly Action<ILogger, string, string[], Exception> _logFilterExecutionPlan;
|
private static readonly Action<ILogger, string, string[], Exception> _logFilterExecutionPlan;
|
||||||
|
|
@ -160,6 +161,11 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
||||||
1,
|
1,
|
||||||
"Route matched with {RouteData}. Executing action {ActionName}");
|
"Route matched with {RouteData}. Executing action {ActionName}");
|
||||||
|
|
||||||
|
_controllerActionExecuting = LoggerMessage.Define<string, MethodInfo, string, string>(
|
||||||
|
LogLevel.Information,
|
||||||
|
3,
|
||||||
|
"Route matched with {RouteData}. Executing controller action with signature {MethodInfo} on controller {Controller} ({AssemblyName}).");
|
||||||
|
|
||||||
_actionExecuted = LoggerMessage.Define<string, double>(
|
_actionExecuted = LoggerMessage.Define<string, double>(
|
||||||
LogLevel.Information,
|
LogLevel.Information,
|
||||||
2,
|
2,
|
||||||
|
|
@ -190,10 +196,10 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
||||||
1,
|
1,
|
||||||
"Executing action method {ActionName} - Validation state: {ValidationState}");
|
"Executing action method {ActionName} - Validation state: {ValidationState}");
|
||||||
|
|
||||||
_actionMethodExecutingWithArguments = LoggerMessage.Define<string, string[], ModelValidationState>(
|
_actionMethodExecutingWithArguments = LoggerMessage.Define<string, string[]>(
|
||||||
LogLevel.Information,
|
LogLevel.Trace,
|
||||||
1,
|
3,
|
||||||
"Executing action method {ActionName} with arguments ({Arguments}) - Validation state: {ValidationState}");
|
"Executing action method {ActionName} with arguments ({Arguments})");
|
||||||
|
|
||||||
_actionMethodExecuted = LoggerMessage.Define<string, string, double>(
|
_actionMethodExecuted = LoggerMessage.Define<string, string, double>(
|
||||||
LogLevel.Information,
|
LogLevel.Information,
|
||||||
|
|
@ -714,13 +720,29 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
||||||
stringBuilder.Append($"{routeKeys[i]} = \"{routeValues[i]}\", ");
|
stringBuilder.Append($"{routeKeys[i]} = \"{routeValues[i]}\", ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.RouteValues.TryGetValue("page", out var page) && page != null)
|
if (action.RouteValues.TryGetValue("page", out var page) && page != null)
|
||||||
{
|
{
|
||||||
_pageExecuting(logger, stringBuilder.ToString(), action.DisplayName, null);
|
_pageExecuting(logger, stringBuilder.ToString(), action.DisplayName, null);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_actionExecuting(logger, stringBuilder.ToString(), action.DisplayName, null);
|
if (action is ControllerActionDescriptor controllerActionDescriptor)
|
||||||
|
{
|
||||||
|
var controllerType = controllerActionDescriptor.ControllerTypeInfo.AsType();
|
||||||
|
var controllerName = TypeNameHelper.GetTypeDisplayName(controllerType);
|
||||||
|
_controllerActionExecuting(
|
||||||
|
logger,
|
||||||
|
stringBuilder.ToString(),
|
||||||
|
controllerActionDescriptor.MethodInfo,
|
||||||
|
controllerName,
|
||||||
|
controllerType.Assembly.GetName().Name,
|
||||||
|
null);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_actionExecuting(logger, stringBuilder.ToString(), action.DisplayName, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -859,21 +881,17 @@ namespace Microsoft.AspNetCore.Mvc.Internal
|
||||||
var actionName = context.ActionDescriptor.DisplayName;
|
var actionName = context.ActionDescriptor.DisplayName;
|
||||||
|
|
||||||
var validationState = context.ModelState.ValidationState;
|
var validationState = context.ModelState.ValidationState;
|
||||||
|
_actionMethodExecuting(logger, actionName, validationState, null);
|
||||||
|
|
||||||
string[] convertedArguments;
|
if (arguments != null && logger.IsEnabled(LogLevel.Trace))
|
||||||
if (arguments == null)
|
|
||||||
{
|
{
|
||||||
_actionMethodExecuting(logger, actionName, validationState, null);
|
var convertedArguments = new string[arguments.Length];
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
convertedArguments = new string[arguments.Length];
|
|
||||||
for (var i = 0; i < arguments.Length; i++)
|
for (var i = 0; i < arguments.Length; i++)
|
||||||
{
|
{
|
||||||
convertedArguments[i] = Convert.ToString(arguments[i]);
|
convertedArguments[i] = Convert.ToString(arguments[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
_actionMethodExecutingWithArguments(logger, actionName, convertedArguments, validationState, null);
|
_actionMethodExecutingWithArguments(logger, actionName, convertedArguments, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)" />
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="$(MicrosoftAspNetCoreRazorRuntimePackageVersion)" />
|
<Reference Include="Microsoft.CodeAnalysis.Razor" />
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.Razor" Version="$(MicrosoftCodeAnalysisRazorPackageVersion)" />
|
|
||||||
<Reference Include="Microsoft.CodeAnalysis.CSharp" />
|
<Reference Include="Microsoft.CodeAnalysis.CSharp" />
|
||||||
<Reference Include="Microsoft.Extensions.Caching.Memory" />
|
<Reference Include="Microsoft.Extensions.Caching.Memory" />
|
||||||
<Reference Include="Microsoft.Extensions.FileProviders.Composite" />
|
<Reference Include="Microsoft.Extensions.FileProviders.Composite" />
|
||||||
|
|
@ -27,24 +26,11 @@
|
||||||
|
|
||||||
<Target Name="PopulateNuspec" BeforeTargets="GenerateNuspec" DependsOnTargets="BuiltProjectOutputGroup;DebugSymbolsProjectOutputGroup;DocumentationProjectOutputGroup">
|
<Target Name="PopulateNuspec" BeforeTargets="GenerateNuspec" DependsOnTargets="BuiltProjectOutputGroup;DebugSymbolsProjectOutputGroup;DocumentationProjectOutputGroup">
|
||||||
|
|
||||||
<!-- We can uncomment the below block once https://github.com/aspnet/AspNetCore/issues/6070 is fixed. -->
|
|
||||||
<!--
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<SrcPath>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\src\</SrcPath>
|
|
||||||
</PropertyGroup>
|
|
||||||
<MSBuild Projects="$(SrcPath)Razor\Mvc.Razor.Extensions\src\Microsoft.AspNetCore.Mvc.Razor.Extensions.csproj;
|
|
||||||
$(SrcPath)Razor\Razor.Runtime\src\Microsoft.AspNetCore.Razor.Runtime.csproj;
|
|
||||||
$(SrcPath)Razor\CodeAnalysis.Razor\src\Microsoft.CodeAnalysis.Razor.csproj;"
|
|
||||||
Targets="_GetPackageVersionInfo" Properties="DesignTimeBuild=true;NoBuild=true">
|
|
||||||
<Output TaskParameter="TargetOutputs" ItemName="_DependencyPackageInfo" />
|
|
||||||
</MSBuild>
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion>@(_DependencyPackageInfo->WithMetadataValue('PackageId', 'Microsoft.AspNetCore.Mvc.Razor.Extensions')->Metadata('PackageVersion'))</MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion>
|
<MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion>@(_DependencyPackageInfo->WithMetadataValue('PackageId', 'Microsoft.AspNetCore.Mvc.Razor.Extensions')->Metadata('PackageVersion'))</MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion>
|
||||||
<MicrosoftAspNetCoreRazorRuntimePackageVersion>@(_DependencyPackageInfo->WithMetadataValue('PackageId', 'Microsoft.AspNetCore.Razor.Runtime')->Metadata('PackageVersion'))</MicrosoftAspNetCoreRazorRuntimePackageVersion>
|
<MicrosoftAspNetCoreRazorRuntimePackageVersion>@(_DependencyPackageInfo->WithMetadataValue('PackageId', 'Microsoft.AspNetCore.Razor.Runtime')->Metadata('PackageVersion'))</MicrosoftAspNetCoreRazorRuntimePackageVersion>
|
||||||
<MicrosoftCodeAnalysisRazorPackageVersion>@(_DependencyPackageInfo->WithMetadataValue('PackageId', 'Microsoft.CodeAnalysis.Razor')->Metadata('PackageVersion'))</MicrosoftCodeAnalysisRazorPackageVersion>
|
<MicrosoftCodeAnalysisRazorPackageVersion>@(_DependencyPackageInfo->WithMetadataValue('PackageId', 'Microsoft.CodeAnalysis.Razor')->Metadata('PackageVersion'))</MicrosoftCodeAnalysisRazorPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
-->
|
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Make sure we create a symbols.nupkg -->
|
<!-- Make sure we create a symbols.nupkg -->
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,9 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal
|
||||||
{
|
{
|
||||||
public const string PageFilter = "Page Filter";
|
public const string PageFilter = "Page Filter";
|
||||||
|
|
||||||
private static readonly Action<ILogger, string, string[], ModelValidationState, Exception> _handlerMethodExecuting;
|
private static readonly Action<ILogger, string, ModelValidationState, Exception> _handlerMethodExecuting;
|
||||||
private static readonly Action<ILogger, ModelValidationState, Exception> _implicitHandlerMethodExecuting;
|
private static readonly Action<ILogger, ModelValidationState, Exception> _implicitHandlerMethodExecuting;
|
||||||
|
private static readonly Action<ILogger, string, string[], Exception> _handlerMethodExecutingWithArguments;
|
||||||
private static readonly Action<ILogger, string, string, Exception> _handlerMethodExecuted;
|
private static readonly Action<ILogger, string, string, Exception> _handlerMethodExecuted;
|
||||||
private static readonly Action<ILogger, string, Exception> _implicitHandlerMethodExecuted;
|
private static readonly Action<ILogger, string, Exception> _implicitHandlerMethodExecuted;
|
||||||
private static readonly Action<ILogger, object, Exception> _pageFilterShortCircuit;
|
private static readonly Action<ILogger, object, Exception> _pageFilterShortCircuit;
|
||||||
|
|
@ -30,10 +31,15 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal
|
||||||
{
|
{
|
||||||
// These numbers start at 101 intentionally to avoid conflict with the IDs used by ResourceInvoker.
|
// These numbers start at 101 intentionally to avoid conflict with the IDs used by ResourceInvoker.
|
||||||
|
|
||||||
_handlerMethodExecuting = LoggerMessage.Define<string, string[], ModelValidationState>(
|
_handlerMethodExecuting = LoggerMessage.Define<string, ModelValidationState>(
|
||||||
LogLevel.Information,
|
LogLevel.Information,
|
||||||
101,
|
101,
|
||||||
"Executing handler method {HandlerName} with arguments ({Arguments}) - ModelState is {ValidationState}");
|
"Executing handler method {HandlerName} - ModelState is {ValidationState}");
|
||||||
|
|
||||||
|
_handlerMethodExecutingWithArguments = LoggerMessage.Define<string, string[]>(
|
||||||
|
LogLevel.Trace,
|
||||||
|
103,
|
||||||
|
"Executing handler method {HandlerName} with arguments ({Arguments})");
|
||||||
|
|
||||||
_handlerMethodExecuted = LoggerMessage.Define<string, string>(
|
_handlerMethodExecuted = LoggerMessage.Define<string, string>(
|
||||||
LogLevel.Information,
|
LogLevel.Information,
|
||||||
|
|
@ -87,23 +93,19 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal
|
||||||
{
|
{
|
||||||
var handlerName = handler.MethodInfo.DeclaringType.FullName + "." + handler.MethodInfo.Name;
|
var handlerName = handler.MethodInfo.DeclaringType.FullName + "." + handler.MethodInfo.Name;
|
||||||
|
|
||||||
string[] convertedArguments;
|
var validationState = context.ModelState.ValidationState;
|
||||||
if (arguments == null)
|
_handlerMethodExecuting(logger, handlerName, validationState, null);
|
||||||
|
|
||||||
|
if (arguments != null && logger.IsEnabled(LogLevel.Trace))
|
||||||
{
|
{
|
||||||
convertedArguments = null;
|
var convertedArguments = new string[arguments.Length];
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
convertedArguments = new string[arguments.Length];
|
|
||||||
for (var i = 0; i < arguments.Length; i++)
|
for (var i = 0; i < arguments.Length; i++)
|
||||||
{
|
{
|
||||||
convertedArguments[i] = Convert.ToString(arguments[i]);
|
convertedArguments[i] = Convert.ToString(arguments[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_handlerMethodExecutingWithArguments(logger, handlerName, convertedArguments, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
var validationState = context.ModelState.ValidationState;
|
|
||||||
|
|
||||||
_handlerMethodExecuting(logger, handlerName, convertedArguments, validationState, null);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.Razor" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.Razor" />
|
||||||
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="$(MicrosoftAspNetCoreRazorRuntimePackageVersion)" />
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Routing.Abstractions" />
|
<Reference Include="Microsoft.AspNetCore.Routing.Abstractions" />
|
||||||
<Reference Include="Microsoft.Extensions.Caching.Memory" />
|
<Reference Include="Microsoft.Extensions.Caching.Memory" />
|
||||||
<Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
|
<Reference Include="Microsoft.Extensions.FileSystemGlobbing" />
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,8 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" />
|
||||||
|
|
||||||
<!-- Including these here specifically so that apps referencing the MVC package get razor compiler targets -->
|
<!-- Including these here specifically so that apps referencing the MVC package get razor compiler targets -->
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(MicrosoftAspNetCoreRazorDesignPackageVersion)">
|
<Reference Include="Microsoft.AspNetCore.Razor.Design" PrivateAssets="None" />
|
||||||
<PrivateAssets>None</PrivateAssets>
|
<Reference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" PrivateAssets="None" />
|
||||||
</PackageReference>
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)">
|
|
||||||
<PrivateAssets>None</PrivateAssets>
|
|
||||||
</PackageReference>
|
|
||||||
<Reference Include="Microsoft.Extensions.Caching.Memory" />
|
<Reference Include="Microsoft.Extensions.Caching.Memory" />
|
||||||
<Reference Include="Microsoft.Extensions.DependencyInjection" />
|
<Reference Include="Microsoft.Extensions.DependencyInjection" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlitePackageVersion)" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlitePackageVersion)" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlServerPackageVersion)" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(BenchmarksOnlyMicrosoftEntityFrameworkCoreSqlServerPackageVersion)" />
|
||||||
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
|
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,7 @@
|
||||||
<ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''">
|
<ItemGroup Condition="'$(BenchmarksTargetFramework)' == ''">
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
|
<Reference Include="Microsoft.Extensions.Configuration.CommandLine" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(MicrosoftAspNetCoreRazorDesignPackageVersion)" />
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,8 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Mvc.Core.TestCommon\Microsoft.AspNetCore.Mvc.Core.TestCommon.csproj" />
|
<ProjectReference Include="..\Mvc.Core.TestCommon\Microsoft.AspNetCore.Mvc.Core.TestCommon.csproj" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="$(MicrosoftAspNetCoreRazorRuntimePackageVersion)" />
|
<Reference Include="Microsoft.AspNetCore.Razor.Language" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Language" Version="$(MicrosoftAspNetCoreRazorLanguagePackageVersion)" />
|
|
||||||
<Reference Include="Microsoft.Extensions.WebEncoders" />
|
<Reference Include="Microsoft.Extensions.WebEncoders" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc.Testing" />
|
<Reference Include="Microsoft.AspNetCore.Mvc.Testing" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Language" />
|
||||||
<ProjectReference Include="..\..\benchmarkapps\BasicApi\BasicApi.csproj" />
|
<ProjectReference Include="..\..\benchmarkapps\BasicApi\BasicApi.csproj" />
|
||||||
<ProjectReference Include="..\..\benchmarkapps\BasicViews\BasicViews.csproj" />
|
<ProjectReference Include="..\..\benchmarkapps\BasicViews\BasicViews.csproj" />
|
||||||
<ProjectReference Include="..\..\samples\MvcSandbox\MvcSandbox.csproj" />
|
<ProjectReference Include="..\..\samples\MvcSandbox\MvcSandbox.csproj" />
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,6 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
||||||
<Reference Include="Microsoft.AspNetCore.CookiePolicy" />
|
<Reference Include="Microsoft.AspNetCore.CookiePolicy" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Language" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ControllersFromServicesClassLibrary\ControllersFromServicesClassLibrary.csproj" />
|
<ProjectReference Include="..\ControllersFromServicesClassLibrary\ControllersFromServicesClassLibrary.csproj" />
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Language" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,7 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
||||||
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
<!--
|
|
||||||
Referencing here so you can easily regenerate the C# from Razor.
|
|
||||||
Just do `dotnet build /t:RazorGenerate /p:TargetFramework=netcoreapp2.0` and look in obj/Debug/netcoreapp2.0/Razor
|
|
||||||
-->
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(MicrosoftAspNetCoreRazorDesignPackageVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,13 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Runtime" />
|
||||||
|
<Reference Include="Microsoft.AspNetCore.Razor.Language" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
<Reference Include="Microsoft.Extensions.FileProviders.Embedded" />
|
<Reference Include="Microsoft.Extensions.FileProviders.Embedded" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
<Reference Include="Microsoft.AspNetCore.Diagnostics" />
|
||||||
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,6 @@
|
||||||
<Reference Include="Microsoft.AspNetCore.Authentication.Cookies" />
|
<Reference Include="Microsoft.AspNetCore.Authentication.Cookies" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Hosting" />
|
<Reference Include="Microsoft.AspNetCore.Hosting" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
<Reference Include="Microsoft.AspNetCore.Mvc" />
|
||||||
|
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
<Reference Include="Microsoft.AspNetCore.Server.IISIntegration" />
|
||||||
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" />
|
||||||
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
<Reference Include="Microsoft.AspNetCore.StaticFiles" />
|
||||||
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" PrivateAssets="All" />
|
<Reference Include="Microsoft.NET.Sdk.Razor" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
SET RepoRoot="%~dp0..\..\.."
|
SET RepoRoot=%~dp0..\..\..
|
||||||
%RepoRoot%\build.cmd -LockFile %RepoRoot%\korebuild-lock.txt -Path %~dp0 %*
|
%RepoRoot%\build.cmd -LockFile %RepoRoot%\korebuild-lock.txt -projects %~dp0**\*.*proj %*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue