dbcd83075c
* Creating and publishing '*.symbols.nuget' to the blob feed. * Reverting 'generatenupkg' methodology. * Fixing formatting... * Overwrite should = 'false' * Second draft - Creating and publishing '*.symbols.nuget' to the blob feed. * Fixing a VS auto-update. * Removing the 'Microsoft.SymbolUploader.Build.Task' modifications; need to make a PR just for this. * Change "sdk.*.Microsoft.DotNet.SDK.*.symbols.nupkg" to "runtime.*.Microsoft.DotNet.SDK.*.symbols.nupkg"; removing the 'DotNetRestore' on the Symbols.csproj * Removing a 'todo' comment... * Putting back the 'dotnet restore' * Fixing a typo... * Logical separation of the 'nupkg' from the 'symbols.nupkg' enumeration; fixed 'swr' pattern. * Add "BLOBFEED_STORAGE_CONTAINER"
44 lines
1.7 KiB
XML
44 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<PackagingBuildBasePath>$(CompilationDirectory)/forPackaging</PackagingBuildBasePath>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="SetupProjectsToPack"
|
|
DependsOnTargets="Init">
|
|
<ItemGroup>
|
|
<ProjectsToPack Include="$(SrcDirectory)/Microsoft.DotNet.Cli.Utils" >
|
|
<ProjectName>Microsoft.DotNet.Cli.Utils</ProjectName>
|
|
<Version>$(SdkNugetVersion)</Version>
|
|
<IncludeSymbols>False</IncludeSymbols>
|
|
</ProjectsToPack>
|
|
<ProjectsToPack Include="$(SrcDirectory)/Microsoft.DotNet.MSBuildSdkResolver" >
|
|
<ProjectName>Microsoft.DotNet.MSBuildSdkResolver</ProjectName>
|
|
<Version>$(SdkNugetVersion)</Version>
|
|
<IncludeSymbols>True</IncludeSymbols>
|
|
</ProjectsToPack>
|
|
</ItemGroup>
|
|
</Target>
|
|
|
|
<Target Name="GenerateNugetPackages"
|
|
DependsOnTargets="Init; SetupProjectsToPack">
|
|
|
|
<DotNetPack NoBuild="True"
|
|
IncludeSymbols="%(ProjectsToPack.IncludeSymbols)"
|
|
Output="$(PackagesDirectory)"
|
|
ProjectPath="%(ProjectsToPack.Identity)/%(ProjectsToPack.ProjectName).csproj"
|
|
ToolPath="$(PreviousStageDirectory)"
|
|
VersionSuffix="$(VersionSuffix)"
|
|
Configuration="$(Configuration)" />
|
|
</Target>
|
|
|
|
<Target Name="BuildProjectsForNuGetPackages"
|
|
DependsOnTargets="Init; SetupProjectsToPack">
|
|
|
|
<MakeDir Directories="$(PackagingBuildBasePath)" />
|
|
|
|
<DotNetBuild ToolPath="$(PreviousStageDirectory)"
|
|
Configuration="$(Configuration)"
|
|
ProjectPath="%(ProjectsToPack.Identity)/%(ProjectsToPack.ProjectName).csproj" />
|
|
</Target>
|
|
</Project>
|