Skip to content

Commit cded2e1

Browse files
committed
Correct File Licensing Info
Files here should be licensed under the .NET Foundation, not Microsoft Corporation.
1 parent 92c29e8 commit cded2e1

File tree

72 files changed

+275
-332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+275
-332
lines changed

Documentation/contributing.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The team marks the most straightforward issues as "up for grabs". This set of is
1818
Contribution "Bar"
1919
------------------
2020

21-
Project maintainers will merge changes that improve the product significantly and broadly and that align with the [.NET Core roadmap](https://github.com/dotnet/core/blob/main/roadmap.md).
21+
Project maintainers will merge changes that improve the product significantly and broadly and that align with the [.NET Core roadmap](https://github.com/dotnet/core/blob/main/roadmap.md).
2222

2323
Maintainers will not merge changes that have narrowly-defined benefits, due to compatibility risk. The .NET Core codebase is used by several Microsoft products (for example, ASP.NET Core, .NET Framework 4.x, Windows Universal Apps) to enable execution of managed code. Other companies are building products on top of .NET Core, too. We may revert changes if they are found to be breaking.
2424

@@ -44,7 +44,7 @@ Please do:
4444

4545
Please do not:
4646

47-
* **DON'T** make PRs for style changes.
47+
* **DON'T** make PRs for style changes.
4848
* **DON'T** surprise us with big pull requests. Instead, file an issue and start
4949
a discussion so we can agree on a direction before you invest a large amount
5050
of time.
@@ -93,9 +93,9 @@ The following file header is the used for .NET Core. Please use it for new files
9393

9494
```
9595
/*---------------------------------------------------------------------------------------------
96-
* Copyright (c) Microsoft Corporation. All rights reserved.
97-
* Licensed under the MIT License. See License.txt in the project root for license information.
98-
*--------------------------------------------------------------------------------------------*/
96+
* Licensed to the .NET Foundation under one or more agreements.
97+
* The .NET Foundation licenses this file to you under the MIT license.
98+
*--------------------------------------------------------------------------------------------*/
9999
```
100100

101101
- See [extension.ts](../vscode-dotnet-runtime-library/src/extension.ts) for an example of the header in a TypeScript file.

sample/src/extension.ts

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import * as cp from 'child_process';
76
import * as path from 'path';
87
import * as vscode from 'vscode';
@@ -113,7 +112,7 @@ ${stderr}`);
113112
vscode.window.showErrorMessage((error as Error).toString());
114113
}
115114
});
116-
115+
117116
const sampleDotnetUninstallAllRegistration = vscode.commands.registerCommand('sample.dotnet.uninstallAll', async () => {
118117
try {
119118
await vscode.commands.executeCommand('dotnet.uninstallAll');
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*---------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
*--------------------------------------------------------------------------------------------*/
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
55

66
export const dotnetCoreAcquisitionExtensionId = 'ms-dotnettools.vscode-dotnet-runtime';

vscode-dotnet-runtime-extension/src/extension.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import * as cp from 'child_process';
76
import * as fs from 'fs';
87
import open = require('open');

vscode-dotnet-runtime-extension/src/test/functional/DotnetCoreAcquisitionExtension.test.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as chai from 'chai';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as chai from 'chai';
65
import * as fs from 'fs';
76
import * as path from 'path';
87
import * as rimraf from 'rimraf';

vscode-dotnet-runtime-extension/src/test/functional/index.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as glob from 'glob';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as glob from 'glob';
65
import * as Mocha from 'mocha';
76
import * as path from 'path';
87

vscode-dotnet-runtime-extension/src/test/functional/runTest.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import * as path from 'path';
76

87
import { runTests } from 'vscode-test';

vscode-dotnet-runtime-library/src/Acquisition/AcquisitionInvoker.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as cp from 'child_process';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as cp from 'child_process';
65
import * as isOnline from 'is-online';
76
import * as os from 'os';
87
import { IEventStream } from '../EventStream/EventStream';

vscode-dotnet-runtime-library/src/Acquisition/DotnetCoreAcquisitionWorker.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as fs from 'fs';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as fs from 'fs';
65
import * as os from 'os';
76
import * as path from 'path';
87
import rimraf = require('rimraf');

vscode-dotnet-runtime-library/src/Acquisition/DotnetCoreDependencyInstaller.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as cp from 'child_process';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as cp from 'child_process';
65
import * as fs from 'fs';
76
import * as path from 'path';
87
import { which } from 'shelljs';

vscode-dotnet-runtime-library/src/Acquisition/ExistingPathResolver.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import { IWindowDisplayWorker } from '../EventStream/IWindowDisplayWorker';
76
import { IDotnetAcquireResult } from '../IDotnetAcquireResult';
87
import { IExistingPath } from '../IExtensionContext';

vscode-dotnet-runtime-library/src/Acquisition/IAcquisitionInvoker.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import { IEventStream } from '../EventStream/EventStream';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import { IEventStream } from '../EventStream/EventStream';
65
import { IDotnetInstallationContext } from './IDotnetInstallationContext';
76
import { IInstallationValidator } from './IInstallationValidator';
87
import { InstallationValidator } from './InstallationValidator';

vscode-dotnet-runtime-library/src/Acquisition/IAcquisitionWorkerContext.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import { IDotnetAcquireContext } from '..';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import { IDotnetAcquireContext } from '..';
65
import { IEventStream } from '../EventStream/EventStream';
76
import { IExtensionState } from '../IExtensionState';
87
import { IAcquisitionInvoker } from './IAcquisitionInvoker';

vscode-dotnet-runtime-library/src/Acquisition/IDotnetCoreAcquisitionWorker.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import { IDotnetAcquireResult } from '../IDotnetAcquireResult';
76

87
export interface IDotnetCoreAcquisitionWorker {

vscode-dotnet-runtime-library/src/Acquisition/IDotnetInstallationContext.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
export interface IDotnetInstallationContext {
76
installDir: string;
87
version: string;

vscode-dotnet-runtime-library/src/Acquisition/IInstallScriptAcquisitionWorker.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*---------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
*--------------------------------------------------------------------------------------------*/
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
55

66
export interface IInstallScriptAcquisitionWorker {
77
getDotnetInstallScriptPath(): Promise<string>;

vscode-dotnet-runtime-library/src/Acquisition/IInstallationDirectoryProvider.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as path from 'path';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as path from 'path';
65

76
export abstract class IInstallationDirectoryProvider {
87
constructor(protected storagePath: string) { }

vscode-dotnet-runtime-library/src/Acquisition/IInstallationValidator.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import { IEventStream } from '../EventStream/EventStream';
76

87
export abstract class IInstallationValidator {

vscode-dotnet-runtime-library/src/Acquisition/IVersionResolver.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
export interface IVersionResolver {
76
getFullRuntimeVersion(version: string): Promise<string>;
87
getFullSDKVersion(version: string): Promise<string>;

vscode-dotnet-runtime-library/src/Acquisition/InstallScriptAcquisitionWorker.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*---------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
*--------------------------------------------------------------------------------------------*/
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
55
import * as eol from 'eol';
66
import * as fs from 'fs';
77
import * as os from 'os';

vscode-dotnet-runtime-library/src/Acquisition/InstallationValidator.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
import * as fs from 'fs';
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/import * as fs from 'fs';
65
import * as path from 'path';
76
import {
87
DotnetInstallationValidated,

vscode-dotnet-runtime-library/src/Acquisition/RuntimeInstallationDirectoryProvider.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
/* --------------------------------------------------------------------------------------------
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
4-
* ------------------------------------------------------------------------------------------ */
5-
1+
/*---------------------------------------------------------------------------------------------
2+
* Licensed to the .NET Foundation under one or more agreements.
3+
* The .NET Foundation licenses this file to you under the MIT license.
4+
*--------------------------------------------------------------------------------------------*/
65
import * as path from 'path';
76
import { IInstallationDirectoryProvider } from './IInstallationDirectoryProvider';
87

0 commit comments

Comments
 (0)