Migrate to global.json
for .NET usage in our templates
#5009
Labels
Central-EngSys
This issue is owned by the Engineering System team.
Per @weshaggard's comment here:
3.1.405
to6.x
+ assorted changes #4916 (comment)We should migrate our usage of .NET to a solution based on global.json, and a pipeline definition like install-dotnet.yml, instead of relying on globals.yml template variables used to install .NET by our archetypes, as e.g. seen in
archetype-sdk-tool-dotnet.yml#L70
.Changes to be made
UseDotNet
task anywhere exceptinstall-net.yml
.archetype-
files to it.azure-sdk-for-net
install-net.yml
for applicability to our case, and if relevant, transplant it.msbuild-sdks
entry already present in ourglobal.json
.Additional details
azure-sdk-for-net
repoglobal.json
.install-dotnet.yml
refers to theglobal.json
on line 18 viauseGlobalJson
.install-dotnet.yml
is used in many pipeline definitions inpipelines/templates/steps
, as atemplate
.The text was updated successfully, but these errors were encountered: