diff --git a/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets b/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets
index 7e33684669..49332be01f 100644
--- a/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets
+++ b/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets
@@ -74,6 +74,11 @@ Copyright (c) .NET Foundation. All rights reserved.
$(PrepareForRunDependsOn)
+
+ _RazorGetCopyToOutputDirectoryItems;
+ $(GetCopyToOutputDirectoryItems)
+
+