Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit 5e6b7f9

Browse files
committed
React to Razor.Design package removal
* Remove references to packages (Razor.Design, Razor.Extensions) solely used to bring in compiler \ targets * Target netcoreapp3.0 in samples and tests to allow Sdk to infer values
1 parent 54579f9 commit 5e6b7f9

File tree

15 files changed

+97
-106
lines changed

15 files changed

+97
-106
lines changed

benchmarkapps/BasicApi/BasicApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp2.2</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
44
<TargetFrameworks Condition=" '$(DeveloperBuild)' != 'true' AND '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
55
<TargetFrameworks Condition="'$(BenchmarksTargetFramework)' != ''">$(BenchmarksTargetFramework)</TargetFrameworks>
66

benchmarkapps/BasicViews/BasicViews.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp2.2</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
44
<TargetFrameworks Condition=" '$(DeveloperBuild)' != 'true' AND '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
55
<TargetFrameworks Condition="'$(BenchmarksTargetFramework)' != ''">$(BenchmarksTargetFramework)</TargetFrameworks>
66

benchmarkapps/RazorRendering/RazorRendering.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp2.2</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
44
</PropertyGroup>
55

66
<!-- These references are used when running locally -->
@@ -16,8 +16,8 @@
1616
These references are used when running on the Benchmarks Server.
1717
-->
1818
<ItemGroup Condition="'$(BenchmarksTargetFramework)' != ''">
19-
<PackageReference Include="Microsoft.AspNetCore.App" Version="$(MicrosoftNETCoreApp22PackageVersion)" />
20-
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETCoreApp22PackageVersion)" PrivateAssets="All" />
19+
<PackageReference Include="Microsoft.AspNetCore.App" Version="$(MicrosoftNETCoreApp30PackageVersion)" />
20+
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETCoreApp30PackageVersion)" PrivateAssets="All" />
2121
</ItemGroup>
2222
<ItemGroup>
2323
<Folder Include="Properties\" />

build/dependencies.props

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

build/repo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020

2121
<ItemGroup>
2222
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp21PackageVersion)" />
23-
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp22PackageVersion)" />
23+
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp30PackageVersion)" />
2424
</ItemGroup>
2525
</Project>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"sdk": {
3-
"version": "2.2.100-preview2-009404"
3+
"version": "3.0.100-alpha1-009708"
44
},
55
"msbuild-sdks": {
6-
"Internal.AspNetCore.Sdk": "3.0.0-alpha1-20181011.11"
6+
"Internal.AspNetCore.Sdk": "3.0.0-alpha1-20181031.3"
77
}
88
}

korebuild-lock.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version:3.0.0-alpha1-20181011.11
2-
commithash:f57aa8ddda0abdd74ada55853587bedb4f364065
1+
version:3.0.0-alpha1-20181031.3
2+
commithash:93e5628f435045e3f2a766933dc5062048ac0426

samples/MvcSandbox/MvcSandbox.csproj

Lines changed: 1 addition & 4 deletions
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.2</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
55
<TargetFrameworks Condition=" '$(DeveloperBuild)' != 'true' AND '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
66
</PropertyGroup>
77

@@ -11,10 +11,7 @@
1111

1212
<ItemGroup>
1313
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Mvc\Microsoft.AspNetCore.Mvc.csproj" />
14-
1514
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="$(MicrosoftAspNetCoreDiagnosticsPackageVersion)" />
16-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)" />
17-
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(MicrosoftAspNetCoreRazorDesignPackageVersion)" />
1815
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="$(MicrosoftAspNetCoreServerIISIntegrationPackageVersion)" />
1916
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="$(MicrosoftAspNetCoreServerKestrelPackageVersion)" />
2017
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="$(MicrosoftAspNetCoreStaticFilesPackageVersion)" />

src/Microsoft.AspNetCore.Mvc/Microsoft.AspNetCore.Mvc.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
<ProjectReference Include="..\Microsoft.AspNetCore.Mvc.TagHelpers\Microsoft.AspNetCore.Mvc.TagHelpers.csproj" />
2020
<ProjectReference Include="..\Microsoft.AspNetCore.Mvc.ViewFeatures\Microsoft.AspNetCore.Mvc.ViewFeatures.csproj" />
2121

22-
<!-- Including these here specifically so that apps referencing the MVC package get razor compiler targets -->
23-
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(MicrosoftAspNetCoreRazorDesignPackageVersion)">
24-
<PrivateAssets>None</PrivateAssets>
25-
</PackageReference>
26-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)">
27-
<PrivateAssets>None</PrivateAssets>
28-
</PackageReference>
2922
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="$(MicrosoftExtensionsCachingMemoryPackageVersion)" />
3023
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionPackageVersion)" />
3124
</ItemGroup>

src/Microsoft.Extensions.ApiDescription.Design/Microsoft.Extensions.ApiDescription.Design.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
<PackagePath>tools/dotnet-getdocument.dll</PackagePath>
4343
<StrongName>$(AssemblySigningStrongName)</StrongName>
4444
</SignedPackageFile>
45+
<SignedPackageFile Include="../dotnet-getdocument/bin/$(Configuration)/netcoreapp2.1/publish/dotnet-getdocument.exe">
46+
<Certificate>$(AssemblySigningCertName)</Certificate>
47+
<PackagePath>tools/dotnet-getdocument.exe</PackagePath>
48+
<StrongName>$(AssemblySigningStrongName)</StrongName>
49+
</SignedPackageFile>
4550
<SignedPackageFile Include="../GetDocumentInsider/bin/$(Configuration)/net461/GetDocument.Insider.exe">
4651
<Certificate>$(AssemblySigningCertName)</Certificate>
4752
<PackagePath>tools/net461/GetDocument.Insider.exe</PackagePath>

0 commit comments

Comments
 (0)