diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2020-07-23 18:20:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 18:20:26 +0300 |
commit | 809a06f45161ae686a06b9e9ccc2f45097b91657 (patch) | |
tree | daa6d29750bc49c463679fc189ae2ecb6618438d /eng/restore | |
parent | e8c4169b4fc4eb9a71f296b3bd2e96db16d32d35 (diff) |
Remove depprojs in favor of PackageReferences (#35606)
- Remove depprojs which currently binplace external references into the RefPath folders in favor of PackageReference and PackageDownload items.
- Build all configurations by default when building an individual project (either on the CLI or inside VS) same as with the official SDK. This enables .NETFramework Test Explorer support.
- Centrally define libraries that compose the shared framework instead of in each Directory.Build.props file to be able to build the targeting pack first and consume it in the OOB libraries.
- Use ProjectReferences to reference OOB projects. Compile against the reference assembly but use the implementation assembly app-local during runtime.
- Remove OOBs from the testhost and remove the testhost folder for .NETFramework as it isn't required anymore.
- Only binplace for $(NetCoreAppCurrent) to compose a) the targeting pack, b) the runtime pack, c) the testhost, d) a full closure for the shims.
- Use Targeting Packs for OOB projects (with their implicit assembly references) but still explicitly define granular references for .NETCoreApp configurations (DisableImplicitAssemblyReferences switch). Use the implicit targeting pack references in some Microsoft.Extensions.* cases.
- Remove placeholder configurations as they aren't needed anymore with explicit P2Ps vs Targeting Pack references.
- Remove implicit assembly references (ie for .NETFramework, mscorlib)
- Remove AssemblySearchPath hacks that were introduced with b7c4cb7 as the targeting pack is now used by default.
- Reduce unnecessary .NETFramework configurations that were added to run tests in favor of the already existing ref&src configurations.
- Stop hardcoding the paths for wasm assemblies and use the returned TargetPath of the ProjectReferences.
- Addressed formatting (ItemGroups, References at the bottom of the project file, ordering of references, use LibrariesProjectRoot instead of a relative path, unnecessary AssemblyName and RootNamespace properties which are identical to the project name, ordering of tfms)
- Revert "fix clean (#33758)"
Diffstat (limited to 'eng/restore')
-rw-r--r-- | eng/restore/repoRestore.props | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eng/restore/repoRestore.props b/eng/restore/repoRestore.props index 300c542e8cb..d2ca92d6db0 100644 --- a/eng/restore/repoRestore.props +++ b/eng/restore/repoRestore.props @@ -1,5 +1,6 @@ <Project TreatAsLocalProperty="ExcludeRestorePackageImports"> <PropertyGroup> + <ToolSetCommonDirectory>$(RepoRoot)artifacts\toolset\Common\</ToolSetCommonDirectory> <RestoreUseStaticGraphEvaluation>false</RestoreUseStaticGraphEvaluation> <!-- Need to set ProjectAssetsFile to something so it doesn't get set to the Tools.proj assets file when we import the generated props --> <ProjectAssetsFile Condition="'$(ProjectAssetsFile)' == ''">unused</ProjectAssetsFile> |