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

Commit 1bdec60

Browse files
author
Nate McMaster
committed
This converts to using Internal.AspNetCore.Sdk instead of importing from the KoreBuild folder directly
1 parent 5fe655f commit 1bdec60

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

NuGet.config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
44
<add key="AspNetCore" value="https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json" />
5+
<add key="AspNetCoreTools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" />
56
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
67
</packageSources>
7-
</configuration>
8+
</configuration>

build/common.props

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
<Project ToolsVersion="15.0">
2-
<Import Project="..\version.props" />
3-
<Import Project="..\.build\common.props" Condition="Exists('..\.build\common.props')" />
2+
<Import Project="..\version.props" />
43

5-
<PropertyGroup>
6-
<RepositoryUrl>https://github.com/aspnet/StaticFiles</RepositoryUrl>
7-
<RepositoryType>git</RepositoryType>
8-
<Product>Microsoft ASP.NET Core</Product>
9-
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Key.snk</AssemblyOriginatorKeyFile>
10-
<SignAssembly>true</SignAssembly>
11-
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
12-
</PropertyGroup>
4+
<PropertyGroup>
5+
<Product>Microsoft ASP.NET Core</Product>
6+
<RepositoryUrl>https://github.com/aspnet/StaticFiles</RepositoryUrl>
7+
<RepositoryType>git</RepositoryType>
8+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Key.snk</AssemblyOriginatorKeyFile>
9+
<SignAssembly>true</SignAssembly>
10+
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="Internal.AspNetCore.Sdk" Version="1.0.0-*" PrivateAssets="All" />
15+
</ItemGroup>
1316

14-
<Target Name="EnsureInitialized"
15-
BeforeTargets="Build"
16-
Condition="!Exists('$(MSBuildThisFileDirectory)..\.build\common.props')">
17-
<Error File="$(MSBuildProjectFile)"
18-
Text="Project has not been initialized. Run 'build initialize' in the solution directory '$(MSBuildThisFileDirectory)'" />
19-
</Target>
2017
</Project>

0 commit comments

Comments
 (0)