-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2606 from tmat/RepoToolset
Migrates to RepoToolset infrastructure
- Loading branch information
Showing
2,716 changed files
with
8,578 additions
and
181,133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project> | ||
<Import Project="build\NuGet.props"/> | ||
<Import Project="build\Versions.props"/> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="RoslynTools.Microsoft.RepoToolset" Version="$(RoslynToolsMicrosoftRepoToolsetVersion)" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration> | ||
|
||
<RepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\'))</RepoRoot> | ||
<SignToolDataPath>$(RepoRoot)build\SignToolData.json</SignToolDataPath> | ||
<VersionsPropsPath>$(RepoRoot)build\Versions.props</VersionsPropsPath> | ||
|
||
<!-- | ||
RepoToolset props and targets are conditionally imported based on whether RepoToolsetDir is set or not | ||
to allow VS to load packages and perform automatic package restore. | ||
TODO: Remove once we can use a custom SDK (https://github.com/Microsoft/msbuild/issues/1493) | ||
--> | ||
<_RepoToolsetDir>$(NuGetPackageRoot)RoslynTools.Microsoft.RepoToolset\$(RoslynToolsMicrosoftRepoToolsetVersion)\tools\</_RepoToolsetDir> | ||
<RepoToolsetDir Condition="'$(BuildingInsideVisualStudio)' != 'true' or Exists('$(_RepoToolsetDir)')">$(_RepoToolsetDir)</RepoToolsetDir> | ||
|
||
<RepositoryUrl>https://github.com/dotnet/roslyn-project-system</RepositoryUrl> | ||
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl> | ||
|
||
<!-- Enables workaround for https://github.com/NuGet/Home/issues/4695. --> | ||
<RepoToolsetQuietRestore>true</RepoToolsetQuietRestore> | ||
|
||
<!-- All projects in this repository target the same framework --> | ||
<TargetFramework>net46</TargetFramework> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
|
||
<VSSDKTargetPlatformRegRootSuffix Condition="'$(RootSuffix)' != ''">$(RootSuffix)</VSSDKTargetPlatformRegRootSuffix> | ||
<VSSDKTargetPlatformRegRootSuffix Condition="'$(VSSDKTargetPlatformRegRootSuffix)' == ''">ProjectSystem</VSSDKTargetPlatformRegRootSuffix> | ||
|
||
<MoqPublicKey>0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7</MoqPublicKey> | ||
</PropertyGroup> | ||
|
||
<!-- | ||
TODO: Import layout props so that design-time build executed before package restore is finished doesn't | ||
product artifacts into wrong obj directories. Remove once we can use a custom SDK (https://github.com/Microsoft/msbuild/issues/1493) | ||
--> | ||
<Import Project="build\RepoToolset\ProjectLayout.props"/> | ||
</Project> |
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
powershell -ExecutionPolicy ByPass %~dp0build\Build.ps1 -test %* | ||
exit /b %ErrorLevel% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
powershell -ExecutionPolicy ByPass %~dp0Build.ps1 -restore -build -test -sign -pack -ci %* | ||
exit /b %ErrorLevel% |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project> | ||
<!-- Empty - to avoid importing Directory.Build.props in root --> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="..\Versions.props" /> | ||
<PropertyGroup> | ||
<TargetFramework>net46</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.DotNet.IBCMerge" Version="[$(MicrosoftDotNetIBCMergeVersion)]" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project> | ||
<PropertyGroup> | ||
<!-- Respect environment variable for the NuGet Packages Root if set; otherwise, use the current default location --> | ||
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == ''">$(NUGET_PACKAGES)</NuGetPackageRoot> | ||
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' == 'Windows_NT'">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> | ||
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' != 'Windows_NT'">$([System.Environment]::GetFolderPath(SpecialFolder.Personal))\.nuget\packages\</NuGetPackageRoot> | ||
<NuGetPackageRoot Condition="!HasTrailingSlash('$(NuGetPackageRoot)')">$(NuGetPackageRoot)\</NuGetPackageRoot> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project> | ||
<!-- | ||
Properties describing the layout of the repo specific to the current project. | ||
--> | ||
|
||
<Import Project="RepoLayout.props"/> | ||
|
||
<PropertyGroup> | ||
<OutDirName Condition="'$(OutDirName)' == ''">$(MSBuildProjectName)</OutDirName> | ||
<BaseOutputPath Condition="'$(BaseOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(ArtifactsBinDir)$(OutDirName)\'))</BaseOutputPath> | ||
<OutputPath>$(BaseOutputPath)</OutputPath> | ||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(ArtifactsObjDir)$(MSBuildProjectName)\'))</BaseIntermediateOutputPath> | ||
<IntermediateOutputPath>$(BaseIntermediateOutputPath)</IntermediateOutputPath> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project> | ||
<!-- | ||
Properties describing the layout of the repo. | ||
--> | ||
|
||
<PropertyGroup> | ||
<DotNetRoot>$(RepoRoot).dotnet\</DotNetRoot> | ||
<DotNetTool>$(DotNetRoot)dotnet.exe</DotNetTool> | ||
<ArtifactsDir>$(RepoRoot)artifacts\</ArtifactsDir> | ||
<ArtifactsConfigurationDir>$(ArtifactsDir)$(Configuration)\</ArtifactsConfigurationDir> | ||
<ArtifactsBinDir>$(ArtifactsConfigurationDir)bin\</ArtifactsBinDir> | ||
<ArtifactsObjDir>$(ArtifactsConfigurationDir)obj\</ArtifactsObjDir> | ||
<ArtifactsToolsetDir>$(ArtifactsDir)toolset\</ArtifactsToolsetDir> | ||
<ArtifactsTestResultsDir>$(ArtifactsConfigurationDir)TestResults\</ArtifactsTestResultsDir> | ||
<PackageOutputPath>$(ArtifactsConfigurationDir)packages\</PackageOutputPath> | ||
<VisualStudioSetupOutputPath>$(ArtifactsConfigurationDir)VSSetup\</VisualStudioSetupOutputPath> | ||
<VisualStudioSetupInsertionPath>$(VisualStudioSetupOutputPath)Insertion\</VisualStudioSetupInsertionPath> | ||
<VisualStudioSetupIntermediateOutputPath>$(ArtifactsConfigurationDir)VSSetup.obj\</VisualStudioSetupIntermediateOutputPath> | ||
</PropertyGroup> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"sign": [ | ||
{ | ||
"certificate": "MicrosoftSHA2", | ||
"strongName": "MsSharedLib72", | ||
"values": [ | ||
"bin/Dlls/Microsoft.VisualStudio.AppDesigner.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.AppDesigner.resources.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.Editors.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.Editors.resources.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.CSharp.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.CSharp.VS.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.ProjectSystem.CSharp.VS.resources.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.FSharp.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.FSharp.VS.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.ProjectSystem.FSharp.VS.resources.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.Managed.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.ProjectSystem.Managed.resources.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.Managed.VS.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.ProjectSystem.Managed.VS.resources.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.VisualBasic.dll", | ||
"bin/Dlls/Microsoft.VisualStudio.ProjectSystem.VisualBasic.VS.dll", | ||
"bin/Dlls/*/Microsoft.VisualStudio.ProjectSystem.VisualBasic.VS.resources.dll" | ||
] | ||
}, | ||
{ | ||
"certificate": "VsixSHA2", | ||
"strongName": null, | ||
"values": [ | ||
"VSSetup/Microsoft.NetCore.CSharp.ProjectTemplates.Test.vsix", | ||
"VSSetup/Microsoft.NetCore.CSharp.ProjectTemplates.vsix", | ||
"VSSetup/Microsoft.NetCore.FSharp.ProjectTemplates.Test.vsix", | ||
"VSSetup/Microsoft.NetCore.FSharp.ProjectTemplates.vsix", | ||
"VSSetup/Microsoft.NetCore.VB.ProjectTemplates.Test.vsix", | ||
"VSSetup/Microsoft.NetCore.VB.ProjectTemplates.vsix", | ||
"VSSetup/Microsoft.NetStandard.CSharp.ProjectTemplates.vsix", | ||
"VSSetup/Microsoft.NetStandard.FSharp.ProjectTemplates.vsix", | ||
"VSSetup/Microsoft.NetStandard.VB.ProjectTemplates.vsix", | ||
"VSSetup/ProjectSystem.vsix", | ||
"VSSetup/VisualStudioEditorsSetup.vsix" | ||
] | ||
} | ||
] | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.