![Matt Mitchell](/assets/img/avatar_default.png)
- Cherry pick the internal runtime download changes over - Cherry pick changes to the arcade SB template over (making the next update a noop and unblocking P7+) - Hoist out the variable groups and parameters needed for the internal download to the top level yaml file. - Remove the old DownloadFile task and replace this with the Arcade version. Specifically this allows us to remove set/use of the DOTNETCLIMSRC_READ_SAS_TOKEN environment variable and instead rely on that task's ability to decode and use a base64 encoded SAS token. The reason for the environment variable usage before was that the non-encoded SAS token was getting mangled by msbuild/bash/etc. on non-Windows OSs. - Update the source build tarball template with support for internal runtimes Update to source build template
43 lines
2.8 KiB
XML
43 lines
2.8 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- Tasks are multitargeted to support building in VS and with desktop MSBuild -->
|
|
<TaskTargetFramework>$(CoreSdkTargetFramework)</TaskTargetFramework>
|
|
<TaskTargetFramework Condition="'$(MSBuildRuntimeType)' != 'Core'">net472</TaskTargetFramework>
|
|
|
|
<CoreSdkTaskDll>$(ArtifactsDir)tasks\bin\core-sdk-tasks\$(Configuration)\$(TaskTargetFramework)\core-sdk-tasks.dll</CoreSdkTaskDll>
|
|
<CoreSdkTaskProject>$(RepoRoot)src\core-sdk-tasks\core-sdk-tasks.csproj</CoreSdkTaskProject>
|
|
</PropertyGroup>
|
|
<Target Name="BuildCoreSdkTasks" BeforeTargets="_CheckForInvalidConfigurationAndPlatform">
|
|
<!-- Use a different ArtifactsDir for this invocation so that the tasks project can be part of the solution
|
|
(for easy editing), but we don't hit problems with the tasks DLL being locked when we try to build the solution. -->
|
|
|
|
<MSBuild Projects="$(CoreSdkTaskProject)"
|
|
Properties="ArtifactsDir=$(ArtifactsDir)tasks\;Phase=Restore"
|
|
Targets="Restore"/>
|
|
|
|
<MSBuild Projects="$(CoreSdkTaskProject)"
|
|
Properties="ArtifactsDir=$(ArtifactsDir)tasks\"/>
|
|
</Target>
|
|
|
|
<UsingTask TaskName="CalculateTemplateVersions" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="DownloadFile" AssemblyFile="$(ArcadeSdkBuildTasksAssembly)" />
|
|
<UsingTask TaskName="ExtractArchiveToDirectory" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="ZipFileCreateFromDirectory" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="ZipFileExtractToDirectory" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="TarGzFileCreateFromDirectory" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="GenerateMsiVersionFromFullVersion" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="ReplaceFileContents" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="UpdateRuntimeConfig" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="Chmod" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="DotNetDebTool" AssemblyFile="$(CoreSdkTaskDll)" />
|
|
<UsingTask TaskName="BuildFPMToolPreReqs" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="GenerateDefaultRuntimeFrameworkVersion" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="AddMetadataIsPE" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="Crossgen" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="GetRuntimePackRids" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="GenerateMSBuildExtensionsSWR" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="GetLinuxNativeInstallerDependencyVersions" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="CollatePackageDownloads" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
<UsingTask TaskName="GenerateSdkRuntimeIdentifierChain" AssemblyFile="$(CoreSdkTaskDll)"/>
|
|
|
|
</Project>
|