Rename output folder from out to bin

(cherry picked from commit 97b7553e31)
This commit is contained in:
Daniel Plaisted 2017-09-01 14:04:52 -07:00 committed by Nick Guerrera
parent 78eb0a7719
commit 65b0df5b43
5 changed files with 7 additions and 7 deletions

2
.gitignore vendored
View file

@ -96,7 +96,7 @@ dlldata.c
# DNX # DNX
project.lock.json project.lock.json
artifacts/ artifacts/
out/ bin/
*_i.c *_i.c
*_p.c *_p.c

View file

@ -1,6 +1,6 @@
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<GeneratedPropsDir>$(RepoRoot)/out/obj</GeneratedPropsDir> <GeneratedPropsDir>$(RepoRoot)/bin/obj</GeneratedPropsDir>
<GitCommitInfoProps>$(GeneratedPropsDir)/GitCommitInfo.props</GitCommitInfoProps> <GitCommitInfoProps>$(GeneratedPropsDir)/GitCommitInfo.props</GitCommitInfoProps>
<HostInfoProps>$(GeneratedPropsDir)/HostInfo.props</HostInfoProps> <HostInfoProps>$(GeneratedPropsDir)/HostInfo.props</HostInfoProps>
<BuildInfoProps>$(GeneratedPropsDir)/BuildInfo.props</BuildInfoProps> <BuildInfoProps>$(GeneratedPropsDir)/BuildInfo.props</BuildInfoProps>

View file

@ -6,7 +6,7 @@
<!-- BaseOutputDirectory is the root output path for this stage and RID <!-- BaseOutputDirectory is the root output path for this stage and RID
BaseOutputPath is the project-specific output folder that each project builds into. BaseOutputPath is the project-specific output folder that each project builds into.
This is not confusing at all. --> This is not confusing at all. -->
<BaseOutputDirectory>$(RepoRoot)/out/$(CliBuildStage)/$(Rid)</BaseOutputDirectory> <BaseOutputDirectory>$(RepoRoot)/bin/$(CliBuildStage)/$(Rid)</BaseOutputDirectory>
<BaseOutputPath>$([System.IO.Path]::GetFullPath('$(BaseOutputDirectory)/bin/$(MSBuildProjectName)'))</BaseOutputPath> <BaseOutputPath>$([System.IO.Path]::GetFullPath('$(BaseOutputDirectory)/bin/$(MSBuildProjectName)'))</BaseOutputPath>
<BaseIntermediateOutputPath>$([System.IO.Path]::GetFullPath('$(BaseOutputDirectory)/obj/$(MSBuildProjectName)'))</BaseIntermediateOutputPath> <BaseIntermediateOutputPath>$([System.IO.Path]::GetFullPath('$(BaseOutputDirectory)/obj/$(MSBuildProjectName)'))</BaseIntermediateOutputPath>

View file

@ -100,7 +100,7 @@
<Target Name="IsolateArtifactsFromDirectoryBuildFiles"> <Target Name="IsolateArtifactsFromDirectoryBuildFiles">
<Copy SourceFiles="$(RepoRoot)TestAssets\Directory.Build.props" <Copy SourceFiles="$(RepoRoot)TestAssets\Directory.Build.props"
DestinationFolder ="$(RepoRoot)out" DestinationFolder ="$(RepoRoot)bin"
SkipUnchangedFiles="true" /> SkipUnchangedFiles="true" />
</Target> </Target>

View file

@ -58,7 +58,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
{ {
if (string.IsNullOrEmpty(s_buildRid)) if (string.IsNullOrEmpty(s_buildRid))
{ {
var buildInfoPath = Path.Combine(RepoRoot, "out", "obj", "BuildInfo.props"); var buildInfoPath = Path.Combine(RepoRoot, "bin", "obj", "BuildInfo.props");
var root = XDocument.Load(buildInfoPath).Root; var root = XDocument.Load(buildInfoPath).Root;
var ns = root.Name.Namespace; var ns = root.Name.Namespace;
@ -97,7 +97,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
int previousStage = 2; int previousStage = 2;
_artifacts = artifacts ?? Path.Combine(RepoRoot, _artifacts = artifacts ?? Path.Combine(RepoRoot,
"out", "bin",
previousStage.ToString(), previousStage.ToString(),
BuildRid); BuildRid);
_builtDotnet = builtDotnet ?? Path.Combine(_artifacts, "intermediate", "sharedFrameworkPublish"); _builtDotnet = builtDotnet ?? Path.Combine(_artifacts, "intermediate", "sharedFrameworkPublish");
@ -116,7 +116,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
} }
_testWorkingFolder = Path.Combine(RepoRoot, _testWorkingFolder = Path.Combine(RepoRoot,
"out", "bin",
(previousStage + 1).ToString(), (previousStage + 1).ToString(),
BuildRid, BuildRid,
"test"); "test");