-
Notifications
You must be signed in to change notification settings - Fork 386
Move RepoToolset into arcade #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alexperovich
merged 102 commits into
dotnet:master
from
alexperovich:alperovi/portRepoToolset
Jul 3, 2018
Merged
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
ed1ead8
RepoToolset
tmat e60de13
Use desktop msbuild for signing
tmat 017d655
Add support for building VSIXes
tmat 238f00f
Support testing without dotnet cli
tmat 0ccbfa9
Set NoBuild=true for NuGet packing
tmat 5523a1a
TestResults dir and DeployExtension
tmat bec94a4
Don't create TestResults dir
tmat 6ff1bb4
Run GenerateNuspecProperties before GenerateNuspec targets
tmat 2db9075
Fix NuspecBasePath value
tmat a664b63
PublicSign regardless of BuildProject value
tmat 6e2ba9e
Workaround for lack of support for satallite assembly public signing
tmat e073f72
RepoToolset v19
tmat de1141b
Add GenerateResxSource task
tmat 5ffd6d0
Add a link to a workitem
tmat c0001c9
Add $(VisualStudioSetupComponent) back
tmat 3a7206a
Added nuget.exe to gitignore, fixed Build.proj whitespace issues.
333fred b9f4abe
Added Rebuild.
333fred c0cdadc
RepoToolset v21
tmat 8182294
RepoToolset v22
tmat 264ce08
v25
tmat c87f335
RepoToolset v27
tmat 0e42f8e
Set default version of XliffBuild to 0.2.0-beta-000053
tmat d76fdac
Remove extra backslash in paths
tmat 3de64cf
Fix signing: always public sign
tmat 799986a
Remove Swix validation, it's not reliable on MicroBuild.
tmat eba8222
Misc improvements to Test target
tmat 284975e
Workaround for Pack target bug in 15.1
tmat 805ede2
Use lower-cased package names
tmat 8e5a059
Use VSIX version 42.42.42.42 when building locally
tmat 29e7b26
Implement quiet restore workaround
tmat f45d97a
Allow customization of bin out subdir
tmat 88fcabc
Delete .error.log files of passing test projects
tmat 2f776c1
Avoid using MicroBuild plugin loader
tmat 49323ab
Pass msbuild path to signtool to avoid locating VS
tmat a15786e
Fix file and vsix versions in CI build
tmat 8230cdd
Pack insertion VSIXes before signing
tmat 66ac4ec
Fix vsman hash calculation
tmat a09738e
Build of swix packages during Build phase, not Pack
tmat d402264
Use vswhere to locate msbuild used for signing
tmat 54c84ab
RepoToolset v38
tmat ba81f2d
Add package reference to MicroBuild
tmat c78f447
v40
tmat baa132b
enable F# support
brettfo 71e72a8
don't do F# code generation; it's handled by the F# build tasks
brettfo 2479e3f
adding PostCompileBinaryModification so the ApplyOptimizations task runs
jmarolf ee75d83
adding comment
jmarolf 1214e5c
Add support for SymStore, PDB conversion, and including Portable PDBs…
tmat 24092ea
Couple of style fixes.
tmat f894f48
Updating the repo toolset props/targets to be part of 'MSBuildAllProj…
tannergooding 7453c67
Ensure DOTNET_INSTALL_DIR is respected, if set.
tannergooding 67ab2fd
Ensure that 'ProjectLanguage' is set.
tannergooding 2a6bc82
Updating C# NoWarn to include the SDK defaults, if NoWarn is not alre…
tannergooding 85d7b84
Reorganizing the default versions.
tannergooding c90d247
Adding support for the netcore toolset compiler.
tannergooding 5e5226f
Dropping support for the netcore compiler toolset, as it is not RTM r…
tannergooding d42e5a4
Removing the ProjectLanguage properties.
tannergooding 5cfc858
Updating NoWarn to not be optional.
tannergooding 888565e
Actually creating PostCompileBinaryModificationSentinelFile variable
jmarolf 82768e5
add auto-generated IVT file to F#'s CompileBefore collection
brettfo 2c5a97b
SourceLink and PathMap
tmat 6d0ec51
DebugType defaults
tmat 7476b91
More tweaks, v48
tmat 170a61c
Updating repo-toolset to use the correct dotnet host name on non-windows
tannergooding b90cb57
Fix comment
tmat f41a477
Implement PipeBuild overrides
tmat d39974f
Merge xunit stderr and stdout into .log file
tmat 879057e
Adding the ability to pass additional parameters to the test runner c…
tannergooding 27e6e07
Updating Test.props to consider .Tests projects as Unit Tests
tannergooding 063ea2f
NuGet restore sources
tmat bf1ba26
Use Pdb2Pdb by default
tmat ed2f9ae
Delete nuget.config
tmat 0dc57ad
Updating _TestRunnerCommand so we don't get an error on Linux.
tannergooding 64c2218
PipeBuild publishing
tmat 047318f
Eliminate RepoRestoreSources
tmat 05be434
Update DefaultVersions.props
tmat 23ada64
Sign after Pack
tmat 1d1aaf5
RepoToolset v55
tmat 39e9dde
56
tmat c9035cd
57
tmat 2c72249
Implement DotNetPackageVersionPropsPath
tmat 5ce1512
58
tmat ec515f7
Update PDB converter
tmat 6de8e7d
Move to RepoToolset
tmat 15fec75
Restructure RepoToolset build tasks
tmat 0a0c3c3
Fix versioning
tmat 6bac833
Update to RT 1.0.0-beta2-63011-02
tmat 4d15aa2
Allow pre-release dependencies (#274)
tmat d2178c3
Update RT versions to 1.0.0-beta2-63011-06
tmat 231df73
Fix parameter name
tmat 6371b22
Move BuildTasks into RepoToolset
alexperovich e22cde0
Move RoslynTools and BuildTasks into subdirectory
alexperovich 20ea860
Move RoslynTools.RepoToolset into Arcade
alexperovich fd3a925
Use Arcade.Sdk from feed
alexperovich 0e23d84
Merge branch 'master' into alperovi/portRepoToolset
alexperovich f3ee557
Remove generated package files
alexperovich 0576b9a
PR Feedback
alexperovich 8881700
Merge branch 'master' into alperovi/portRepoToolset
alexperovich 1de7362
Update MSBuild packages versions and switch to net461
alexperovich ea164c9
Remove unneeded package references.
alexperovich 5089c2a
Remove any
alexperovich 5b2257d
Update SignToolData
alexperovich 2754e7e
Update SignToolData
alexperovich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,61 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <PackageType>MSBuildSdk</PackageType> | ||
| <IncludeBuildOutput>false</IncludeBuildOutput> | ||
| <IsPackable>true</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <!-- | ||
| Default to including all *.props and *.targets files | ||
| from the project directory into the nuget package root | ||
| --> | ||
| <ItemGroup Condition="'$(EnableDefaultItems)' != 'false'"> | ||
| <None Condition="'$(EnableDefaultNoneItems)' != 'false'" | ||
| Include="**/*.props;**/*.targets" Pack="true"> | ||
| <PackagePath>%(RecursiveDir)%(Filename)%(Extension)</PackagePath> | ||
| </None> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong. |
||
| <!-- | ||
| Update all PackageReference and ProjectReference Items to have | ||
| PrivateAssets="All" and default Publish to true | ||
| This removes the dependency nodes from the generated nuspec and | ||
| forces the publish output to contain the dlls. | ||
| --> | ||
| <PackageReference Update="@(PackageReference)"> | ||
| <PrivateAssets>All</PrivateAssets> | ||
| <Publish Condition=" '%(PackageReference.Publish)' != 'false' ">true</Publish> | ||
| </PackageReference> | ||
| <ProjectReference Update="@(ProjectReference)"> | ||
| <PrivateAssets>All</PrivateAssets> | ||
| <Publish Condition=" '%(ProjectReference.Publish)' != 'false' ">true</Publish> | ||
| </ProjectReference> | ||
| <!-- | ||
| Update all Reference items to have Pack="false" | ||
| This removes the frameworkDependency nodes from the generated nuspec | ||
| --> | ||
| <Reference Update="@(Reference)"> | ||
| <Pack>false</Pack> | ||
| </Reference> | ||
| </ItemGroup> | ||
|
|
||
| <!-- | ||
| if $(IncludePublishOutput) it not 'false' add Publish as a dependency to Pack | ||
| and include TfmSpecificPackageFile items for all published files | ||
| --> | ||
| <PropertyGroup Condition="'$(IncludePublishOutput)' != 'false'"> | ||
| <TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);CollectAssets</TargetsForTfmSpecificContentInPackage> | ||
| </PropertyGroup> | ||
| <Target Name="CollectAssets" DependsOnTargets="Publish"> | ||
| <ItemGroup> | ||
| <TfmSpecificPackageFile Include="@(ResolvedFileToPublish->'$([MSBuild]::NormalizeDirectory($(PublishDir)))%(RelativePath)')"> | ||
| <PackagePath>tools/$(TargetFramework)/%(ResolvedFileToPublish.RelativePath)</PackagePath> | ||
| </TfmSpecificPackageFile> | ||
| </ItemGroup> | ||
| </Target> | ||
| </Project> | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
34 changes: 34 additions & 0 deletions
34
src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj
This file contains hidden or 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,34 @@ | ||
| <!-- 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"> | ||
| <PropertyGroup> | ||
| <TargetFrameworks>net461;netcoreapp2.0</TargetFrameworks> | ||
This comment was marked as spam.
Sorry, something went wrong. |
||
|
|
||
| <ExcludeFromSourceBuild>false</ExcludeFromSourceBuild> | ||
|
|
||
| <IsPackable>true</IsPackable> | ||
|
|
||
| <Description>Common toolset for repositories</Description> | ||
| <PackageTags>Roslyn Build Repository Toolset MSBuild SDK</PackageTags> | ||
| <DevelopmentDependency>true</DevelopmentDependency> | ||
|
|
||
| <EnableDefaultNoneItems>false</EnableDefaultNoneItems> | ||
| <EnableGeneratedPackageContent>false</EnableGeneratedPackageContent> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" Publish="false" /> | ||
| <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" Publish="false" /> | ||
| <PackageReference Include="System.Net.Http" Version="$(SystemNetHttpVersion)" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <None Include="sdk/Sdk.props;sdk/Sdk.targets" Pack="true"> | ||
| <PackagePath>sdk/%(Filename)%(Extension)</PackagePath> | ||
| </None> | ||
| <None Include="tools/*.*" Pack="true"> | ||
| <PackagePath>tools/%(Filename)%(Extension)</PackagePath> | ||
| </None> | ||
| </ItemGroup> | ||
|
|
||
| <Import Project="$(RepoRoot)eng\Sdk.targets" /> | ||
| </Project> | ||
This file contains hidden or 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,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- 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> | ||
| <MSBuildAllProjects>$(MSBuildThisFileFullPath);$(MSBuildAllProjects)</MSBuildAllProjects> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <!-- | ||
| When the bootstrapper script initializes a repo it restores an empty project that imports the toolset SDK. | ||
| It invokes WriteToolsetLocation target with __ToolsetLocationOutputFile set to the path where the location of | ||
| SDK Build.proj entry point is to be stored. Suppress all other imports for that project. | ||
| --> | ||
| <_SuppressSdkImports>false</_SuppressSdkImports> | ||
| <_SuppressSdkImports Condition="'$(__ToolsetLocationOutputFile)' != ''">true</_SuppressSdkImports> | ||
| </PropertyGroup> | ||
|
|
||
| <Import Project="..\tools\Settings.props" Condition="!$(_SuppressSdkImports)" /> | ||
|
|
||
| </Project> |
This file contains hidden or 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,30 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!-- 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> | ||
| <MSBuildAllProjects>$(MSBuildThisFileFullPath);$(MSBuildAllProjects)</MSBuildAllProjects> | ||
| </PropertyGroup> | ||
|
|
||
| <!-- | ||
| If a project specifies ExcludeFromSourceBuild=true during a source build suppress all targets and emulate a no-op | ||
| (empty common targets like Restore, Build, Pack, etc.). | ||
| --> | ||
| <PropertyGroup> | ||
| <_SuppressAllTargets>false</_SuppressAllTargets> | ||
| <_SuppressAllTargets Condition="'$(DotNetBuildFromSource)' == 'true' and '$(ExcludeFromSourceBuild)' == 'true'">true</_SuppressAllTargets> | ||
| </PropertyGroup> | ||
|
|
||
| <!-- | ||
| Output the location of the Build.proj so that the build driver can find where it was restored. | ||
| Ideally we would have msbuild API to do that for an SDK: https://github.com/Microsoft/msbuild/issues/2992 | ||
| --> | ||
| <Target Name="__WriteToolsetLocation" Outputs="$(__ToolsetLocationOutputFile)" Condition="'$(__ToolsetLocationOutputFile)' != ''"> | ||
| <WriteLinesToFile File="$(__ToolsetLocationOutputFile)" Lines="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\tools\Build.proj'))" Overwrite="true"/> | ||
| <ItemGroup> | ||
| <FileWrites Include="$(__ToolsetLocationOutputFile)" /> | ||
| </ItemGroup> | ||
| </Target> | ||
|
|
||
| <Import Project="..\tools\Imports.targets" Condition="!$(_SuppressSdkImports) and !$(_SuppressAllTargets)" /> | ||
| <Import Project="..\tools\Empty.targets" Condition="!$(_SuppressSdkImports) and $(_SuppressAllTargets)"/> | ||
| </Project> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.