fix merge
This commit is contained in:
parent
85b2a129db
commit
0f919d7442
5 changed files with 45 additions and 40 deletions
|
@ -63,36 +63,6 @@
|
||||||
VersionSuffix="$(CommitCount)"
|
VersionSuffix="$(CommitCount)"
|
||||||
ProjectPath="$(SrcDirectory)/tool_roslyn/tool_roslyn.csproj" />
|
ProjectPath="$(SrcDirectory)/tool_roslyn/tool_roslyn.csproj" />
|
||||||
|
|
||||||
<!-- Corehostify Binaries -->
|
|
||||||
<ItemGroup Condition=" '$(OSName)' != 'win' ">
|
|
||||||
<SdkOutputChmodTargets Remove="*" />
|
|
||||||
<SdkOutputChmodTargets Include="$(SdkOutputDirectory)/**/*.exe;
|
|
||||||
$(SdkOutputDirectory)/**/*.dll" >
|
|
||||||
<!-- Managed assemblies do not need execute -->
|
|
||||||
<Mode>u=rw,g=r,o=r</Mode>
|
|
||||||
</SdkOutputChmodTargets>
|
|
||||||
|
|
||||||
<SdkOutputChmodTargets Include="$(SdkOutputDirectory)/**/*.dylib;
|
|
||||||
$(SdkOutputDirectory)/**/*.so" >
|
|
||||||
<!-- Generally, dylibs and sos have 'x' -->
|
|
||||||
<Mode>u=rwx,g=rx,o=rx</Mode>
|
|
||||||
</SdkOutputChmodTargets>
|
|
||||||
|
|
||||||
<SdkOutputChmodTargets Include="$(SdkOutputDirectory)/**/*"
|
|
||||||
Exclude="$(SdkOutputDirectory)/**/*.*" >
|
|
||||||
<!-- Executables need x -->
|
|
||||||
<Mode>u=rwx,g=rx,o=rx</Mode>
|
|
||||||
</SdkOutputChmodTargets>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Chmod Condition=" '$(OSName)' != 'win' "
|
|
||||||
File="%(SdkOutputChModTargets.FullPath)"
|
|
||||||
Mode="%(SdkOutputChModTargets.Mode)" />
|
|
||||||
|
|
||||||
<RemoveAssetFromDepsPackages DepsFile="$(SdkOutputDirectory)/redist.deps.json"
|
|
||||||
SectionName="runtimeTargets"
|
|
||||||
AssetPath="$(BinaryToCorehostifyRelDir)/%(RuntimeTargetsAssetsToRemoveFromDeps.Identity).exe" />
|
|
||||||
|
|
||||||
<RemoveAssetFromDepsPackages DepsFile="$(SdkOutputDirectory)/redist.deps.json"
|
<RemoveAssetFromDepsPackages DepsFile="$(SdkOutputDirectory)/redist.deps.json"
|
||||||
SectionName="runtime"
|
SectionName="runtime"
|
||||||
AssetPath="%(RuntimeAssetsToRemoveFromDeps.Identity).dll" />
|
AssetPath="%(RuntimeAssetsToRemoveFromDeps.Identity).dll" />
|
||||||
|
@ -178,6 +148,36 @@
|
||||||
@(CompileStageSdkDirectories);
|
@(CompileStageSdkDirectories);
|
||||||
$(SharedFrameworkNameVersionPath)" />
|
$(SharedFrameworkNameVersionPath)" />
|
||||||
|
|
||||||
|
<!-- Corehostify Binaries -->
|
||||||
|
<ItemGroup Condition=" '$(OSName)' != 'win' ">
|
||||||
|
<SdkOutputChmodTargets Remove="*" />
|
||||||
|
<SdkOutputChmodTargets Include="$(SdkOutputDirectory)/**/*.exe;
|
||||||
|
$(SdkOutputDirectory)/**/*.dll" >
|
||||||
|
<!-- Managed assemblies do not need execute -->
|
||||||
|
<Mode>u=rw,g=r,o=r</Mode>
|
||||||
|
</SdkOutputChmodTargets>
|
||||||
|
|
||||||
|
<SdkOutputChmodTargets Include="$(SdkOutputDirectory)/**/*.dylib;
|
||||||
|
$(SdkOutputDirectory)/**/*.so" >
|
||||||
|
<!-- Generally, dylibs and sos have 'x' -->
|
||||||
|
<Mode>u=rwx,g=rx,o=rx</Mode>
|
||||||
|
</SdkOutputChmodTargets>
|
||||||
|
|
||||||
|
<SdkOutputChmodTargets Include="$(SdkOutputDirectory)/**/*"
|
||||||
|
Exclude="$(SdkOutputDirectory)/**/*.*" >
|
||||||
|
<!-- Executables need x -->
|
||||||
|
<Mode>u=rwx,g=rx,o=rx</Mode>
|
||||||
|
</SdkOutputChmodTargets>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Chmod Condition=" '$(OSName)' != 'win' "
|
||||||
|
File="%(SdkOutputChModTargets.FullPath)"
|
||||||
|
Mode="%(SdkOutputChModTargets.Mode)" />
|
||||||
|
|
||||||
|
<RemoveAssetFromDepsPackages DepsFile="$(SdkOutputDirectory)/redist.deps.json"
|
||||||
|
SectionName="runtimeTargets"
|
||||||
|
AssetPath="$(BinaryToCorehostifyRelDir)/%(RuntimeTargetsAssetsToRemoveFromDeps.Identity).exe" />
|
||||||
|
|
||||||
<!-- Move the "1.0" assemblies back -->
|
<!-- Move the "1.0" assemblies back -->
|
||||||
<Move SourceFiles="@(NETCore10Assemblies->'$(SdkOutputDirectory)/%(Filename)%(Extension).bak')"
|
<Move SourceFiles="@(NETCore10Assemblies->'$(SdkOutputDirectory)/%(Filename)%(Extension).bak')"
|
||||||
DestinationFiles="@(NETCore10Assemblies)" />
|
DestinationFiles="@(NETCore10Assemblies)" />
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<!-- Additional Shared Framework to be installed -->
|
<!-- Additional Shared Framework to be installed -->
|
||||||
<PropertyGroup Condition=" '$(IncludeAdditionalSharedFrameworks)' == 'true' ">
|
<PropertyGroup Condition=" '$(IncludeAdditionalSharedFrameworks)' == 'true' ">
|
||||||
<AdditionalCoreSetupChannel>preview</AdditionalCoreSetupChannel>
|
<AdditionalCoreSetupChannel>preview</AdditionalCoreSetupChannel>
|
||||||
<AdditionalSharedFrameworkVersion>1.0.3</AdditionalSharedFrameworkVersion>
|
<AdditionalSharedFrameworkVersion>1.0.4</AdditionalSharedFrameworkVersion>
|
||||||
<AdditionalSharedHostVersion>1.0.1</AdditionalSharedHostVersion>
|
<AdditionalSharedHostVersion>1.0.1</AdditionalSharedHostVersion>
|
||||||
<AdditionalHostFxrVersion>1.0.1</AdditionalHostFxrVersion>
|
<AdditionalHostFxrVersion>1.0.1</AdditionalHostFxrVersion>
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,17 @@
|
||||||
<ReleaseSuffix>alpha</ReleaseSuffix>
|
<ReleaseSuffix>alpha</ReleaseSuffix>
|
||||||
|
|
||||||
<CliVersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(ReleaseSuffix)</CliVersionPrefix>
|
<CliVersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(ReleaseSuffix)</CliVersionPrefix>
|
||||||
<SimpleVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch).$(CommitCount)</SimpleVersion>
|
<SimpleVersion Condition=" '$(DropSuffix)' == '' ">$(VersionMajor).$(VersionMinor).$(VersionPatch).$(CommitCount)</SimpleVersion>
|
||||||
<VersionSuffix>$(ReleaseSuffix)-$(CommitCount)</VersionSuffix>
|
<SimpleVersion Condition=" '$(SimpleVersion)' == '' ">$(VersionMajor).$(VersionMinor).$(VersionPatch)</SimpleVersion>
|
||||||
<NugetVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(VersionSuffix)</NugetVersion>
|
|
||||||
|
<VersionSuffix Condition=" '$(DropSuffix)' == '' ">$(ReleaseSuffix)-$(CommitCount)</VersionSuffix>
|
||||||
|
|
||||||
|
<FullNugetVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch)-$(ReleaseSuffix)-$(CommitCount)</FullNugetVersion>
|
||||||
|
|
||||||
|
<NugetVersion Condition=" '$(DropSuffix)' == '' ">$(FullNugetVersion)</NugetVersion>
|
||||||
|
<NugetVersion Condition=" '$(NugetVersion)' == '' ">$(VersionMajor).$(VersionMinor).$(VersionPatch)</NugetVersion>
|
||||||
|
|
||||||
<SdkVersion>$(NugetVersion)</SdkVersion>
|
<SdkVersion>$(NugetVersion)</SdkVersion>
|
||||||
<SdkNugetVersion>$(SdkVersion)</SdkNugetVersion>
|
<SdkNugetVersion>$(NugetVersion)</SdkNugetVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
<Target Name="SetupProjectsToPack"
|
<Target Name="SetupProjectsToPack"
|
||||||
DependsOnTargets="Init">
|
DependsOnTargets="Init">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NupkgVersionSuffix>$(CommitCount)</NupkgVersionSuffix>
|
|
||||||
<ProjectsSrcDirectory>$(RepoRoot)/src</ProjectsSrcDirectory>
|
<ProjectsSrcDirectory>$(RepoRoot)/src</ProjectsSrcDirectory>
|
||||||
<PackagingBuildBasePath>$(Stage2CompilationDirectory)/forPackaging</PackagingBuildBasePath>
|
<PackagingBuildBasePath>$(Stage2CompilationDirectory)/forPackaging</PackagingBuildBasePath>
|
||||||
<NupkgOutputDirectory>$(PackagesDirectory)</NupkgOutputDirectory>
|
<NupkgOutputDirectory>$(PackagesDirectory)</NupkgOutputDirectory>
|
||||||
|
@ -26,7 +25,7 @@
|
||||||
Output="$(NupkgOutputDirectory)"
|
Output="$(NupkgOutputDirectory)"
|
||||||
ProjectPath="%(ProjectsToPack.Identity)/%(ProjectsToPack.ProjectName).csproj"
|
ProjectPath="%(ProjectsToPack.Identity)/%(ProjectsToPack.ProjectName).csproj"
|
||||||
ToolPath="$(Stage0Directory)"
|
ToolPath="$(Stage0Directory)"
|
||||||
VersionSuffix="$(ReleaseSuffix)-$(NupkgVersionSuffix)"
|
VersionSuffix="$(VersionSuffix)"
|
||||||
Configuration="$(Configuration)" />
|
Configuration="$(Configuration)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
<ProjectName>Microsoft.DotNet.Cli.Utils.csproj</ProjectName>
|
<ProjectName>Microsoft.DotNet.Cli.Utils.csproj</ProjectName>
|
||||||
<IsTool>True</IsTool>
|
<IsTool>True</IsTool>
|
||||||
<IsApplicable>True</IsApplicable>
|
<IsApplicable>True</IsApplicable>
|
||||||
<VersionPrefix>$(CliVersionPrefix)-</VersionPrefix>
|
<VersionPrefix>$(CliVersionPrefix)</VersionPrefix>
|
||||||
<VersionSuffix>$(ReleaseSuffix)-$(TestPackageBuildVersionSuffix)</VersionSuffix>
|
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
|
||||||
<Clean>False</Clean>
|
<Clean>False</Clean>
|
||||||
<MsbuildArgs>/p:TargetFramework=netstandard1.5</MsbuildArgs>
|
<MsbuildArgs>/p:TargetFramework=netstandard1.5</MsbuildArgs>
|
||||||
</BaseTestPackageProject>
|
</BaseTestPackageProject>
|
||||||
|
|
Loading…
Reference in a new issue