diff --git a/Directory.Build.props b/Directory.Build.props
index 42b9df1427b318..867d863b83afff 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,5 +1,13 @@
+
+
+ false
+
+
+
+
$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'installer.tasks'))
$([MSBuild]::NormalizePath('$(InstallerTasksOutputPath)', 'Debug', 'netstandard2.0', 'installer.tasks.dll'))
$([MSBuild]::NormalizePath('$(InstallerTasksOutputPath)', 'Debug', 'net46', 'installer.tasks.dll'))
$(ArtifactsObjDir)HostMachineInfo.props
- $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'libraries'))
- $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'coreclr'))
- $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'installer'))
-
$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'docs'))
$([MSBuild]::NormalizeDirectory('$(DocsDir)', 'manpages'))
$([MSBuild]::NormalizeDirectory('$(LibrariesProjectRoot)', 'System.Private.CoreLib', 'src'))
@@ -49,6 +56,37 @@
git://github.com/dotnet/runtime
https://github.com/dotnet/runtime
https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
+ $(RepoRoot)LICENSE.TXT
+
+
+ true
+
+
+ true
+ false
+
+
+ false
+
+
+
+
+
+ latest
+ preview
+ true
+
+
+ false
+
+
+ true
+
+ Properties
+
+
+
+
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 5180c31001b64c..7d40eb9ac3020a 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,5 +1,21 @@
+
+
+ false
+
+
+
+
+ $(MajorVersion).$(MinorVersion)
+
+
\ No newline at end of file
diff --git a/eng/analyzers.props b/eng/Analyzers.props
similarity index 68%
rename from eng/analyzers.props
rename to eng/Analyzers.props
index 4aa6b32299134d..24d83dca9c00b5 100644
--- a/eng/analyzers.props
+++ b/eng/Analyzers.props
@@ -1,5 +1,8 @@
-
+
+ $(MSBuildThisFileDirectory)CodeAnalysis.ruleset
+
+
diff --git a/eng/Build.props b/eng/Build.props
index 20dbe662c83f94..5e060adde8d6b7 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -15,10 +15,6 @@
https://github.com/dotnet/arcade/issues/388
-->
-
- true
-
-
-
-
+
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'libraries'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'coreclr'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'installer'))
+ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'tools-local'))
+ $([MSBuild]::NormalizeDirectory('$(RepoToolsLocalDir)', 'tasks'))
+
libraries-installer-coreclr
diff --git a/eng/Tools.props b/eng/Tools.props
index a763640c26f89b..fa9804318e7c7d 100644
--- a/eng/Tools.props
+++ b/eng/Tools.props
@@ -1,11 +1,12 @@
false
+ true
-
+
@@ -22,6 +23,9 @@
+
+
+
@@ -41,7 +45,6 @@
-
-
-
+
+
diff --git a/eng/Versions.props b/eng/Versions.props
index b310637bd10ced..dd076d4ffa823c 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -19,7 +19,6 @@
false
true
- $([MSBuild]::NormalizeDirectory('$(ArtifactsToolsetDir)', 'ILLink'))
$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'ibc'))
$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'docs'))
diff --git a/eng/illink.targets b/eng/illink.targets
index 44c6adbf93c3c2..924122b0e97e47 100644
--- a/eng/illink.targets
+++ b/eng/illink.targets
@@ -9,8 +9,9 @@
- $(ILLinkDir)netcoreapp2.0/ILLink.Tasks.dll
- $(ILLinkDir)net472/ILLink.Tasks.dll
+ $([MSBuild]::NormalizeDirectory('$(PkgILLink_Tasks)', 'tools'))
+ $(ILLinkTasksDir)netcoreapp2.0/ILLink.Tasks.dll
+ $(ILLinkTasksDir)net472/ILLink.Tasks.dll
$(IntermediateOutputPath)$(TargetName)$(TargetExt)
$(IntermediateOutputPath)$(TargetName).pdb
$(IntermediateOutputPath)PreTrim/
diff --git a/eng/restore/illink.targets b/eng/restore/illink.targets
deleted file mode 100644
index aa40e2a2a4e8b1..00000000000000
--- a/eng/restore/illink.targets
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
- <_illinkSrcFiles Include="$(NuGetPackageRoot)illink.tasks\$(ILLinkTasksVersion)\tools\**\*" />
-
-
-
-
-
-
diff --git a/src/coreclr/src/Directory.Build.targets b/src/coreclr/src/Directory.Build.targets
index 975845368610ba..99a23759538429 100644
--- a/src/coreclr/src/Directory.Build.targets
+++ b/src/coreclr/src/Directory.Build.targets
@@ -17,4 +17,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/coreclr/src/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets b/src/coreclr/src/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
index d5e49b3ccb26d4..9d362c93b1b2aa 100644
--- a/src/coreclr/src/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
+++ b/src/coreclr/src/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
@@ -5,8 +5,7 @@
- <_ILLinkRuntimeRootDescriptorFileName Condition=" '$(_ILLinkRuntimeRootDescriptorFileName)' == '' ">System.Private.CoreLib.xml
- <_ILLinkRuntimeRootDescriptorFilePath Condition=" '$(_ILLinkRuntimeRootDescriptorFilePath)' == '' ">$(IntermediateOutputPath)$(_ILLinkRuntimeRootDescriptorFileName)
+ <_ILLinkRuntimeRootDescriptorFilePath>$(ILLinkTrimXml)
<_NamespaceFilePath Condition=" '$(_NamespaceFilePath)' == '' ">$(MSBuildThisFileDirectory)..\vm\namespace.h
<_MscorlibFilePath Condition=" '$(_MscorlibFilePath)' == '' ">$(MSBuildThisFileDirectory)..\vm\mscorlib.h
<_CortypeFilePath Condition=" '$(_CortypeFilePath)' == '' ">$(MSBuildThisFileDirectory)..\inc\cortypeinfo.h
diff --git a/src/coreclr/src/System.Private.CoreLib/ILLink.targets b/src/coreclr/src/System.Private.CoreLib/ILLink.targets
deleted file mode 100644
index ccf2cbfd214fd9..00000000000000
--- a/src/coreclr/src/System.Private.CoreLib/ILLink.targets
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
- $(TargetsTriggeredByCompilation);
- ILLinkTrimAssembly
-
-
-
-
-
- $(PkgILLink_Tasks)/tools
- $(ILLinkTasksToolsDir)/net472/
- $(ILLinkTasksToolsDir)/netcoreapp2.0/
- $(ILLinkTasksDir)ILLink.Tasks.dll
- true
- $(IntermediateOutputPath)$(TargetName)$(TargetExt)
- $(IntermediateOutputPath)$(TargetName).pdb
- $(IntermediateOutputPath)PreTrim/
- $(ILLinkTrimInputPath)$(TargetName)$(TargetExt)
- $(ILLinkTrimInputPath)$(TargetName).pdb
- $(IntermediateOutputPath)
-
-
- true
-
-
-
-
-
- $(BinDir)ILLinkTrimAssembly/$(BuildConfiguration)/trimmed
- TrimmedItem
-
-
- $(BinDir)ILLinkTrimAssembly/$(BuildConfiguration)/reports
- TrimmingReport
-
-
- $(BinDir)ILLinkTrimAssembly/$(BuildConfiguration)/pretrimmed
- PreTrimmedItem
-
-
-
-
-
-
-
- $(ILLinkArgs)-r $(TargetName)
-
- $(ILLinkArgs) -c skip
-
- $(ILLinkArgs) -u skip
-
- $(ILLinkArgs) -p link $(TargetName)
- $(ILLinkArgs) -b true
-
- $(ILLinkArgs) -v true
-
- $(ILLinkArgs) --strip-resources false
-
- $(ILLinkArgs) --disable-opt unusedinterfaces
-
-
-
-
-
-
-
-
-
-
-
-
- <_DotNetHostDirectory>$(NetCoreRoot)
- <_DotNetHostFileName>dotnet
- <_DotNetHostFileName Condition=" '$(OS)' == 'Windows_NT' ">dotnet.exe
-
-
-
-
-
-
-
-
-
- $(AsmDiffArgs) $(ILLinkTrimInputAssembly)
- $(AsmDiffArgs) $(ILLinkTrimAssemblyPath)
- $(AsmDiffArgs) -includePrivateApis -includeInternalApis -alwaysDiffMembers -diffAttributes
-
- $(IntermediateOutputPath)$(TargetName).diff.html
- $(AsmDiffArgs) -out:$(AsmDiffReport)
- $(AsmDiffReportArgs) -unchanged -changed -added -removed
-
- $(IntermediateOutputPath)$(TargetName).diff.csv
- $(AsmDiffArgs) -out:$(AsmDiffList)
- $(AsmDiffListArgs) -unchanged -changed -added -removed
- $(AsmDiffListArgs) -diffWriter:CSV
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
index 29158971446266..307f8847e6f11a 100644
--- a/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
+++ b/src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
@@ -1,4 +1,4 @@
-
+
false
@@ -6,8 +6,6 @@
true
false
false
-
- Library
netcoreapp2.1
@@ -20,6 +18,10 @@
$(BinDir)IL/
Debug;Release;Checked
x64;x86;arm;arm64
+
+ true
+ true
+ $(IntermediateOutputPath)System.Private.CoreLib.xml
@@ -34,7 +36,6 @@
$(BuildType)
$(BuildArch)
arm
- {3DA06C3A-2E7B-4CB7-80ED-9B12916013F9}
true
false
@@ -62,6 +63,7 @@
<_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation
true
$(OutputPath)$(MSBuildProjectName).xml
+ false
@@ -96,10 +98,6 @@
- System.Private.CoreLib
- 5.0.0.0
- true
- false
$(AssemblyName)
@@ -422,54 +420,29 @@
- true
- true
Windows_NT
true
-
-
- $(MSBuildProjectName)
- .dll
-
-
-
-
- $(LibrariesProjectRoot)CodeAnalysis.ruleset
-
-
-
-
-
-
-
+
-
-
-
-
- $(MSBuildProjectName).xml
-
-
-
-
+
diff --git a/src/installer/Directory.Build.props b/src/installer/Directory.Build.props
index c26b17925b29ae..d6cda923cc6809 100644
--- a/src/installer/Directory.Build.props
+++ b/src/installer/Directory.Build.props
@@ -2,12 +2,6 @@
-
-
-
- core-setup
-
-
-
-
- true
-
-
Microsoft.NETCore.App
.NETCoreApp
@@ -121,8 +100,6 @@
false
false
false
-
- https://github.com/dotnet/core-setup
diff --git a/src/installer/Directory.Build.targets b/src/installer/Directory.Build.targets
index ad077c9b2079f5..724a3f5557e2c1 100644
--- a/src/installer/Directory.Build.targets
+++ b/src/installer/Directory.Build.targets
@@ -19,14 +19,6 @@
-
-
- $(MajorVersion).$(MinorVersion)
-
-
diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props
index dd2bcf6b76f45d..6c3d9c13980910 100644
--- a/src/libraries/Directory.Build.props
+++ b/src/libraries/Directory.Build.props
@@ -1,25 +1,10 @@
-
-
- $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), global.json))
- $([MSBuild]::EnsureTrailingSlash('$(RepoRoot)'))
- $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'eng'))
- $(MSBuildThisFileDirectory)
- git://github.com/dotnet/corefx
-
-
true
-
- false
-
true
@@ -80,11 +65,6 @@
package
-
-
- true
-
-
@@ -108,8 +88,6 @@
- $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin'))
-
$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'native', '$(BuildConfiguration)'))
@@ -119,16 +97,14 @@
AnyCPU
- Library
Open
+
+
+
$(IsSourceProject)
$(IsSourceProject)
$(RepositoryEngineeringDir)DefaultGenApiDocIds.txt
-
- true
-
- Properties
@@ -247,23 +223,13 @@
-
- latest
- preview
strict;nullablePublicOnly
4
true
- true
-
false
-
-
- true
true
-
-
- false
+ true
@@ -332,22 +298,10 @@
$(OutputPath)$(MSBuildProjectName).xml
- $(LibrariesProjectRoot)CodeAnalysis.ruleset
- false
-
true
-
-
- true
- false
-
-
- false
-
-
true
@@ -409,6 +363,4 @@
false
true
-
-
diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets
index 08426497067e93..6b65645f4ff34a 100644
--- a/src/libraries/Directory.Build.targets
+++ b/src/libraries/Directory.Build.targets
@@ -7,28 +7,6 @@
-
-
-
-
-
- $(DefineConstants),INTERNAL_NULLABLE_ATTRIBUTES
-
-
-
-
-
-
-
-
-
- false
-
- 5.0
-
+
+
+
+ $(DefineConstants),INTERNAL_NULLABLE_ATTRIBUTES
+
+
+
+
+
+
+
diff --git a/src/libraries/restore/analyzers/analyzers.depproj b/src/libraries/restore/analyzers/analyzers.depproj
index ee614d52326ea4..75547d787bc67c 100644
--- a/src/libraries/restore/analyzers/analyzers.depproj
+++ b/src/libraries/restore/analyzers/analyzers.depproj
@@ -1,12 +1,10 @@
false
+ true
C#
-
-
-