From e860022e1a7b1ea825c1d185d1084feec24faf47 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 22 Nov 2017 08:31:19 -0800 Subject: [PATCH] Remove references to aspnetcore-ci-dev and fix properties in PackageArchive targets --- build/PackageArchive.targets | 4 ++-- build/RuntimeStore.targets | 10 ++++------ build/repo.props | 6 ++++++ build/repo.targets | 7 +------ build/tools/templates/Archive/Archive.csproj | 2 +- build/tools/templates/RS.Manifest/RS.Manifest.csproj | 2 +- .../tools/templates/RS.References/RS.References.csproj | 2 +- 7 files changed, 16 insertions(+), 17 deletions(-) diff --git a/build/PackageArchive.targets b/build/PackageArchive.targets index 4f15b34553..4475413337 100644 --- a/build/PackageArchive.targets +++ b/build/PackageArchive.targets @@ -22,7 +22,7 @@ BuildArtifacts="@(ArtifactInfo)" PackageArtifacts="@(PackageArtifact)" ExternalDependencies="@(ExternalDependency)" - MetapackageVersion="$(MetapackageVersion)" /> + MetapackageVersion="$(PackageVersion)" /> $(_WorkRoot)obj\$(LzmaOutputPackageName) @@ -33,7 +33,7 @@ <_FallbackArchiveRestoreSources Include="$(MetapackageRestoreSource)" Condition="Exists($(MetapackageRestoreSource))" /> - <_FallbackArchiveRestoreSources Include="$(_DependencyMirrorDirectory)" Condition="Exists($(_DependencyMirrorDirectory))" /> + <_FallbackArchiveRestoreSources Include="$(DependencyMirrorPackageDir)" Condition="Exists($(DependencyMirrorPackageDir))" /> - <_DependencyBuildDirectory>$(RepositoryRoot).deps\build\ - <_DependencyMirrorDirectory>$(RepositoryRoot).deps\mirror\ <_BuildScriptsDirectory>$(MSBuildThisFileDirectory)tools\scripts\ <_WorkRoot>$(RepositoryRoot).w\ <_RuntimeStoreWorkDirectory>$(_WorkRoot).rw\ @@ -92,13 +90,13 @@ - + - <_RuntimeStoreRestoreSources Include="$(_DependencyBuildDirectory)" Condition="Exists($(_DependencyBuildDirectory))" /> - <_RuntimeStoreRestoreSources Include="$(_DependencyMirrorDirectory)" Condition="Exists($(_DependencyMirrorDirectory))" /> + <_RuntimeStoreRestoreSources Include="$(DependencyPackageDir)" Condition="Exists($(DependencyPackageDir))" /> + <_RuntimeStoreRestoreSources Include="$(DependencyMirrorPackageDir)" Condition="Exists($(DependencyMirrorPackageDir))" /> <_RuntimeStoreRestoreSources Include="$(BuildDir)" Condition="Exists($(BuildDir))" /> @@ -220,7 +218,7 @@ - + diff --git a/build/repo.props b/build/repo.props index 275a931fe1..791f3bf931 100644 --- a/build/repo.props +++ b/build/repo.props @@ -8,6 +8,12 @@ false true false + + $(RepositoryRoot)modules\ + $(ArtifactsDir)lineups\ + + $(RepositoryRoot).deps\build\ + $(RepositoryRoot).deps\mirror\ diff --git a/build/repo.targets b/build/repo.targets index 2ab0b5bfb6..282a2ec44e 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -8,11 +8,6 @@ - $(RepositoryRoot)modules\ - $(ArtifactsDir)lineups\ - <_DependencyBuildDirectory>$(RepositoryRoot).deps\build\ - <_DependencyPackagesDirectory>$(_DependencyBuildDirectory) - <_RepositoryBuildTargets Condition="'$(_RepositoryBuildTargets)'=='' AND '$(SkipTests)'=='true'">/t:Package /t:VerifyPackages <_RepositoryBuildTargets Condition="'$(_RepositoryBuildTargets)'==''">/t:Build @@ -99,7 +94,7 @@ <_LineupPackages Include="%(ArtifactInfo.PackageId)" Version="%(ArtifactInfo.Version)" Condition=" '%(ArtifactInfo.ArtifactType)' == 'NuGetPackage' " /> <_LineupPackages Include="Microsoft.AspNetCore.All" Version="$(PackageVersion)" /> - <_LineupSources Include="$(_DependencyPackagesDirectory)" Condition="'$(_DependencyPackagesDirectory)' != '' AND Exists('$(_DependencyPackagesDirectory)')" /> + <_LineupSources Include="$(DependencyPackageDir)" Condition="'$(DependencyPackageDir)' != '' AND Exists('$(DependencyPackageDir)')" /> <_LineupSources Include="$(BuildDir)" /> <_LineupSources Include="$(IntermediateExternalPackageDir)" /> <_LineupSources Include="$(IntermediateMirrorPackageDir)" /> diff --git a/build/tools/templates/Archive/Archive.csproj b/build/tools/templates/Archive/Archive.csproj index 088d82c8fa..b548cc6f7a 100644 --- a/build/tools/templates/Archive/Archive.csproj +++ b/build/tools/templates/Archive/Archive.csproj @@ -10,7 +10,7 @@ $(RestoreSources);https://dotnet.myget.org/F/dotnet-core/api/v3/index.json; $(RestoreSources); - https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json; https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; diff --git a/build/tools/templates/RS.Manifest/RS.Manifest.csproj b/build/tools/templates/RS.Manifest/RS.Manifest.csproj index d5b5a1c33a..e040db7443 100644 --- a/build/tools/templates/RS.Manifest/RS.Manifest.csproj +++ b/build/tools/templates/RS.Manifest/RS.Manifest.csproj @@ -7,7 +7,7 @@ $(DotNetRestoreSources) $(RestoreSources); - https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json; https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; diff --git a/build/tools/templates/RS.References/RS.References.csproj b/build/tools/templates/RS.References/RS.References.csproj index b28793fed0..d99ebef658 100644 --- a/build/tools/templates/RS.References/RS.References.csproj +++ b/build/tools/templates/RS.References/RS.References.csproj @@ -6,7 +6,7 @@ $(DotNetRestoreSources) $(RestoreSources); - https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json; + https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json; https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;