Skip to content

Commit c2aa295

Browse files
author
John Luo
committed
Merge fixes
1 parent 90a9fa7 commit c2aa295

File tree

20 files changed

+216
-174
lines changed

20 files changed

+216
-174
lines changed

eng/Baseline.Designer.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -754,15 +754,15 @@
754754
</ItemGroup>
755755
<!-- Package: Microsoft.AspNetCore.Mvc.Razor.ViewCompilation-->
756756
<PropertyGroup Condition=" '$(PackageId)' == 'Microsoft.AspNetCore.Mvc.Razor.ViewCompilation' ">
757-
<BaselinePackageVersion>2.1.1</BaselinePackageVersion>
757+
<BaselinePackageVersion>2.2.0</BaselinePackageVersion>
758758
</PropertyGroup>
759759
<ItemGroup Condition=" '$(PackageId)' == 'Microsoft.AspNetCore.Mvc.Razor.ViewCompilation' AND '$(TargetFramework)' == 'net461' ">
760-
<BaselinePackageReference Include="Microsoft.AspNetCore.Hosting" Version="[2.1.1, )" />
761-
<BaselinePackageReference Include="Microsoft.AspNetCore.Mvc.RazorPages" Version="[2.1.1, )" />
760+
<BaselinePackageReference Include="Microsoft.AspNetCore.Hosting" Version="[2.2.0, )" />
761+
<BaselinePackageReference Include="Microsoft.AspNetCore.Mvc.RazorPages" Version="[2.2.0, )" />
762762
</ItemGroup>
763763
<ItemGroup Condition=" '$(PackageId)' == 'Microsoft.AspNetCore.Mvc.Razor.ViewCompilation' AND '$(TargetFramework)' == 'netcoreapp2.0' ">
764-
<BaselinePackageReference Include="Microsoft.AspNetCore.Hosting" Version="[2.1.1, )" />
765-
<BaselinePackageReference Include="Microsoft.AspNetCore.Mvc.RazorPages" Version="[2.1.1, )" />
764+
<BaselinePackageReference Include="Microsoft.AspNetCore.Hosting" Version="[2.2.0, )" />
765+
<BaselinePackageReference Include="Microsoft.AspNetCore.Mvc.RazorPages" Version="[2.2.0, )" />
766766
</ItemGroup>
767767
<!-- Package: Microsoft.AspNetCore.Mvc.RazorPages-->
768768
<PropertyGroup Condition=" '$(PackageId)' == 'Microsoft.AspNetCore.Mvc.RazorPages' ">

eng/ProjectReferences.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.ViewFeatures" ProjectPath="$(RepositoryRoot)src\Mvc\src\Microsoft.AspNetCore.Mvc.ViewFeatures\Microsoft.AspNetCore.Mvc.ViewFeatures.csproj" />
123123
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.WebApiCompatShim" ProjectPath="$(RepositoryRoot)src\Mvc\src\Microsoft.AspNetCore.Mvc.WebApiCompatShim\Microsoft.AspNetCore.Mvc.WebApiCompatShim.csproj" />
124124
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc" ProjectPath="$(RepositoryRoot)src\Mvc\src\Microsoft.AspNetCore.Mvc\Microsoft.AspNetCore.Mvc.csproj" />
125-
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" ProjectPath="$(RepositoryRoot)src\Mvc\ViewCompilation\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj" /> <ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" ProjectPath="$(RepositoryRoot)src\Mvc\ViewCompilation\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj" />
126125
<ProjectReferenceProvider Include="Microsoft.Extensions.ApiDescription.Tasks" ProjectPath="$(RepositoryRoot)src\Mvc\src\Microsoft.Extensions.ApiDescription.Design\Microsoft.Extensions.ApiDescription.Design.csproj" />
126+
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" ProjectPath="$(RepositoryRoot)src\Mvc\ViewCompilation\src\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj" />
127127
<ProjectReferenceProvider Include="Microsoft.AspNetCore.ApplicationInsights.HostingStartup" ProjectPath="$(RepositoryRoot)src\Azure\ApplicationInsights.HostingStartup\src\Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj" />
128128
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Authentication.AzureAD.UI" ProjectPath="$(RepositoryRoot)src\Azure\AzureAD\Authentication.AzureAD.UI\src\Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj" />
129129
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Authentication.AzureADB2C.UI" ProjectPath="$(RepositoryRoot)src\Azure\AzureAD\Authentication.AzureADB2C.UI\src\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj" />

src/Mvc/Mvc.sln

Lines changed: 192 additions & 132 deletions
Large diffs are not rendered by default.

src/Mvc/ViewCompilation/test/FunctionalTests/CoreCLRTests/SimpleAppTest_CoreCLR.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public SimpleAppTest_CoreCLR(
2121

2222
public ApplicationTestFixture Fixture { get; }
2323

24-
[Fact]
24+
[Fact(Skip = "Needs to be rewritten")]
2525
public async Task Precompilation_WorksForSimpleApps()
2626
{
2727
using (StartLog(out var loggerFactory))

src/Mvc/ViewCompilation/test/FunctionalTests/Infrastructure/ApplicationTestFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public abstract class ApplicationTestFixture : IDisposable
2323

2424
static ApplicationTestFixture()
2525
{
26-
SolutionDirectory = TestPathUtilities.GetSolutionRootDirectory("RazorViewCompilation");
26+
SolutionDirectory = TestPathUtilities.GetSolutionRootDirectory("Mvc");
2727
if (!SolutionDirectory.EndsWith(Path.DirectorySeparatorChar.ToString()))
2828
{
2929
SolutionDirectory += Path.DirectorySeparatorChar;

src/Mvc/ViewCompilation/test/FunctionalTests/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.FunctionalTests.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.2;net461</TargetFrameworks>
55

66
<DefineConstants>$(DefineConstants);__remove_this_to__GENERATE_BASELINES</DefineConstants>
77
<DefineConstants Condition="'$(GenerateBaseLines)'=='true'">$(DefineConstants);GENERATE_BASELINES</DefineConstants>
88
<SignAssembly>false</SignAssembly>
99
<PublicSign>false</PublicSign>
1010
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
11+
12+
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net461'">win7-x64</RuntimeIdentifier>
1113
</PropertyGroup>
1214

1315
<ItemGroup>
1416
<EmbeddedResource Include="Resources\*" />
1517
<Compile Include="Infrastructure\*.cs" />
1618
<Compile Include="DesktopTests\*.cs" Condition="'$(TargetFramework)'=='net461'" />
17-
<Compile Include="CoreCLRTests\*.cs" Condition="'$(TargetFramework)'=='netcoreapp2.1'" />
19+
<Compile Include="CoreCLRTests\*.cs" Condition="'$(TargetFramework)'=='netcoreapp2.2'" />
1820
</ItemGroup>
1921

2022
<ItemGroup>
@@ -32,7 +34,6 @@
3234
</ItemGroup>
3335

3436
<ItemGroup>
35-
<ProjectReference Include="..\..\testassets\ApplicationUsingRelativePaths\ApplicationUsingRelativePaths.csproj" />
3637
<ProjectReference Include="..\..\testassets\ApplicationWithConfigureMvc\ApplicationWithConfigureMvc.csproj" />
3738
<ProjectReference Include="..\..\testassets\ApplicationWithCustomInputFiles\ApplicationWithCustomInputFiles.csproj" />
3839
<ProjectReference Include="..\..\testassets\ApplicationWithParseErrors\ApplicationWithParseErrors.csproj" />

src/Mvc/ViewCompilation/testassets/ApplicationUsingRelativePaths/ApplicationUsingRelativePaths.csproj

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/Mvc/ViewCompilation/testassets/ApplicationWithConfigureMvc/ApplicationWithConfigureMvc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.2;net461</TargetFrameworks>
55
<DefineConstants>$(DefineConstants);TEST123</DefineConstants>
66

77
<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>

src/Mvc/ViewCompilation/testassets/ApplicationWithCustomInputFiles/ApplicationWithCustomInputFiles.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.2;net461</TargetFrameworks>
55

66
<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>
77
<MvcRazorEmbedViewSources>true</MvcRazorEmbedViewSources>

src/Mvc/ViewCompilation/testassets/ApplicationWithParseErrors/ApplicationWithParseErrors.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.2;net461</TargetFrameworks>
55

66
<MvcRazorCompileOnPublish>true</MvcRazorCompileOnPublish>
77
</PropertyGroup>

0 commit comments

Comments
 (0)