Skip to content

Commit

Permalink
Upgrade to consume changes in KoreBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate McMaster committed Dec 15, 2016
1 parent ae8fc23 commit 1fcf798
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 24 deletions.
9 changes: 8 additions & 1 deletion build/common.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
<Project>
<Import Project="..\version.props" />
<Import Project="..\.build\common.props" Condition="Exists('..\.build\common.props')" />

<PropertyGroup>
<CustomAfterMicrosoftCommonTargets>$(MSBuildThisFileDirectory)common.targets</CustomAfterMicrosoftCommonTargets>
<RepositoryUrl>https://github.com/aspnet/BuildTools</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<Target Name="EnsureInitialized"
BeforeTargets="Build"
Condition="!Exists('$(MSBuildThisFileDirectory)..\.build\common.props')">
<Error File="$(MSBuildProjectFile)"
Text="Project has not been initialized. Run 'build initialize' in the solution directory." />
</Target>
</Project>
11 changes: 0 additions & 11 deletions build/common.targets

This file was deleted.

2 changes: 1 addition & 1 deletion src/DependenciesPackager/DependenciesPackager.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<VersionPrefix>1.0.1</VersionPrefix>
Expand Down
2 changes: 1 addition & 1 deletion src/NuGetPackageVerifier/NuGetPackageVerifier.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down
2 changes: 1 addition & 1 deletion src/PackageCacheUploader/PackageCacheUploader.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down
2 changes: 1 addition & 1 deletion src/PackageClassifier/PackageClassifier.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down
2 changes: 1 addition & 1 deletion src/SplitPackages/SplitPackages.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<Description>Copies NuGet packages form a given source folder into a specific set of folders based on a CSV file.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/VersionTool/VersionTool.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down
4 changes: 1 addition & 3 deletions test/ApiCheck.Test/ApiCheck.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<TargetFrameworks>netcoreapp1.0;net452</TargetFrameworks>
<RuntimeIdentifier Condition=" '$(TargetFramework)'!='netcoreapp1.0' ">win7-x64</RuntimeIdentifier>
<OutputType>exe</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="**\*.cs" />
Expand Down
2 changes: 1 addition & 1 deletion test/ApiCheckBaseline.V1/ApiCheckBaseline.V1.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down
2 changes: 1 addition & 1 deletion test/ApiCheckBaseline.V2/ApiCheckBaseline.V2.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

<Import Project="..\..\build\common.props" />

Expand Down

0 comments on commit 1fcf798

Please sign in to comment.