Merge pull request #5820 from dotnet/dev/jgoshi/refactorPackage
Refactor props in package directory
This commit is contained in:
commit
22fcc35797
7 changed files with 160 additions and 169 deletions
|
@ -2,5 +2,19 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<InstallerOutputDirectory>$(PackagesDirectory)</InstallerOutputDirectory>
|
<InstallerOutputDirectory>$(PackagesDirectory)</InstallerOutputDirectory>
|
||||||
<SdkInstallerFile>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk)$(InstallerExtension)</SdkInstallerFile>
|
<SdkInstallerFile>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk)$(InstallerExtension)</SdkInstallerFile>
|
||||||
|
<CombinedFrameworkSdkHostInstallerFile>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension)</CombinedFrameworkSdkHostInstallerFile>
|
||||||
|
|
||||||
|
<SdkDebianIntermediateDirectory>$(IntermediateDirectory)/debian/sdk</SdkDebianIntermediateDirectory>
|
||||||
|
<LayoutDirectory Condition=" '$(OSName)' == 'ubuntu' ">$(SdkDebianIntermediateDirectory)/debianLayoutDirectory</LayoutDirectory>
|
||||||
|
<LayoutDirectory Condition=" '$(OSName)' != 'ubuntu' ">$(IntermediateDirectory)/layouts</LayoutDirectory>
|
||||||
|
<SdkLayoutOutputDirectory>$(LayoutDirectory)/$(ArtifactNameSdk)</SdkLayoutOutputDirectory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Consumed By Publish -->
|
||||||
|
<ItemGroup>
|
||||||
|
<GeneratedInstallers Condition=" '$(OSName)' == 'ubuntu' "
|
||||||
|
Include="$(SdkInstallerFile)" />
|
||||||
|
<GeneratedInstallers Condition=" '$(OSName)' != 'ubuntu' "
|
||||||
|
Include="$(SdkInstallerFile);$(CombinedFrameworkSdkHostInstallerFile)" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ArchiveOutputDirectory>$(PackagesDirectory)</ArchiveOutputDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="GenerateArchives"
|
<Target Name="GenerateArchives"
|
||||||
DependsOnTargets="Init;
|
DependsOnTargets="Init;
|
||||||
Layout;
|
Layout;
|
||||||
|
@ -32,10 +36,6 @@
|
||||||
|
|
||||||
<Target Name="SetupGenerateArchivesInputsOutputs"
|
<Target Name="SetupGenerateArchivesInputsOutputs"
|
||||||
DependsOnTargets="Init">
|
DependsOnTargets="Init">
|
||||||
<PropertyGroup>
|
|
||||||
<ArchiveOutputDirectory>$(PackagesDirectory)</ArchiveOutputDirectory>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<GenerateArchivesInputsOutputs Include="%(LayoutDefinition.Name)">
|
<GenerateArchivesInputsOutputs Include="%(LayoutDefinition.Name)">
|
||||||
<Inputs>%(LayoutDefinition.OutputFiles)</Inputs>
|
<Inputs>%(LayoutDefinition.OutputFiles)</Inputs>
|
||||||
|
|
|
@ -3,11 +3,8 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SdkDebianPackageVersion>$(SdkVersion)</SdkDebianPackageVersion>
|
<SdkDebianPackageVersion>$(SdkVersion)</SdkDebianPackageVersion>
|
||||||
<SdkDebianPackageName>dotnet-dev-$(SdkDebianPackageVersion)</SdkDebianPackageName>
|
<SdkDebianPackageName>dotnet-dev-$(SdkDebianPackageVersion)</SdkDebianPackageName>
|
||||||
<SdkDebianIntermediateDirectory>$(IntermediateDirectory)/debian/sdk</SdkDebianIntermediateDirectory>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="SetupDebProps"
|
|
||||||
DependsOnTargets="Init">
|
|
||||||
<!-- dotnet deb-tool -->
|
<!-- dotnet deb-tool -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<DotnetDebToolPackageId>dotnet-deb-tool</DotnetDebToolPackageId>
|
<DotnetDebToolPackageId>dotnet-deb-tool</DotnetDebToolPackageId>
|
||||||
|
@ -17,15 +14,6 @@
|
||||||
<DotnetDebToolPackageSource Condition=" '$(DotnetDebToolPackageSource)' == '' "></DotnetDebToolPackageSource>
|
<DotnetDebToolPackageSource Condition=" '$(DotnetDebToolPackageSource)' == '' "></DotnetDebToolPackageSource>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<DotnetDebToolProjectJsonLines Include="{" />
|
|
||||||
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"version": "1.0.0-*"," />
|
|
||||||
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"name": "$(DotnetDebToolConsumerProjectName)"," />
|
|
||||||
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"frameworks": { "netcoreapp1.0": {}, "netcoreapp1.1": {} }," />
|
|
||||||
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"tools": {"$(DotnetDebToolPackageId)": "$(DotnetDebToolVersion)" }" />
|
|
||||||
<DotnetDebToolProjectJsonLines Include="}" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<!-- constants -->
|
<!-- constants -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<DebianInstalledDirectory>/usr/share/dotnet</DebianInstalledDirectory>
|
<DebianInstalledDirectory>/usr/share/dotnet</DebianInstalledDirectory>
|
||||||
|
@ -62,11 +50,6 @@
|
||||||
<CLISdkRoot>$(Stage2Directory)/sdk</CLISdkRoot>
|
<CLISdkRoot>$(Stage2Directory)/sdk</CLISdkRoot>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<CLISdkFiles Include="$(CLISdkRoot)/**/*" />
|
|
||||||
<SdkDebManPageFiles Include="$(ManpagesDirectory)/**/*" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<!-- Output Directories -->
|
<!-- Output Directories -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<DotNetDebToolOutputDirectory>$(SdkDebianIntermediateDirectory)/deb-tool-output</DotNetDebToolOutputDirectory>
|
<DotNetDebToolOutputDirectory>$(SdkDebianIntermediateDirectory)/deb-tool-output</DotNetDebToolOutputDirectory>
|
||||||
|
@ -75,7 +58,6 @@
|
||||||
|
|
||||||
<!-- Layout Directories -->
|
<!-- Layout Directories -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LayoutDirectory>$(SdkDebianIntermediateDirectory)/debianLayoutDirectory</LayoutDirectory>
|
|
||||||
<LayoutPackageRootDir>$(LayoutDirectory)/$(LayoutPackageRootDirName)</LayoutPackageRootDir>
|
<LayoutPackageRootDir>$(LayoutDirectory)/$(LayoutPackageRootDirName)</LayoutPackageRootDir>
|
||||||
<LayoutAbsolutePlacementDir>$(LayoutDirectory)/$(LayoutAbsolutePlacementDirName)</LayoutAbsolutePlacementDir>
|
<LayoutAbsolutePlacementDir>$(LayoutDirectory)/$(LayoutAbsolutePlacementDirName)</LayoutAbsolutePlacementDir>
|
||||||
<LayoutSamplesDir>$(LayoutDirectory)/$(LayoutSamplesDirName)</LayoutSamplesDir>
|
<LayoutSamplesDir>$(LayoutDirectory)/$(LayoutSamplesDirName)</LayoutSamplesDir>
|
||||||
|
@ -89,6 +71,22 @@
|
||||||
<DebianConfigJsonFile>$(LayoutDirectory)/debian_config.json</DebianConfigJsonFile>
|
<DebianConfigJsonFile>$(LayoutDirectory)/debian_config.json</DebianConfigJsonFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="SetupDebProps"
|
||||||
|
DependsOnTargets="Init">
|
||||||
|
<ItemGroup>
|
||||||
|
<DotnetDebToolProjectJsonLines Include="{" />
|
||||||
|
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"version": "1.0.0-*"," />
|
||||||
|
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"name": "$(DotnetDebToolConsumerProjectName)"," />
|
||||||
|
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"frameworks": { "netcoreapp1.0": {}, "netcoreapp1.1": {} }," />
|
||||||
|
<DotnetDebToolProjectJsonLines Include="%20%20%20%20"tools": {"$(DotnetDebToolPackageId)": "$(DotnetDebToolVersion)" }" />
|
||||||
|
<DotnetDebToolProjectJsonLines Include="}" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<CLISdkFiles Include="$(CLISdkRoot)/**/*" />
|
||||||
|
<SdkDebManPageFiles Include="$(ManpagesDirectory)/**/*" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
<DebianConfigTokenValues Include="%SHARED_FRAMEWORK_DEBIAN_PACKAGE_NAME%">
|
||||||
<ReplacementString>$(SharedFxDebianPackageName)</ReplacementString>
|
<ReplacementString>$(SharedFxDebianPackageName)</ReplacementString>
|
||||||
|
@ -106,9 +104,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<TestSdkDebTaskEnvironmentVariables Include="PATH=$(DebianInstalledDirectory)$(PathListSeparator)$(PATH)" />
|
<TestSdkDebTaskEnvironmentVariables Include="PATH=$(DebianInstalledDirectory)$(PathListSeparator)$(PATH)" />
|
||||||
|
|
||||||
<!-- Consumed By Publish -->
|
|
||||||
<GeneratedInstallers Include="$(SdkInstallerFile)" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Target Name="MsiTargetsSetupInputOutputs" DependsOnTargets="Init">
|
|
||||||
<!-- AcquireWix Properties -->
|
<!-- AcquireWix Properties -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<WixVersion>3.10.2</WixVersion>
|
<WixVersion>3.10.2</WixVersion>
|
||||||
|
@ -18,22 +17,23 @@
|
||||||
<SdkGenerateBundlePowershellScript>$(RepoRoot)/packaging/windows/clisdk/generatebundle.ps1</SdkGenerateBundlePowershellScript>
|
<SdkGenerateBundlePowershellScript>$(RepoRoot)/packaging/windows/clisdk/generatebundle.ps1</SdkGenerateBundlePowershellScript>
|
||||||
<SdkGenerateNupkgPowershellScript>$(RepoRoot)/packaging/windows/clisdk/generatenupkg.ps1</SdkGenerateNupkgPowershellScript>
|
<SdkGenerateNupkgPowershellScript>$(RepoRoot)/packaging/windows/clisdk/generatenupkg.ps1</SdkGenerateNupkgPowershellScript>
|
||||||
|
|
||||||
<CombinedFrameworkSdkHostInstallerFile>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension)</CombinedFrameworkSdkHostInstallerFile>
|
|
||||||
<SdkInstallerNuspecFile>$(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.$(Architecture).nuspec</SdkInstallerNuspecFile>
|
<SdkInstallerNuspecFile>$(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.$(Architecture).nuspec</SdkInstallerNuspecFile>
|
||||||
<SdkInstallerNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg</SdkInstallerNupkgFile>
|
<SdkInstallerNupkgFile>$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg</SdkInstallerNupkgFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Test Sdk MSI Properties -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<SdkTestMsiPowershellScript>$(RepoRoot)/test/Installer/testmsi.ps1</SdkTestMsiPowershellScript>
|
||||||
|
<SdkMsiTestedSentinel>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk).MsiTested.sentinel</SdkMsiTestedSentinel>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="MsiTargetsSetupInputOutputs" DependsOnTargets="Init">
|
||||||
<!-- Generate SDK MSI Inputs -->
|
<!-- Generate SDK MSI Inputs -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<GenerateSdkMsiInputs Include="$(SdkLayoutOutputDirectory)/**/*;
|
<GenerateSdkMsiInputs Include="$(SdkLayoutOutputDirectory)/**/*;
|
||||||
$(SdkGenerateMsiPowershellScript)" />
|
$(SdkGenerateMsiPowershellScript)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Consumed By Publish -->
|
|
||||||
<ItemGroup>
|
|
||||||
<GeneratedInstallers Include="$(SdkInstallerFile);$(CombinedFrameworkSdkHostInstallerFile)" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<GenerateMsiVersion CommitCount="$(CommitCount)"
|
<GenerateMsiVersion CommitCount="$(CommitCount)"
|
||||||
VersionMajor="$(VersionMajor)"
|
VersionMajor="$(VersionMajor)"
|
||||||
VersionMinor="$(VersionMinor)"
|
VersionMinor="$(VersionMinor)"
|
||||||
|
@ -51,12 +51,6 @@
|
||||||
<Output TaskParameter="OutputGuid"
|
<Output TaskParameter="OutputGuid"
|
||||||
PropertyName="CombinedFrameworkSDKHostInstallerUpgradeCode" />
|
PropertyName="CombinedFrameworkSDKHostInstallerUpgradeCode" />
|
||||||
</GenerateGuidFromName>
|
</GenerateGuidFromName>
|
||||||
|
|
||||||
<!-- Test Sdk MSI Properties -->
|
|
||||||
<PropertyGroup>
|
|
||||||
<SdkTestMsiPowershellScript>$(RepoRoot)/test/Installer/testmsi.ps1</SdkTestMsiPowershellScript>
|
|
||||||
<SdkMsiTestedSentinel>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk).MsiTested.sentinel</SdkMsiTestedSentinel>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="AcquireWix"
|
<Target Name="AcquireWix"
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Target Name="SetupPkgInputsOutputs">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PkgIntermediateDirectory>$(IntermediateDirectory)/pkgs/$(SdkVersion)</PkgIntermediateDirectory>
|
<PkgIntermediateDirectory>$(IntermediateDirectory)/pkgs/$(SdkVersion)</PkgIntermediateDirectory>
|
||||||
|
|
||||||
<CombinedFrameworkSdkHostInstallerFile>$(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension)</CombinedFrameworkSdkHostInstallerFile>
|
|
||||||
|
|
||||||
<!-- Properties for pkg build -->
|
<!-- Properties for pkg build -->
|
||||||
<SharedHostComponentId>com.microsoft.dotnet.sharedhost.$(SharedHostVersion).component.osx.x64</SharedHostComponentId>
|
<SharedHostComponentId>com.microsoft.dotnet.sharedhost.$(SharedHostVersion).component.osx.x64</SharedHostComponentId>
|
||||||
<HostFxrComponentId>com.microsoft.dotnet.hostfxr.$(HostFxrVersion).component.osx.x64</HostFxrComponentId>
|
<HostFxrComponentId>com.microsoft.dotnet.hostfxr.$(HostFxrVersion).component.osx.x64</HostFxrComponentId>
|
||||||
|
@ -36,6 +33,7 @@
|
||||||
<AdditionalHostFxrPkgIntermediatePath>$(PkgIntermediateDirectory)/$(AdditionalHostFxrComponentId).pkg</AdditionalHostFxrPkgIntermediatePath>
|
<AdditionalHostFxrPkgIntermediatePath>$(PkgIntermediateDirectory)/$(AdditionalHostFxrComponentId).pkg</AdditionalHostFxrPkgIntermediatePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="SetupPkgInputsOutputs">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<DistributionTemplateReplacement Include="{SharedFxComponentId}">
|
<DistributionTemplateReplacement Include="{SharedFxComponentId}">
|
||||||
<ReplacementString>$(SharedFrameworkComponentId)</ReplacementString>
|
<ReplacementString>$(SharedFrameworkComponentId)</ReplacementString>
|
||||||
|
@ -84,11 +82,6 @@
|
||||||
</DistributionTemplateReplacement>
|
</DistributionTemplateReplacement>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Consumed By Publish -->
|
|
||||||
<ItemGroup>
|
|
||||||
<GeneratedInstallers Include="$(SdkInstallerFile);$(CombinedFrameworkSdkHostInstallerFile)" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<GenerateSdkPkgInputs Include="$(SdkLayoutOutputDirectory)/**/*" />
|
<GenerateSdkPkgInputs Include="$(SdkLayoutOutputDirectory)/**/*" />
|
||||||
<GenerateSdkPkgInputs Include="$(SdkPkgScriptsDirectory)/**/*" />
|
<GenerateSdkPkgInputs Include="$(SdkPkgScriptsDirectory)/**/*" />
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Target DependsOnTargets="Init" Name="SetupLayoutInputsOutputs" >
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LayoutDirectory>$(IntermediateDirectory)/layouts</LayoutDirectory>
|
|
||||||
|
|
||||||
<SdkLayoutOutputDirectory>$(LayoutDirectory)/$(ArtifactNameSdk)</SdkLayoutOutputDirectory>
|
|
||||||
<SdkDebugLayoutOutputDirectory>$(LayoutDirectory)/$(ArtifactNameSdkDebug)</SdkDebugLayoutOutputDirectory>
|
<SdkDebugLayoutOutputDirectory>$(LayoutDirectory)/$(ArtifactNameSdkDebug)</SdkDebugLayoutOutputDirectory>
|
||||||
<CombinedHostHostFxrFrameworkSdkOutputDirectory>$(LayoutDirectory)/$(ArtifactNameCombinedHostHostFxrFrameworkSdk)</CombinedHostHostFxrFrameworkSdkOutputDirectory>
|
<CombinedHostHostFxrFrameworkSdkOutputDirectory>$(LayoutDirectory)/$(ArtifactNameCombinedHostHostFxrFrameworkSdk)</CombinedHostHostFxrFrameworkSdkOutputDirectory>
|
||||||
<CombinedFrameworkSdkOutputDirectory>$(LayoutDirectory)/$(ArtifactNameCombinedFrameworkSdk)</CombinedFrameworkSdkOutputDirectory>
|
<CombinedFrameworkSdkOutputDirectory>$(LayoutDirectory)/$(ArtifactNameCombinedFrameworkSdk)</CombinedFrameworkSdkOutputDirectory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target DependsOnTargets="Init" Name="SetupLayoutInputsOutputs" >
|
||||||
<!-- Set up Items with Layout Input Files -->
|
<!-- Set up Items with Layout Input Files -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<SdkLayoutInput Include="$(OutputDirectory)/sdk/**/*" />
|
<SdkLayoutInput Include="$(OutputDirectory)/sdk/**/*" />
|
||||||
|
|
|
@ -1,16 +1,14 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
|
||||||
<Target Name="SetupProjectsToPack"
|
|
||||||
DependsOnTargets="Init">
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectsSrcDirectory>$(RepoRoot)/src</ProjectsSrcDirectory>
|
|
||||||
<PackagingBuildBasePath>$(Stage2CompilationDirectory)/forPackaging</PackagingBuildBasePath>
|
<PackagingBuildBasePath>$(Stage2CompilationDirectory)/forPackaging</PackagingBuildBasePath>
|
||||||
<NupkgOutputDirectory>$(PackagesDirectory)</NupkgOutputDirectory>
|
<NupkgOutputDirectory>$(PackagesDirectory)</NupkgOutputDirectory>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="SetupProjectsToPack"
|
||||||
|
DependsOnTargets="Init">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectsToPack Include="$(ProjectsSrcDirectory)/Microsoft.DotNet.Cli.Utils" >
|
<ProjectsToPack Include="$(SrcDirectory)/Microsoft.DotNet.Cli.Utils" >
|
||||||
<ProjectName>Microsoft.DotNet.Cli.Utils</ProjectName>
|
<ProjectName>Microsoft.DotNet.Cli.Utils</ProjectName>
|
||||||
<Version>$(SdkNugetVersion)</Version>
|
<Version>$(SdkNugetVersion)</Version>
|
||||||
</ProjectsToPack>
|
</ProjectsToPack>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue