diff --git a/src/Makefile b/src/Makefile index 566dc682974f..cc43fcec58a8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1351,6 +1351,7 @@ define DotNetProjectFiles $(DOTNET_BUILD_DIR)/projects/$(1)/$(1).csproj: dotnet.tmpl.csproj Makefile $$(wildcard $(CURDIR)/*.sources) @mkdir -p $$(dir $$@) @sed \ + -e 's*%DOTNET_TFM%*$(DOTNET_TFM)*' \ -e 's*%PLATFORM%*$(1)*' \ -e 's**$$(foreach file,$$($(2)_DOTNET_SOURCES),)*' \ -e 's**$$(foreach file,$$($(2)_DOTNET_APIS),)*' \ diff --git a/src/dotnet.tmpl.csproj b/src/dotnet.tmpl.csproj index b4c63330b1b5..d72b0bc5f096 100644 --- a/src/dotnet.tmpl.csproj +++ b/src/dotnet.tmpl.csproj @@ -3,10 +3,10 @@ <_TargetPlatform>%PLATFORM% - net6.0 + %DOTNET_TFM% .NETCoreApp Library - Xamarin.iOS + Microsoft.%PLATFORM% true ..\..\..\..\..\product.snk latest