diff --git a/sdk/Sdk/ExtensionsCsprojGenerator.cs b/sdk/Sdk/ExtensionsCsprojGenerator.cs
index c11097cb2..661a78ada 100644
--- a/sdk/Sdk/ExtensionsCsprojGenerator.cs
+++ b/sdk/Sdk/ExtensionsCsprojGenerator.cs
@@ -76,21 +76,20 @@ internal string GetCsProjContent()
{targetFramework}
- preview
Release
Microsoft.Azure.Functions.Worker.Extensions
- Microsoft.Azure.Functions.Worker.Extensions
- 1.0
- $(MajorMinorProductVersion).0
- $(MajorMinorProductVersion).0.0
- $(Version)
true
+
- {extensionReferences}
-
+{extensionReferences}
+
+
+
+
+
";
}
@@ -109,7 +108,7 @@ private string GetExtensionReferences()
private static string GetPackageReferenceFromExtension(string name, string version)
{
- return $@"";
+ return $" ";
}
}
}
diff --git a/sdk/Sdk/Sdk.csproj b/sdk/Sdk/Sdk.csproj
index c61be03ff..56ecd18d0 100644
--- a/sdk/Sdk/Sdk.csproj
+++ b/sdk/Sdk/Sdk.csproj
@@ -2,7 +2,7 @@
17
- -preview1
+ -preview2
netstandard2.0;net472
Microsoft.Azure.Functions.Worker.Sdk
This package provides development time support for the Azure Functions .NET Worker.
diff --git a/sdk/release_notes.md b/sdk/release_notes.md
index 391d4c80d..5df088f79 100644
--- a/sdk/release_notes.md
+++ b/sdk/release_notes.md
@@ -5,11 +5,6 @@
-->
-### Microsoft.Azure.Functions.Worker.Sdk 1.17.0-preview1 (meta package)
-
-- Improve incremental build support for worker extension project inner build (https://github.com/Azure/azure-functions-dotnet-worker/pull/1749)
- - Now builds to intermediate output path
-- Resolve and pass nuget restore sources as explicit property to inner build (https://github.com/Azure/azure-functions-dotnet-worker/pull/1937)
-- Integrate inner build with existing .NET SDK targets (https://github.com/Azure/azure-functions-dotnet-worker/pull/1861)
- - Targets have been refactored to participate with `CopyToOutputDirectory` and `CopyToPublishDirectory` instead of manually copying
- - Incremental build support further improved
+### Microsoft.Azure.Functions.Worker.Sdk 1.17.0-preview2 (meta package)
+
+- Explicitly error out if inner-builds TFM is altered. (https://github.com/Azure/azure-functions-dotnet-worker/pull/2222)
diff --git a/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs b/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs
index 3af598ce7..87d5f85ea 100644
--- a/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs
+++ b/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs
@@ -83,24 +83,23 @@ private static string ExpectedCsProjV3()
netcoreapp3.1
- preview
Release
Microsoft.Azure.Functions.Worker.Extensions
- Microsoft.Azure.Functions.Worker.Extensions
- 1.0
- $(MajorMinorProductVersion).0
- $(MajorMinorProductVersion).0.0
- $(Version)
true
+
-
-
-
+
+
+
+
+
+
+
";
}
@@ -111,24 +110,23 @@ private static string ExpectedCsProjV4()
net6.0
- preview
Release
Microsoft.Azure.Functions.Worker.Extensions
- Microsoft.Azure.Functions.Worker.Extensions
- 1.0
- $(MajorMinorProductVersion).0
- $(MajorMinorProductVersion).0.0
- $(Version)
true
+
-
-
-
+
+
+
+
+
+
+
";
}