diff --git a/eng/Build.props b/eng/Build.props
index 266cef031f02..24b3576edd05 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -35,7 +35,6 @@
$(RepoRoot)src\SignalR\clients\ts\**\node_modules\**\*.*proj;
$(RepoRoot)src\Components\Web.JS\node_modules\**\*.*proj;
$(RepoRoot)src\Components\WebAssembly\Build\testassets\**\*.csproj;
- $(RepoRoot)src\ProjectTemplates\ComponentsWebAssembly.ProjectTemplates\content\**\*.csproj;
$(RepoRoot)src\ProjectTemplates\Web.ProjectTemplates\content\**\*.csproj;
$(RepoRoot)src\ProjectTemplates\Web.ProjectTemplates\content\**\*.fsproj;
$(RepoRoot)src\ProjectTemplates\Web.Spa.ProjectTemplates\content\**\*.csproj;
diff --git a/eng/CodeGen.proj b/eng/CodeGen.proj
index 72c13a69ba5c..a3fa8096d660 100644
--- a/eng/CodeGen.proj
+++ b/eng/CodeGen.proj
@@ -15,8 +15,8 @@
Targets="GetReferencesProvided"
BuildInParallel="true"
SkipNonexistentTargets="true"
- SkipNonexistentProjects="true" >
-
+ SkipNonexistentProjects="true">
+
diff --git a/eng/scripts/CodeCheck.ps1 b/eng/scripts/CodeCheck.ps1
index 7ee3d02cce2b..280ff0d452c8 100644
--- a/eng/scripts/CodeCheck.ps1
+++ b/eng/scripts/CodeCheck.ps1
@@ -66,9 +66,9 @@ try {
# Ignore duplicates in submodules. These should be isolated from the rest of the build.
# Ignore duplicates in the .ref folder. This is expected.
Get-ChildItem -Recurse "$repoRoot/src/*.*proj" `
- | ? { $_.FullName -notmatch 'submodules' -and $_.FullName -notmatch 'node_modules' } `
- | ? { (Split-Path -Leaf (Split-Path -Parent $_)) -ne 'ref' } `
- | % {
+ | Where-Object { $_.FullName -notmatch 'submodules' -and $_.FullName -notmatch 'node_modules' } `
+ | Where-Object { (Split-Path -Leaf (Split-Path -Parent $_)) -ne 'ref' } `
+ | ForEach-Object {
$fileName = [io.path]::GetFileNameWithoutExtension($_)
if (-not ($projectFileNames.Add($fileName))) {
LogError -code 'BUILD003' -filepath $_ `
@@ -136,17 +136,17 @@ try {
Write-Host "Checking that solutions are up to date"
Get-ChildItem "$repoRoot/*.sln" -Recurse `
- | ? {
+ | Where-Object {
# These .sln files are used by the templating engine.
(($_.Name -ne "BlazorServerWeb_CSharp.sln") -and ($_.Name -ne 'ComponentsWebAssembly-CSharp.sln'))
} `
- | % {
+ | ForEach-Object {
Write-Host " Checking $(Split-Path -Leaf $_)"
$slnDir = Split-Path -Parent $_
$sln = $_
& dotnet sln $_ list `
- | ? { $_ -like '*proj' } `
- | % {
+ | Where-Object { $_ -like '*proj' } `
+ | ForEach-Object {
$proj = Join-Path $slnDir $_
if (-not (Test-Path $proj)) {
LogError "Missing project. Solution references a project which does not exist: $proj. [$sln] "
diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets
index 1dc8f63efc48..499ad7424ea7 100644
--- a/eng/targets/ResolveReferences.targets
+++ b/eng/targets/ResolveReferences.targets
@@ -20,7 +20,8 @@
- true
+ true
ResolveCustomReferences;
@@ -35,10 +36,11 @@
* when a project is a test or sample project
* when a package is releasing a new patch (we like to update external dependencies in patches when possible)
That is, use latest package references unless this is a servicing build, the project is normally packable, and
- the package is not included in this release.
+ the package is not included in this release. The "unless" cases are extremely unlikely because both
+ $(IsPackableInNonServicingBuild) and $(IsPackageInThisPatch) are either undefined or true.
-->
true
+ Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsServicingBuild)' != 'true' ">true
true
<_ProjectReferenceByAssemblyName Condition="'$(UseProjectReferences)' == 'true'"
Include="@(ProjectReferenceProvider)"
@@ -121,16 +123,13 @@
-
-
+ Text="Cannot reference "%(Identity)". This dependency is not in the shared framework. See docs/SharedFramework.md for instructions on how to modify what is in the shared framework." />
@@ -140,14 +139,15 @@
-
+
ContentFiles;Build
All
@@ -176,9 +176,9 @@
<_LatestPackageReferenceWithVersion Remove="@(_LatestPackageReferenceWithVersion)"
Condition="'%(Id)' != '%(Identity)' " />
+
-
<_BaselinePackageReferenceWithVersion Include="@(Reference)"
@@ -189,8 +189,8 @@
<_BaselinePackageReferenceWithVersion Remove="@(_BaselinePackageReferenceWithVersion)"
Condition="'%(Id)' != '%(Identity)' " />
-
+
@@ -201,8 +201,8 @@
<_PrivatePackageReferenceWithVersion Remove="@(_PrivatePackageReferenceWithVersion)"
Condition="'%(Id)' != '%(Identity)' " />
-
+
@@ -228,7 +228,7 @@
+ Text="Package references changed since the last release. This could be a breaking change and is not allowed in a servicing update. References removed:%0A - @(UnusedBaselinePackageReference, '%0A - ')" />
-
+
-
diff --git a/src/Components/Ignitor/src/Ignitor.csproj b/src/Components/Ignitor/src/Ignitor.csproj
index 140496e8265c..1835a36749aa 100644
--- a/src/Components/Ignitor/src/Ignitor.csproj
+++ b/src/Components/Ignitor/src/Ignitor.csproj
@@ -1,8 +1,7 @@
-
- netcoreapp3.0
+ netcoreapp3.1
true
false
false
diff --git a/src/DataProtection/Cryptography.KeyDerivation/Directory.Build.props b/src/DataProtection/Cryptography.KeyDerivation/Directory.Build.props
new file mode 100644
index 000000000000..610093852b9c
--- /dev/null
+++ b/src/DataProtection/Cryptography.KeyDerivation/Directory.Build.props
@@ -0,0 +1,8 @@
+
+
+
+
+
+ false
+
+