Merged PR 799153: Remove net7 qualifier

Remove net7 qualifier
This commit is contained in:
Oleksii Kononenko 2024-08-09 00:15:26 +00:00
Родитель 8d63e43720
Коммит 53ff9ba1c9
33 изменённых файлов: 37 добавлений и 623 удалений

Просмотреть файл

@ -1,5 +1,4 @@
BuildXL.win-x64
BuildXL.win-x64-net7
BuildXL.Cache.Hashing
BuildXL.Cache.Interfaces
BuildXL.Cache.Tools

Просмотреть файл

@ -31,8 +31,6 @@ jobs:
/q:DebugNet472
/q:DebugDotNet6
/q:ReleaseDotNet6
/q:DebugNet7
/q:ReleaseNet7
/q:DebugNet8
/q:ReleaseNet8
/p:Build.BuildId=$(Build.BuildNumber)

Просмотреть файл

@ -1,4 +1,4 @@
@ECHO OFF
REM Copy the Hello.exe to Hello.copy.exe
copy bin\Debug\net7.0\Hello.exe bin\Debug\net7.0\Hello.copy.exe
copy bin\Debug\net8.0\Hello.exe bin\Debug\net8.0\Hello.copy.exe

Просмотреть файл

@ -12,8 +12,6 @@ export const framework : Shared.Framework = (() => {
return importFrom("Sdk.Managed.Frameworks.Net472").framework;
case "net6.0":
return importFrom("Sdk.Managed.Frameworks.Net6.0").framework;
case "net7.0":
return importFrom("Sdk.Managed.Frameworks.Net7.0").framework;
case "net8.0":
return importFrom("Sdk.Managed.Frameworks.Net8.0").framework;
case "netstandard2.0":

Просмотреть файл

@ -90,19 +90,6 @@ namespace Helpers {
Contract.fail(`The current DotNetCore Runtime package doesn't support the current target runtime: ${host.os}. Ensure you run on a supported OS -or- update the DotNet-Runtime package to have the version embdded.`);
}
}
else if (version === 'net7.0')
{
switch (host.os) {
case "win":
return importFrom("DotNet-Runtime-7.win-x64").extracted;
case "macOS":
return importFrom("DotNet-Runtime-7.osx-x64").extracted;
case "unix":
return importFrom("DotNet-Runtime-7.linux-x64").extracted;
default:
Contract.fail(`The current DotNetCore Runtime package doesn't support the current target runtime: ${host.os}. Ensure you run on a supported OS -or- update the DotNet-Runtime package to have the version embdded.`);
}
}
else if (version === 'net8.0')
{
switch (host.os) {
@ -126,13 +113,11 @@ namespace Helpers {
}
const tool6Template = getDotNetCoreToolTemplate("net6.0");
const tool7Template = getDotNetCoreToolTemplate("net7.0");
const tool8Template = getDotNetCoreToolTemplate("net8.0");
function getCachedDotNetCoreToolTemplate(dotNetCoreVersion: DotNetCoreVersion) {
switch (dotNetCoreVersion) {
case "net6.0": return tool6Template;
case "net7.0": return tool7Template;
case "net8.0": return tool8Template;
default: Contract.fail(`Unknown .NET Core version '${dotNetCoreVersion}'.`);
}

Просмотреть файл

@ -1,9 +0,0 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
module({
name: "Sdk.Managed.Frameworks.Net7.0",
projects: [
f`net7.0.dsc`,
]
});

Просмотреть файл

@ -1,106 +0,0 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import {Artifact, Cmd, Transformer} from "Sdk.Transformers";
import * as Shared from "Sdk.Managed.Shared";
import * as Deployment from "Sdk.Deployment";
import * as MacOS from "Sdk.MacOS";
import {Helpers} from "Sdk.Managed.Frameworks";
export declare const qualifier: {targetFramework: "net7.0"};
const defaultAssemblies: Shared.Assembly[] = createDefaultAssemblies();
const windowsRuntimeFiles = [
// Don't need to exclude assemblies for net7 because they're higher versions.
...importFrom("Microsoft.NETCore.App.Runtime.win-x64.7.0").Contents.all.getContent().filter(f => f.extension === a`.dll`),
...importFrom("runtime.win-x64.Microsoft.NETCore.DotNetHostResolver.7.0").Contents.all.getContent().filter(f => f.extension === a`.dll`),
...importFrom("runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy.7.0").Contents.all.getContent().filter(f => f.extension === a`.dll`),
];
const osxRuntimeFiles = [
...importFrom("Microsoft.NETCore.App.Runtime.osx-x64.7.0").Contents.all.getContent().filter(f => Helpers.macOSRuntimeExtensions(f)),
...importFrom("runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver.7.0").Contents.all.getContent().filter(f => Helpers.macOSRuntimeExtensions(f)),
...importFrom("runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy.7.0").Contents.all.getContent().filter(f => Helpers.macOSRuntimeExtensions(f)),
];
const linuxRuntimeFiles = [
...importFrom("Microsoft.NETCore.App.Runtime.linux-x64.7.0").Contents.all.getContent().filter(f => Helpers.linuxRuntimeExtensions(f)),
...importFrom("runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver.7.0").Contents.all.getContent().filter(f => Helpers.linuxRuntimeExtensions(f)),
...importFrom("runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy.7.0").Contents.all.getContent().filter(f => Helpers.linuxRuntimeExtensions(f)),
];
@@public
export function runtimeContentProvider(runtimeVersion: Shared.RuntimeVersion): File[] {
switch (runtimeVersion)
{
case "osx-x64":
return osxRuntimeFiles;
case "win-x64":
return windowsRuntimeFiles;
case "linux-x64":
return linuxRuntimeFiles;
default:
Contract.fail(`Unsupported runtime encountered: ${runtimeVersion}`);
}
}
export function crossgenProvider(runtimeVersion: Shared.RuntimeVersion): Shared.CrossgenFiles {
switch (runtimeVersion)
{
case "osx-x64":
const osxFiles = importFrom("Microsoft.NETCore.App.Runtime.osx-x64.7.0").Contents.all;
return {
crossgenExe: osxFiles.getFile(r`tools/crossgen`),
JITPath: osxFiles.getFile(r`runtimes/osx-x64/native/libclrjit.dylib`)
};
case "win-x64":
const winFiles = importFrom("Microsoft.NETCore.App.Runtime.win-x64.7.0").Contents.all;
return {
crossgenExe: winFiles.getFile(r`tools/crossgen.exe`),
JITPath: winFiles.getFile(r`runtimes/win-x64/native/clrjit.dll`)
};
default:
return undefined;
}
}
@@public
export const framework : Shared.Framework = {
targetFramework: qualifier.targetFramework,
supportedRuntimeVersion: "v7.0",
assemblyInfoTargetFramework: ".NETCoreApp,Version=v7.0",
assemblyInfoFrameworkDisplayName: ".NET App",
standardReferences: defaultAssemblies,
requiresPortablePdb: true,
runtimeConfigStyle: "runtimeJson",
runtimeFrameworkName: "Microsoft.NETCore.App",
runtimeConfigVersion: "7.0.0-rc.1.22426.10",
// Deployment style for .NET Core applications currently defaults to self-contained
defaultApplicationDeploymentStyle: "selfContained",
runtimeContentProvider: runtimeContentProvider,
crossgenProvider: crossgenProvider,
conditionalCompileDefines: [
"NET",
"NETCOREAPP",
"NETCOREAPP3_1_OR_GREATER",
"NET5_0_OR_GREATER",
"NET6_0",
"NET6_0_OR_GREATER",
"NET7_0",
"NET7_0_OR_GREATER"
],
};
function createDefaultAssemblies() : Shared.Assembly[] {
const pkgContents = importFrom("Microsoft.NETCore.App.Ref70").Contents.all;
// Don't need to exclude assemblies for net7 because they're higher versions.
return Helpers.createDefaultAssemblies(pkgContents, "net7.0", /*includeAllAssemblies*/ true);
}

Просмотреть файл

@ -74,11 +74,11 @@ export type ApplicationDeploymentStyle = "frameworkDependent" | "selfContained";
export type RuntimeVersion = "win-x64" | "osx-x64" | "linux-x64";
@@public
export type DotNetCoreVersion = "net6.0" | "net7.0" | "net8.0";
export type DotNetCoreVersion = "net6.0" | "net8.0";
@@public
export function isDotNetCore(targetFramework: TargetFrameworks.AllFrameworks) : targetFramework is DotNetCoreVersion {
return targetFramework === 'net6.0' || targetFramework === 'net7.0' || targetFramework === 'net8.0';
return targetFramework === 'net6.0' || targetFramework === 'net8.0';
}
namespace TargetFrameworks {
@ -89,7 +89,7 @@ namespace TargetFrameworks {
export type DesktopTargetFrameworks = "net472";
@@public
export type CoreClrTargetFrameworks = "net6.0" | "net7.0" | "net8.0";
export type CoreClrTargetFrameworks = "net6.0" | "net8.0";
@@public
export type StandardTargetFrameworks = "netstandard2.0";

Просмотреть файл

@ -58,7 +58,6 @@ function getXunitConsoleRuntimeConfigNetCoreAppFiles(): File[] {
function getTargetFramework(): Framework {
switch (qualifier.targetFramework) {
case "net6.0": return importFrom("Sdk.Managed.Frameworks.Net6.0").withQualifier({targetFramework: "net6.0"}).framework;
case "net7.0": return importFrom("Sdk.Managed.Frameworks.Net7.0").withQualifier({targetFramework: "net7.0"}).framework;
case "net8.0": return importFrom("Sdk.Managed.Frameworks.Net8.0").withQualifier({targetFramework: "net8.0"}).framework;
default: Contract.fail(`Unknown targetFramework version '${qualifier.targetFramework}'.`);
}

Просмотреть файл

@ -274,11 +274,6 @@ export function getDotNetCoreVersion(cscArguments: Arguments): Shared.DotNetCore
return "net8.0";
}
// Now we can check whether net7 symbol is present.
if (cscArguments.defines.some(e => e === "NET7_0")) {
return "net7.0";
}
return "net8.0";
}

Просмотреть файл

@ -80,7 +80,6 @@ export function assembly(args: Arguments, targetType: Csc.TargetType) : Result {
...addIf(qualifier.targetRuntime === "win-x64" && qualifier.targetFramework === "net472" && qualifier.configuration === "debug", "CompileDebugNet472", "CompileWin"),
...addIf(qualifier.targetRuntime === "win-x64" && qualifier.targetFramework === "netstandard2.0" && qualifier.configuration === "debug", "CompileNetStandard20", "CompileWin"),
...addIf(qualifier.targetRuntime === "win-x64" && qualifier.targetFramework === "net6.0" && qualifier.configuration === "debug", "CompileDebugNet6Win", "CompileWin"),
...addIf(qualifier.targetRuntime === "win-x64" && qualifier.targetFramework === "net7.0" && qualifier.configuration === "debug", "CompileDebugNet7Win", "CompileWin"),
...addIf(qualifier.targetRuntime === "win-x64" && qualifier.targetFramework === "net8.0" && qualifier.configuration === "debug", "CompileDebugNet8Win", "CompileWin"),
...addIf(qualifier.targetRuntime === "osx-x64" && qualifier.targetFramework === "net6.0" && qualifier.configuration === "debug", "CompileNet6Osx", "CompileOsx"),

Просмотреть файл

@ -19,7 +19,7 @@ export function addCredScanCalls(rootDirectory : Directory, guardianToolRoot : S
// Since "latest" is used as the version for the credscan tool, we will not know which directory to untrack ahead of time
const credScanToolDirectories = globFolders(d`${packageDirectory.path}/nuget`, "Microsoft.Security.CredScan.Client*");
const credScanTfms = ["netcoreapp2.1", "netcoreapp3.1", "net6.0", "net7.0", "net8.0"];
const credScanTfms = ["netcoreapp2.1", "netcoreapp3.1", "net6.0", "net8.0"];
const srmDirectories = credScanToolDirectories.mapMany(d => credScanTfms.map(tfm => Directory.fromPath(d.path.combine(r`lib/${tfm}/SRM`))));
for (let i = 0; i < numCredScanCalls; i++) {

Просмотреть файл

@ -133,13 +133,13 @@ export interface InternalsVisibleToArguments {
* Returns true if the current qualifier is targeting .NET Core or .NET Standard
*/
@@public
export const isDotNetCoreOrStandard : boolean = qualifier.targetFramework === "netstandard2.0" || qualifier.targetFramework === "net6.0" || qualifier.targetFramework === "net7.0" || qualifier.targetFramework === "net8.0";
export const isDotNetCoreOrStandard : boolean = qualifier.targetFramework === "netstandard2.0" || qualifier.targetFramework === "net6.0" || qualifier.targetFramework === "net8.0";
/**
* Returns true if the current qualifier is targeting .NET Core
*/
@@public
export const isDotNetCore : boolean = qualifier.targetFramework === "net6.0" || qualifier.targetFramework === "net7.0" || qualifier.targetFramework === "net8.0";
export const isDotNetCore : boolean = qualifier.targetFramework === "net6.0" || qualifier.targetFramework === "net8.0";
@@public
export const isFullFramework : boolean = qualifier.targetFramework === "net472";
@ -170,7 +170,7 @@ export const targetFrameworkMatchesCurrentHost =
export const restrictTestRunToSomeQualifiers =
qualifier.configuration !== "debug" ||
// Running tests for .NET Core App 3.0, .NET 5 and 4.7.2 frameworks only.
(qualifier.targetFramework !== "net6.0" && qualifier.targetFramework !== "net7.0" && qualifier.targetFramework !== "net8.0" && qualifier.targetFramework !== "net472") ||
(qualifier.targetFramework !== "net6.0" && qualifier.targetFramework !== "net8.0" && qualifier.targetFramework !== "net472") ||
!targetFrameworkMatchesCurrentHost;
/***
@ -908,9 +908,8 @@ function processArguments(args: Arguments, targetType: Csc.TargetType) : Argumen
polySharpAttributeFiles = polySharpAttributeFiles.concat([polySharpAttributes.isExternalInit]);
}
// Required members is needed for non .net7 target frameworks.
// Uncomment once the .net7 PR is in.
if (qualifier.targetFramework !== "net7.0" && qualifier.targetFramework !== "net8.0" && args.addPolySharpAttributes !== false) {
// Required members are needed for all target frameworks prior net7.
if (qualifier.targetFramework !== "net8.0" && args.addPolySharpAttributes !== false) {
polySharpAttributeFiles = polySharpAttributeFiles.concat([polySharpAttributes.required, polySharpAttributes.setsRequiredMembers, polySharpAttributes.compilerFeatureRequired, polySharpAttributes.stringSyntax]);
}

Просмотреть файл

@ -29,7 +29,7 @@ export interface NetStandardQualifier extends Qualifier {
@@public
export interface DefaultQualifier extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net6.0" | "net7.0" | "net8.0"; // Temporarily having 3 target frameworks until the migration to the new one is fully done.
targetFramework: "net6.0" | "net8.0"; // Temporarily having 2 target frameworks until the migration to the new one is fully done.
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@ -39,7 +39,7 @@ export interface DefaultQualifier extends Qualifier {
@@public
export interface DefaultQualifierWithNet472 extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net6.0" | "net7.0" | "net8.0" | "net472";
targetFramework: "net6.0" | "net8.0" | "net472";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@ -49,7 +49,7 @@ export interface DefaultQualifierWithNet472 extends Qualifier {
@@public
export interface DefaultQualifierWithNet472AndNetStandard20 extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net6.0" | "net7.0" | "net8.0" | "net472" | "netstandard2.0";
targetFramework: "net6.0" | "net8.0" | "net472" | "netstandard2.0";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@ -59,7 +59,7 @@ export interface DefaultQualifierWithNet472AndNetStandard20 extends Qualifier {
@@public
export interface AllSupportedQualifiers extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net6.0" | "net7.0" | "net8.0" | "net472" | "netstandard2.0";
targetFramework: "net6.0" | "net8.0" | "net472" | "netstandard2.0";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@ -75,14 +75,14 @@ export interface PlatformDependentQualifier extends Qualifier {
@@public
export interface NetCoreAppQualifier extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net6.0" | "net7.0" | "net8.0";
targetFramework: "net6.0" | "net8.0";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@@public
export interface NetCoreQualifier extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net6.0" | "net7.0" | "net8.0";
targetFramework: "net6.0" | "net8.0";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@ -93,13 +93,6 @@ export interface Net6Qualifier extends Qualifier {
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@@public
export interface Net7Qualifier extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net7.0";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
@@public
export interface Net8Qualifier extends Qualifier {
configuration: "debug" | "release";

Просмотреть файл

@ -98,7 +98,6 @@ function getQTestDotNetFramework() : Qtest.QTestDotNetFramework {
case "net472":
return Qtest.QTestDotNetFramework.framework46;
case "net6.0":
case "net7.0":
case "net8.0":
return Qtest.QTestDotNetFramework.frameworkCore30;
default:

Просмотреть файл

@ -10,7 +10,6 @@ namespace WebFramework {
return Shared.Factory.createFrameworkPackage(
importPackage(
() => importFrom("Microsoft.AspNetCore.App.Ref.6.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Ref.7.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Ref.8.0.0").pkg),
getRuntimePackage(),
a`${qualifier.targetRuntime}`,
@ -23,27 +22,23 @@ namespace WebFramework {
case "win-x64":
return importPackage(
() => importFrom("Microsoft.AspNetCore.App.Runtime.win-x64.6.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Runtime.win-x64.7.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Runtime.win-x64.8.0.0").pkg);
case "osx-x64":
return importPackage(
() => importFrom("Microsoft.AspNetCore.App.Runtime.osx-x64.6.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Runtime.osx-x64.7.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Runtime.osx-x64.8.0.0").pkg);
case "linux-x64":
return importPackage(
() => importFrom("Microsoft.AspNetCore.App.Runtime.linux-x64.6.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Runtime.linux-x64.7.0.0").pkg,
() => importFrom("Microsoft.AspNetCore.App.Runtime.linux-x64.8.0.0").pkg);
default:
Contract.fail("Unsupported target framework");
}
}
function importPackage(net60: () => Shared.ManagedNugetPackage, net70: () => Shared.ManagedNugetPackage, net80: () => Shared.ManagedNugetPackage) : Shared.ManagedNugetPackage {
function importPackage(net60: () => Shared.ManagedNugetPackage, net80: () => Shared.ManagedNugetPackage) : Shared.ManagedNugetPackage {
switch (qualifier.targetFramework) {
case "net6.0": return net60();
case "net7.0": return net70();
case "net8.0": return net80();
default: Contract.fail(`Unsupported target framework ${qualifier.targetFramework}.`);
}

Просмотреть файл

@ -1,7 +0,0 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import {createPublicDotNetRuntime} from "DotNet-Runtime.Common";
@@public
export const extracted = createPublicDotNetRuntime(importFrom("DotNet-Runtime.linux-x64.7.0").extracted, undefined);

Просмотреть файл

@ -1,7 +0,0 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import {createPublicDotNetRuntime} from "DotNet-Runtime.Common";
@@public
export const extracted = createPublicDotNetRuntime(importFrom("DotNet-Runtime.osx-x64.7.0").extracted, undefined);

Просмотреть файл

@ -1,10 +0,0 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import {createPublicDotNetRuntime} from "DotNet-Runtime.Common";
const isWinOs = Context.getCurrentHost().os === "win";
@@public
export const extracted = createPublicDotNetRuntime(
isWinOs ? <StaticDirectory>importFrom("DotNet-Runtime.win-x64.7.0").extracted : undefined, undefined);

Просмотреть файл

@ -1,19 +0,0 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// These are the external versions of the architecture-specific DotNet-Runtime packages.
module({
name: "DotNet-Runtime-7.win-x64",
projects: [f`DotNet-Runtime.win-x64.dsc`]
});
module({
name: "DotNet-Runtime-7.osx-x64",
projects: [f`DotNet-Runtime.osx-x64.dsc`]
});
module({
name: "DotNet-Runtime-7.linux-x64",
projects: [f`DotNet-Runtime.linux-x64.dsc`]
});

Просмотреть файл

@ -2,6 +2,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import * as Managed from "Sdk.Managed";
import {isDotNetCore} from "Sdk.Managed.Shared";
const sdkRoot = Context.getMount("SdkRoot").path;
@ -61,7 +62,7 @@ function createSdkDeploymentDefinition(serverDeployment: boolean, minimalDeploym
subfolder: "Sdk.Drop",
contents: [
importFrom("BuildXL.Tools.DropDaemon").withQualifier({
targetFramework: "net7.0",
targetFramework: isDotNetCore(qualifier.targetFramework) ? qualifier.targetFramework : "net8.0",
targetRuntime: "win-x64"
}).selectDeployment(evaluationOnly)
]
@ -69,17 +70,17 @@ function createSdkDeploymentDefinition(serverDeployment: boolean, minimalDeploym
{
subfolder: "Sdk.Symbols",
contents: [
importFrom("BuildXL.Tools.SymbolDaemon").withQualifier({
targetFramework: "net7.0",
targetRuntime: "win-x64"
}).selectDeployment(evaluationOnly)
importFrom("BuildXL.Tools.SymbolDaemon").withQualifier({
targetFramework: isDotNetCore(qualifier.targetFramework) ? qualifier.targetFramework : "net8.0",
targetRuntime: "win-x64"
}).selectDeployment(evaluationOnly)
]
},
{
subfolder: "Sdk.Materialization",
contents: [
importFrom("BuildXL.Tools.MaterializationDaemon").withQualifier({
targetFramework: "net7.0",
targetFramework: isDotNetCore(qualifier.targetFramework) ? qualifier.targetFramework : "net8.0",
targetRuntime: "win-x64"
}).selectDeployment(evaluationOnly)
]

Просмотреть файл

@ -32,11 +32,6 @@ namespace NugetPackages {
targetRuntime: "win-x64"
};
const net7PackageQualifier = {
targetFramework: "net7.0",
targetRuntime: "win-x64"
};
const net8PackageQualifier = {
targetFramework: "net8.0",
targetRuntime: "win-x64"
@ -61,11 +56,6 @@ namespace NugetPackages {
targetRuntime: "linux-x64"
};
const net7LinuxPackageQualifier = {
targetFramework: "net7.0",
targetRuntime: "linux-x64"
};
const net8LinuxPackageQualifier = {
targetFramework: "net8.0",
targetRuntime: "linux-x64"
@ -76,7 +66,6 @@ namespace NugetPackages {
const packageNamePrefix = BuildXLSdk.Flags.isMicrosoftInternal
? "BuildXL"
: "Microsoft.BuildXL";
/**
* The notice file compiles the license and copyright information for any code or other materials under open source licenses that we distribute in a Microsoft Offering.
@ -144,15 +133,6 @@ namespace NugetPackages {
filterFiles: [a`DetoursServices.pdb`, a`BuildXLAria.pdb`, a`BuildXLNatives.pdb`]
});
const winX64Net7 = !canBuildAllPackagesOnThisHost ? undefined : pack({
id: `${packageNamePrefix}.win-x64-net7`,
deployment: BuildXL.withQualifier(net7PackageQualifier).deployment,
deploymentOptions: reducedDeploymentOptions,
// The following PDBs are quite big and copied many times. Remove them from the nuget
// package to save some space.
filterFiles: [a`DetoursServices.pdb`, a`BuildXLAria.pdb`, a`BuildXLNatives.pdb`]
});
const osxX64 = pack({
id: `${packageNamePrefix}.osx-x64`,
deployment: BuildXL.withQualifier({
@ -171,12 +151,6 @@ namespace NugetPackages {
deploymentOptions: reducedDeploymentOptions
});
const linuxX64Net7 = pack({
id: `${packageNamePrefix}.linux-x64-net7`,
deployment: BuildXL.withQualifier(net7LinuxPackageQualifier).deployment,
deploymentOptions: reducedDeploymentOptions
});
const sdks = pack({
id: `${packageNamePrefix}.Sdks`,
deployment: Sdks.deployment,
@ -188,7 +162,6 @@ namespace NugetPackages {
assemblies: [
importFrom("BuildXL.Utilities.Instrumentation").AriaCommon.withQualifier(net472packageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").AriaCommon.withQualifier(net6PackageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").AriaCommon.withQualifier(net7PackageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").AriaCommon.withQualifier(net8PackageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").AriaCommon.withQualifier(netstandard20PackageQualifier).dll,
]
@ -200,49 +173,42 @@ namespace NugetPackages {
// BuildXL.Utilities
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).dll,
// BuildXL.Utilities.Branding
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Branding.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Branding.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Branding.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Branding.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).Branding.dll,
// BuildXL.KeyValueStore
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).KeyValueStore.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).KeyValueStore.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).KeyValueStore.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).KeyValueStore.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).KeyValueStore.dll,
// BuildXL.Native.Extensions
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Native.Extensions.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Native.Extensions.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Native.Extensions.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Native.Extensions.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).Native.Extensions.dll,
// BuildXL.Configuration
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Configuration.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Configuration.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Configuration.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Configuration.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).Configuration.dll,
// BuildXL.SBOMUtilities
...addIf(BuildXLSdk.Flags.isMicrosoftInternal,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).SBOMUtilities.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).SBOMUtilities.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).SBOMUtilities.dll
),
// BuildXL.Instrumentation.Tracing
importFrom("BuildXL.Utilities.Instrumentation").Tracing.withQualifier(net472packageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").Tracing.withQualifier(net6PackageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").Tracing.withQualifier(net7PackageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").Tracing.withQualifier(net8PackageQualifier).dll,
importFrom("BuildXL.Utilities.Instrumentation").Tracing.withQualifier(netstandard20PackageQualifier).dll,
@ -251,7 +217,6 @@ namespace NugetPackages {
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Authentication.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).Authentication.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Authentication.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Authentication.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Authentication.dll
),
],
@ -287,7 +252,6 @@ namespace NugetPackages {
// BuildXL.Utilities.Core
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Utilities.Core.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Utilities.Core.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Utilities.Core.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Utilities.Core.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).Utilities.Core.dll,
],
@ -300,7 +264,6 @@ namespace NugetPackages {
// BuildXL.Native
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Native.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Native.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Native.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Native.dll,
importFrom("BuildXL.Utilities").withQualifier(netstandard20PackageQualifier).Native.dll,
],
@ -318,19 +281,16 @@ namespace NugetPackages {
// BuildXL.Utilities
importFrom("BuildXL.Pips").withQualifier(net472packageQualifier).dll,
importFrom("BuildXL.Pips").withQualifier(net6PackageQualifier).dll,
importFrom("BuildXL.Pips").withQualifier(net7PackageQualifier).dll,
importFrom("BuildXL.Pips").withQualifier(net8PackageQualifier).dll,
// BuildXL.Ipc
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Ipc.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Ipc.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Ipc.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Ipc.dll,
// BuildXL.Storage
importFrom("BuildXL.Utilities").withQualifier(net472packageQualifier).Storage.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Storage.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Storage.dll,
importFrom("BuildXL.Utilities").withQualifier(net8PackageQualifier).Storage.dll,
],
dependencies: [
@ -357,7 +317,6 @@ namespace NugetPackages {
// BuildXL.Processes
importFrom("BuildXL.Engine").withQualifier(net472packageQualifier).Processes.dll,
importFrom("BuildXL.Engine").withQualifier(net6PackageQualifier).Processes.dll,
importFrom("BuildXL.Engine").withQualifier(net7PackageQualifier).Processes.dll,
importFrom("BuildXL.Engine").withQualifier(net8PackageQualifier).Processes.dll,
],
dependencies: [
@ -373,7 +332,6 @@ namespace NugetPackages {
id: { id: `${packageNamePrefix}.Processes.linux-x64`, version: Branding.Nuget.packageVersion },
assemblies: [
importFrom("BuildXL.Engine").withQualifier(net6LinuxPackageQualifier).Processes.dll,
importFrom("BuildXL.Engine").withQualifier(net7LinuxPackageQualifier).Processes.dll,
importFrom("BuildXL.Engine").withQualifier(net8LinuxPackageQualifier).Processes.dll,
],
dependencies: [
@ -406,15 +364,6 @@ namespace NugetPackages {
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net6PackageQualifier).ImplementationSupport.dll,
importFrom("BuildXL.Utilities").withQualifier(net6PackageQualifier).Storage.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).InMemory.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).Interfaces.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).BasicFilesystem.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).BuildCacheAdapter.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).MemoizationStoreAdapter.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).VerticalAggregator.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net7PackageQualifier).ImplementationSupport.dll,
importFrom("BuildXL.Utilities").withQualifier(net7PackageQualifier).Storage.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net8PackageQualifier).InMemory.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net8PackageQualifier).Interfaces.dll,
importFrom("BuildXL.Cache.VerticalStore").withQualifier(net8PackageQualifier).BasicFilesystem.dll,
@ -437,7 +386,7 @@ namespace NugetPackages {
// TODO: Update to use new cache packages to replace the ones above once consumers of this package switch over
// buildXLContentStoreHashingIdentity,
// buildXLContentStoreUtilitiesCoreIdentity,
// buildXLContentStoreInterfacesIdentity,
// buildXLMemoizationStoreInterfacesIdentity,
@ -468,10 +417,6 @@ namespace NugetPackages {
subfolder: r`net6.0`,
contents: [importFrom("BuildXL.Cache.DistributedCache.Host").withQualifier({ targetFramework: "net6.0", targetRuntime: "win-x64" }).LauncherServer.exe]
},
{
subfolder: r`net7.0`,
contents: [importFrom("BuildXL.Cache.DistributedCache.Host").withQualifier({ targetFramework: "net7.0", targetRuntime: "win-x64" }).LauncherServer.exe]
},
{
subfolder: r`net8.0`,
contents: [importFrom("BuildXL.Cache.DistributedCache.Host").withQualifier({ targetFramework: "net8.0", targetRuntime: "win-x64" }).LauncherServer.exe]
@ -777,12 +722,12 @@ namespace NugetPackages {
targetRuntime: "osx-x64"
}).deployment
});
const deployment : Deployment.Definition = {
contents: [
...addIfLazy(canBuildAllPackagesOnThisHost, () => [
...addIf(!BuildXLSdk.Flags.genVSSolution,
winX64, winX64Net7
winX64
),
cacheTools,
cacheLibraries,
@ -807,7 +752,6 @@ namespace NugetPackages {
]),
...addIfLazy(!BuildXLSdk.Flags.genVSSolution && Context.getCurrentHost().os === "unix", () => [
linuxX64,
linuxX64Net7,
processesLinux
]),
]

Просмотреть файл

@ -29,16 +29,6 @@ namespace Cache.NugetPackages {
const net6WinX64CacheLogging = importFrom("BuildXL.Cache.Logging").Library.withQualifier({ targetFramework: "net6.0", targetRuntime: "win-x64" });
const net6OsxX64CacheLogging = importFrom("BuildXL.Cache.Logging").Library.withQualifier({ targetFramework: "net6.0", targetRuntime: "osx-x64" });
// Net7
const net7WinX64ContentStore = importFrom("BuildXL.Cache.ContentStore").withQualifier({ targetFramework: "net7.0", targetRuntime: "win-x64" });
const net7OsxX64ContentStore = importFrom("BuildXL.Cache.ContentStore").withQualifier({ targetFramework: "net7.0", targetRuntime: "osx-x64" });
const net7WinX64MemoizationStore = importFrom("BuildXL.Cache.MemoizationStore").withQualifier({ targetFramework: "net7.0", targetRuntime: "win-x64" });
const net7OsxX64MemoizationStore = importFrom("BuildXL.Cache.MemoizationStore").withQualifier({ targetFramework: "net7.0", targetRuntime: "osx-x64" });
const net7WinX64DistributedCacheHost = importFrom("BuildXL.Cache.DistributedCache.Host").withQualifier({ targetFramework: "net7.0", targetRuntime: "win-x64" });
const net7OsxX64DistributedCacheHost = importFrom("BuildXL.Cache.DistributedCache.Host").withQualifier({ targetFramework: "net7.0", targetRuntime: "osx-x64" });
const net7WinX64CacheLogging = importFrom("BuildXL.Cache.Logging").Library.withQualifier({ targetFramework: "net7.0", targetRuntime: "win-x64" });
const net7OsxX64CacheLogging = importFrom("BuildXL.Cache.Logging").Library.withQualifier({ targetFramework: "net7.0", targetRuntime: "osx-x64" });
// Net8
const net8WinX64ContentStore = importFrom("BuildXL.Cache.ContentStore").withQualifier({ targetFramework: "net8.0", targetRuntime: "win-x64" });
const net8OsxX64ContentStore = importFrom("BuildXL.Cache.ContentStore").withQualifier({ targetFramework: "net8.0", targetRuntime: "osx-x64" });
@ -67,7 +57,6 @@ namespace Cache.NugetPackages {
net472ContentStore.Distributed.dll,
netStandardContentStore.Distributed.dll,
net6WinX64ContentStore.Distributed.dll,
net7WinX64ContentStore.Distributed.dll,
net8WinX64ContentStore.Distributed.dll,
];
@ -76,7 +65,6 @@ namespace Cache.NugetPackages {
net472ContentStore.Library.dll,
netStandardContentStore.Library.dll,
net6WinX64ContentStore.Library.dll,
net7WinX64ContentStore.Library.dll,
net8WinX64ContentStore.Library.dll,
];
@ -85,7 +73,6 @@ namespace Cache.NugetPackages {
net472ContentStore.Grpc.dll,
netStandardContentStore.Grpc.dll,
net6WinX64ContentStore.Grpc.dll,
net7WinX64ContentStore.Grpc.dll,
net8WinX64ContentStore.Grpc.dll,
];
@ -94,7 +81,6 @@ namespace Cache.NugetPackages {
net472ContentStore.Vsts.dll,
netStandardContentStore.Vsts.dll,
net6WinX64ContentStore.Vsts.dll,
net7WinX64ContentStore.Vsts.dll,
net8WinX64ContentStore.Vsts.dll,
];
@ -103,7 +89,6 @@ namespace Cache.NugetPackages {
net472ContentStore.VstsInterfaces.dll,
netStandardContentStore.VstsInterfaces.dll,
net6WinX64ContentStore.VstsInterfaces.dll,
net7WinX64ContentStore.VstsInterfaces.dll,
net8WinX64ContentStore.VstsInterfaces.dll,
];
@ -112,7 +97,6 @@ namespace Cache.NugetPackages {
net472MemoizationStore.Distributed.dll,
netStandardMemoizationStore.Distributed.dll,
net6WinX64MemoizationStore.Distributed.dll,
net7WinX64MemoizationStore.Distributed.dll,
net8WinX64MemoizationStore.Distributed.dll,
];
@ -121,7 +105,6 @@ namespace Cache.NugetPackages {
net472MemoizationStore.Library.dll,
netStandardMemoizationStore.Library.dll,
net6WinX64MemoizationStore.Library.dll,
net7WinX64MemoizationStore.Library.dll,
net8WinX64MemoizationStore.Library.dll,
];
@ -130,7 +113,6 @@ namespace Cache.NugetPackages {
net472MemoizationStore.Vsts.dll,
netStandardMemoizationStore.Vsts.dll,
net6WinX64MemoizationStore.Vsts.dll,
net7WinX64MemoizationStore.Vsts.dll,
net8WinX64MemoizationStore.Vsts.dll,
];
@ -139,7 +121,6 @@ namespace Cache.NugetPackages {
net472MemoizationStore.VstsInterfaces.dll,
netStandardMemoizationStore.VstsInterfaces.dll,
net6WinX64MemoizationStore.VstsInterfaces.dll,
net7WinX64MemoizationStore.VstsInterfaces.dll,
net8WinX64MemoizationStore.VstsInterfaces.dll,
];
@ -148,7 +129,6 @@ namespace Cache.NugetPackages {
net472DistributedCacheHost.Service.dll,
netStandardDistributedCacheHost.Service.dll,
net6WinX64DistributedCacheHost.Service.dll,
net7WinX64DistributedCacheHost.Service.dll,
net8WinX64DistributedCacheHost.Service.dll,
];
@ -157,7 +137,6 @@ namespace Cache.NugetPackages {
net472DistributedCacheHost.Configuration.dll,
netStandardDistributedCacheHost.Configuration.dll,
net6WinX64DistributedCacheHost.Configuration.dll,
net7WinX64DistributedCacheHost.Configuration.dll,
net8WinX64DistributedCacheHost.Configuration.dll,
];
@ -166,7 +145,6 @@ namespace Cache.NugetPackages {
net472CacheLogging.dll,
netStandardCacheLogging.dll,
net6WinX64CacheLogging.dll,
net7WinX64CacheLogging.dll,
net8WinX64CacheLogging.dll,
];
@ -175,7 +153,6 @@ namespace Cache.NugetPackages {
net472ContentStore.Interfaces.dll,
netStandardContentStore.Interfaces.dll,
net6WinX64ContentStore.Interfaces.dll,
net7WinX64ContentStore.Interfaces.dll,
net8WinX64ContentStore.Interfaces.dll,
];
@ -184,7 +161,6 @@ namespace Cache.NugetPackages {
net472MemoizationStore.Interfaces.dll,
netStandardMemoizationStore.Interfaces.dll,
net6WinX64MemoizationStore.Interfaces.dll,
net7WinX64MemoizationStore.Interfaces.dll,
net8WinX64MemoizationStore.Interfaces.dll,
];
@ -193,7 +169,6 @@ namespace Cache.NugetPackages {
net472ContentStore.Hashing.dll,
netStandardContentStore.Hashing.dll,
net6WinX64ContentStore.Hashing.dll,
net7WinX64ContentStore.Hashing.dll,
net8WinX64ContentStore.Hashing.dll,
];
@ -202,7 +177,6 @@ namespace Cache.NugetPackages {
net472ContentStore.UtilitiesCore.dll,
netStandardContentStore.UtilitiesCore.dll,
net6WinX64ContentStore.UtilitiesCore.dll,
net7WinX64ContentStore.UtilitiesCore.dll,
net8WinX64ContentStore.UtilitiesCore.dll,
];
@ -216,7 +190,6 @@ namespace Cache.NugetPackages {
importFrom("BuildXL.Cache.BuildCacheResource").Helper.withQualifier({ targetFramework: "net472", targetRuntime: "win-x64" }).dll,
importFrom("BuildXL.Cache.BuildCacheResource").Helper.withQualifier({ targetFramework: "netstandard2.0", targetRuntime: "win-x64" }).dll,
importFrom("BuildXL.Cache.BuildCacheResource").Helper.withQualifier({ targetFramework: "net6.0", targetRuntime: "win-x64" }).dll,
importFrom("BuildXL.Cache.BuildCacheResource").Helper.withQualifier({ targetFramework: "net7.0", targetRuntime: "win-x64" }).dll,
importFrom("BuildXL.Cache.BuildCacheResource").Helper.withQualifier({ targetFramework: "net8.0", targetRuntime: "win-x64" }).dll,
];
@ -228,8 +201,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.Distributed.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.Distributed.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.Distributed.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.Distributed.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.Distributed.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.Distributed.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.Distributed.dll, "osx-x64", false),
@ -238,8 +209,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.Library.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.Library.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.Library.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.Library.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.Library.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.Library.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.Library.dll, "osx-x64", false),
@ -248,8 +217,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.Grpc.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.Grpc.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.Grpc.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.Grpc.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.Grpc.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.Grpc.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.Grpc.dll, "osx-x64", false),
@ -259,8 +226,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.Vsts.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.Vsts.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.Vsts.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.Vsts.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.Vsts.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.Vsts.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.Vsts.dll, "osx-x64", false),
]),
@ -270,8 +235,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.VstsInterfaces.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.VstsInterfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.VstsInterfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.VstsInterfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.VstsInterfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.VstsInterfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.VstsInterfaces.dll, "osx-x64", false),
@ -280,8 +243,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardMemoizationStore.Distributed.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64MemoizationStore.Distributed.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64MemoizationStore.Distributed.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64MemoizationStore.Distributed.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64MemoizationStore.Distributed.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64MemoizationStore.Distributed.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64MemoizationStore.Distributed.dll, "osx-x64", false),
@ -290,8 +251,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardMemoizationStore.Library.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64MemoizationStore.Library.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64MemoizationStore.Library.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64MemoizationStore.Library.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64MemoizationStore.Library.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64MemoizationStore.Library.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64MemoizationStore.Library.dll, "osx-x64", false),
@ -301,8 +260,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardMemoizationStore.Vsts.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64MemoizationStore.Vsts.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64MemoizationStore.Vsts.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64MemoizationStore.Vsts.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64MemoizationStore.Vsts.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64MemoizationStore.Vsts.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64MemoizationStore.Vsts.dll, "osx-x64", false),
]),
@ -312,8 +269,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardMemoizationStore.VstsInterfaces.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64MemoizationStore.VstsInterfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64MemoizationStore.VstsInterfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64MemoizationStore.VstsInterfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64MemoizationStore.VstsInterfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64MemoizationStore.VstsInterfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64MemoizationStore.VstsInterfaces.dll, "osx-x64", false),
@ -322,8 +277,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardDistributedCacheHost.Service.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64DistributedCacheHost.Service.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64DistributedCacheHost.Service.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64DistributedCacheHost.Service.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64DistributedCacheHost.Service.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64DistributedCacheHost.Service.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64DistributedCacheHost.Service.dll, "osx-x64", false),
@ -332,8 +285,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardDistributedCacheHost.Configuration.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64DistributedCacheHost.Configuration.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64DistributedCacheHost.Configuration.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64DistributedCacheHost.Configuration.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64DistributedCacheHost.Configuration.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64DistributedCacheHost.Configuration.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64DistributedCacheHost.Configuration.dll, "osx-x64", false),
@ -342,8 +293,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardCacheLogging.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64CacheLogging.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64CacheLogging.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64CacheLogging.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64CacheLogging.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64CacheLogging.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64CacheLogging.dll, "osx-x64", false),
]
@ -356,8 +305,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.Interfaces.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.Interfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.Interfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.Interfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.Interfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.Interfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.Interfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayout(importFrom("BuildXL.Cache.ContentStore").Interfaces.withQualifier(
@ -369,8 +316,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardMemoizationStore.Interfaces.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64MemoizationStore.Interfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64MemoizationStore.Interfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64MemoizationStore.Interfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64MemoizationStore.Interfaces.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64MemoizationStore.Interfaces.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64MemoizationStore.Interfaces.dll, "osx-x64", false),
]
@ -383,8 +328,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.Hashing.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.Hashing.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.Hashing.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.Hashing.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.Hashing.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.Hashing.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.Hashing.dll, "osx-x64", false),
Nuget.createAssemblyLayout(importFrom("BuildXL.Cache.ContentStore").Hashing.withQualifier(
@ -396,8 +339,6 @@ namespace Cache.NugetPackages {
Nuget.createAssemblyLayout(netStandardContentStore.UtilitiesCore.dll),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6WinX64ContentStore.UtilitiesCore.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net6OsxX64ContentStore.UtilitiesCore.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7WinX64ContentStore.UtilitiesCore.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net7OsxX64ContentStore.UtilitiesCore.dll, "osx-x64", false),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8WinX64ContentStore.UtilitiesCore.dll, "win-x64", true),
Nuget.createAssemblyLayoutWithSpecificRuntime(net8OsxX64ContentStore.UtilitiesCore.dll, "osx-x64", false),
Nuget.createAssemblyLayout(importFrom("BuildXL.Cache.ContentStore").UtilitiesCore.withQualifier(

Просмотреть файл

@ -56,7 +56,7 @@ namespace MsBuild {
subfolder: r`tools`,
// For the dotnet case, we are only deploying the tool for net8
// TODO: Remove condition when we stop building for net6.0/net7.0
contents: [qualifier.targetFramework === "net6.0" || qualifier.targetFramework === "net7.0"
contents: [qualifier.targetFramework === "net6.0"
? importFrom("BuildXL.Tools").MsBuildGraphBuilder.withQualifier({targetFramework: "net8.0"}).deployment
: importFrom("BuildXL.Tools").MsBuildGraphBuilder.deployment],
}

Просмотреть файл

@ -59,7 +59,7 @@ namespace Test.MsBuild {
subfolder: a`tools`,
// For the dotnet case, we are only deploying the tool for net8
// TODO: Remove condition when we stop building for net6.0/net7.0
contents: [qualifier.targetFramework === "net6.0" || qualifier.targetFramework === "net7.0"
contents: [qualifier.targetFramework === "net6.0"
? importFrom("BuildXL.Tools").MsBuildGraphBuilder.withQualifier({targetFramework: "net8.0"}).deployment
: importFrom("BuildXL.Tools").MsBuildGraphBuilder.deployment]
},

Просмотреть файл

@ -135,15 +135,15 @@ export namespace DropDaemon {
name: "System.Text.Json",
publicKeyToken: "cc7b13ffcd2ddd51",
culture: "neutral",
oldVersion: "0.0.0.0-7.0.0.0",
newVersion: "7.0.0.0"
oldVersion: "0.0.0.0-8.0.0.0",
newVersion: "8.0.0.0"
},
{
name: "System.Text.Encodings.Web",
publicKeyToken: "cc7b13ffcd2ddd51",
culture: "neutral",
oldVersion: "0.0.0.0-7.0.0.0",
newVersion: "7.0.0.0"
oldVersion: "0.0.0.0-8.0.0.0",
newVersion: "8.0.0.0"
}
];
}

Просмотреть файл

@ -64,7 +64,6 @@ function getSymstoreX64Libs() : File[] {
switch (qualifier.targetFramework)
{
case "net6.0":
case "net7.0":
case "net8.0":
return importFrom("Microsoft.Windows.Debuggers.SymstoreInterop").Contents.all.getFiles(
[

Просмотреть файл

@ -42,9 +42,9 @@ Uses the LKG deployment to update the Dev deployment with Debug binaries
.EXAMPLE
.\bxl -DeployDev -DeployConfig "release" -DeployRuntime "net7.0"
.\bxl -DeployDev -DeployConfig "release" -DeployRuntime "net8.0"
Uses the LKG deployment to update the Dev deployment with net7.0 release binaries
Uses the LKG deployment to update the Dev deployment with net8.0 release binaries
.EXAMPLE
@ -322,7 +322,7 @@ if ($Vs -or $VsAll) {
}
else {
# by default (-vs) we build only .NET Core and only projects targeting one of the .NET Core frameworks
$AdditionalBuildXLArguments += "/q:Debug /vsTargetFramework:netstandard2.0 /vsTargetFramework:netstandard2.1 /vsTargetFramework:net7.0 /vsTargetFramework:net8.0";
$AdditionalBuildXLArguments += "/q:Debug /vsTargetFramework:netstandard2.0 /vsTargetFramework:netstandard2.1 /vsTargetFramework:net6.0 /vsTargetFramework:net8.0";
}
}

2
bxl.sh
Просмотреть файл

@ -167,7 +167,7 @@ function parseArgs() {
"/vs"
"/vsNew"
"/vsTargetFramework:net6.0"
"/vsTargetFramework:net7.0"
"/vsTargetFramework:net8.0"
"/vsTargetFramework:netstandard2.0"
"/vsTargetFramework:netstandard2.1")
shift

Просмотреть файл

@ -586,15 +586,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.AspNetCore.App.Ref",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -613,15 +604,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.AspNetCore.App.Runtime.linux-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -640,15 +622,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.AspNetCore.App.Runtime.osx-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -667,15 +640,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.AspNetCore.App.Runtime.win-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1414,15 +1378,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Host.linux-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1441,15 +1396,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Host.osx-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1468,15 +1414,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Host.win-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1504,15 +1441,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Ref",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1531,15 +1459,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Runtime.linux-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1558,15 +1477,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Runtime.osx-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1585,15 +1495,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.App.Runtime.win-x64",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1630,15 +1531,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.DotNetAppHost",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1666,15 +1558,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.DotNetHostPolicy",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1702,15 +1585,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.DotNetHostResolver",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -1729,15 +1603,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.Platforms",
"Version": "7.0.4"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -4402,15 +4267,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -4429,15 +4285,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -4546,15 +4393,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -4573,15 +4411,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -4654,15 +4483,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -4681,15 +4501,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "runtime.win-x64.Microsoft.NETCore.DotNetHostResolver",
"Version": "7.0.20"
}
}
},
{
"Component": {
"Type": "NuGet",

Просмотреть файл

@ -369,7 +369,6 @@ config({
// .NET Runtimes.
{ kind: "SourceResolver", modules: [f`Public\Sdk\SelfHost\Libraries\Dotnet-Runtime-6-External\module.config.dsc`] },
{ kind: "SourceResolver", modules: [f`Public\Sdk\SelfHost\Libraries\Dotnet-Runtime-7-External\module.config.dsc`] },
{ kind: "SourceResolver", modules: [f`Public\Sdk\SelfHost\Libraries\Dotnet-Runtime-8-External\module.config.dsc`] },
{
@ -404,26 +403,6 @@ config({
archiveType: "tgz",
},
// DotNet Core Runtime 7.0.20
{
moduleName: "DotNet-Runtime.win-x64.7.0",
url: "https://download.visualstudio.microsoft.com/download/pr/990ff1f7-b5df-4a80-a65e-7cff3a1a263c/f1a2f3cab0d1787618f7d8043e3a6827/dotnet-runtime-7.0.20-win-x64.zip",
hash: "VSO0:3BF65B86D8811BA2E65D53DED1EE0DF2BF49A195ED81F4A1324C9C06E8B14DAA00",
archiveType: "zip",
},
{
moduleName: "DotNet-Runtime.osx-x64.7.0",
url: "https://download.visualstudio.microsoft.com/download/pr/cbade9d9-be1e-46c0-9f90-13ba882965dc/31c86e8f4beaf0e5ad9ad35a408be7de/dotnet-runtime-7.0.20-osx-x64.tar.gz",
hash: "VSO0:B0D4908FCBC1E9AEF32E887E004B344E7034966BF10291CC8237A683B5FB986100",
archiveType: "tgz",
},
{
moduleName: "DotNet-Runtime.linux-x64.7.0",
url: "https://download.visualstudio.microsoft.com/download/pr/2c5981ff-0f0c-47ab-bff4-0ea4919b395b/cbfdfa7f35d133b0bdef87fa3830bfa0/dotnet-runtime-7.0.20-linux-x64.tar.gz",
hash: "VSO0:1ED0D63277280A7F9F26011CDF0A2040BE46787031BB0375D49547AD7833FF5800",
archiveType: "tgz",
},
// DotNet Core Runtime 6.0.32
{
moduleName: "DotNet-Runtime.win-x64.6.0.201",
@ -510,11 +489,6 @@ config({
targetFramework: "net8.0",
targetRuntime: "win-x64",
},
DebugNet7: {
configuration: "debug",
targetFramework: "net7.0",
targetRuntime: "win-x64",
},
DebugDotNet6: {
configuration: "debug",
targetFramework: "net6.0",
@ -556,11 +530,6 @@ config({
targetFramework: "net8.0",
targetRuntime: "win-x64",
},
ReleaseNet7: {
configuration: "release",
targetFramework: "net7.0",
targetRuntime: "win-x64",
},
ReleaseDotNet6: {
configuration: "release",
targetFramework: "net6.0",

Просмотреть файл

@ -8,9 +8,6 @@ const aspVersion = "8.0.0";
const asp6RefVersion = "6.0.32";
const asp6RuntimeVersion = "6.0.32";
const asp7RefVersion = "7.0.20";
const asp7RuntimeVersion = "7.0.20";
const asp8RefVersion = "8.0.7";
const asp8RuntimeVersion = "8.0.7";
@ -43,14 +40,6 @@ export const pkgs = [
{ id: "Microsoft.AspNetCore.App.Runtime.osx-x64", version: asp6RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.osx-x64.6.0.0",
filesToExclude: [r`runtimes/osx-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/osx-x64/lib/net6.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Ref", version: asp7RefVersion, alias: "Microsoft.AspNetCore.App.Ref.7.0.0" },
{ id: "Microsoft.AspNetCore.App.Runtime.win-x64", version: asp7RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.win-x64.7.0.0",
filesToExclude: [r`runtimes/win-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/win-x64/lib/net7.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.linux-x64", version: asp7RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.linux-x64.7.0.0",
filesToExclude: [r`runtimes/linux-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/linux-x64/lib/net7.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.osx-x64", version: asp7RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.osx-x64.7.0.0",
filesToExclude: [r`runtimes/osx-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/osx-x64/lib/net7.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Ref", version: asp8RefVersion, alias: "Microsoft.AspNetCore.App.Ref.8.0.0" },
{ id: "Microsoft.AspNetCore.App.Runtime.win-x64", version: asp8RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.win-x64.8.0.0",
filesToExclude: [r`runtimes/win-x64/lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/win-x64/lib/net8.0/Microsoft.Extensions.Logging.dll`] },

Просмотреть файл

@ -4,13 +4,11 @@
const coreVersion = "3.1.0";
const core50Version = "5.0.0";
const core60Version = "6.0.32";
const core70Version = "7.0.20";
const core80Version = "8.0.7";
// Microsoft.NETCore.Platforms has become out of sync with the rest of the packages that use core60Version
// Updaters of this file might want to try to restore the sync: for now we are using the latest version we can
const core60VersionPlatforms = "6.0.11";
const core70VersionPlatforms = "7.0.4";
const core80VersionPlatforms = "8.0.0-preview.7.23375.6";
const pkgVersion = "4.3.0";
@ -18,7 +16,6 @@ const pkgVersionNext = "4.7.0";
const pkgVersion5 = "5.0.0";
const pkgVersion6 = "6.0.0";
const pkgVersion6Preview = "6.0.0-preview.5.21301.5";
const pkgVersion7 = "7.0.0";
export const pkgs = [
@ -66,38 +63,6 @@ export const pkgs = [
{ id: "runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver", version: core60Version, alias: "runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver.6.0" },
{ id: "runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy", version: core60Version, alias: "runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy.6.0" },
// .NET 7
// .NET Core 7.0 Dependencies
{ id: "Microsoft.NETCore.App.Ref", version: core70Version, alias: "Microsoft.NETCore.App.Ref70" },
{ id: "Microsoft.NETCore.Platforms", version: core70VersionPlatforms, alias: "Microsoft.NETCore.Platforms.7.0" },
// .NET Core Self-Contained Deployment
{ id: "Microsoft.NETCore.DotNetHostResolver", version: core70Version, alias: "Microsoft.NETCore.DotNetHostResolver.7.0" },
{ id: "Microsoft.NETCore.DotNetHostPolicy", version: core70Version, alias: "Microsoft.NETCore.DotNetHostPolicy.7.0" },
{ id: "Microsoft.NETCore.DotNetAppHost", version: core70Version, alias: "Microsoft.NETCore.DotNetAppHost.7.0" },
// .NET Core win-x64 runtime deps
{ id: "Microsoft.NETCore.App.Host.win-x64", version: core70Version, osSkip: [ "macOS", "unix" ], alias: "Microsoft.NETCore.App.Host.win-x64.7.0" },
{ id: "Microsoft.NETCore.App.Runtime.win-x64", version: core70Version, osSkip: [ "macOS", "unix" ], alias: "Microsoft.NETCore.App.Runtime.win-x64.7.0" },
{ id: "runtime.win-x64.Microsoft.NETCore.DotNetHostResolver", version: core70Version, osSkip: [ "macOS", "unix" ], alias: "runtime.win-x64.Microsoft.NETCore.DotNetHostResolver.7.0" },
{ id: "runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy", version: core70Version, osSkip: [ "macOS", "unix" ], alias: "runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy.7.0" },
// .NET Core osx-x64 runtime deps
{ id: "Microsoft.NETCore.App.Host.osx-x64", version: core70Version, alias: "Microsoft.NETCore.App.Host.osx-x64.7.0" },
{ id: "Microsoft.NETCore.App.Runtime.osx-x64", version: core70Version, alias: "Microsoft.NETCore.App.Runtime.osx-x64.7.0"},
{ id: "runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver", version: core70Version, alias: "runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver.7.0" },
{ id: "runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy", version: core70Version, alias: "runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy.7.0" },
// .NET Core linux-x64 runtime deps
{ id: "Microsoft.NETCore.App.Runtime.linux-x64", version: core70Version, alias: "Microsoft.NETCore.App.Runtime.linux-x64.7.0" },
{ id: "Microsoft.NETCore.App.Host.linux-x64", version: core70Version, alias: "Microsoft.NETCore.App.Host.linux-x64.7.0" },
{ id: "runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver", version: core70Version, alias: "runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver.7.0" },
{ id: "runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy", version: core70Version, alias: "runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy.7.0" },
// .NET 8
// .NET Core 8.0 Dependencies
@ -286,9 +251,3 @@ export const pkgs = [
{ id: "System.Security.Cryptography.OpenSsl", version: "4.4.0" },
{ id: "System.Collections.Immutable", version: "8.0.0" },
];