diff --git a/eng/native/configurecompiler.cmake b/eng/native/configurecompiler.cmake
index e0301cb6b3fc1..a6e6ba45808d2 100644
--- a/eng/native/configurecompiler.cmake
+++ b/eng/native/configurecompiler.cmake
@@ -233,7 +233,7 @@ if (CLR_CMAKE_HOST_UNIX)
message("Detected NetBSD amd64")
elseif(CLR_CMAKE_HOST_SUNOS)
message("Detected SunOS amd64")
- endif(CLR_CMAKE_HOST_SUNOS)
+ endif(CLR_CMAKE_HOST_OSX)
endif(CLR_CMAKE_HOST_UNIX)
if (CLR_CMAKE_HOST_WIN32)
diff --git a/src/coreclr/tests/src/JIT/Directed/StructABI/StructABI.csproj b/src/coreclr/tests/src/JIT/Directed/StructABI/StructABI.csproj
index 440413d3e2853..696b406cf0b98 100644
--- a/src/coreclr/tests/src/JIT/Directed/StructABI/StructABI.csproj
+++ b/src/coreclr/tests/src/JIT/Directed/StructABI/StructABI.csproj
@@ -16,7 +16,7 @@
-
+
diff --git a/src/installer/Directory.Build.props b/src/installer/Directory.Build.props
index db4b337749323..688d173e136c5 100644
--- a/src/installer/Directory.Build.props
+++ b/src/installer/Directory.Build.props
@@ -86,6 +86,8 @@
osx-$(TargetArchitecture)
linux-$(TargetArchitecture)
freebsd-$(TargetArchitecture)
+ netbsd-$(TargetArchitecture)
+ sunos-$(TargetArchitecture)
ios-$(TargetArchitecture)
tvos-$(TargetArchitecture)
android-$(TargetArchitecture)
@@ -128,8 +130,8 @@
false
true
-
- true
+
+ true
$(AssetOutputPath)sharedfx_$(OutputRid)_$(Configuration)_version_badge.svg
@@ -288,6 +290,18 @@
true
+
+
+ true
+ true
+
+
+
+
+ true
+ true
+
+
true
diff --git a/src/installer/pkg/projects/netcoreapp/Directory.Build.props b/src/installer/pkg/projects/netcoreapp/Directory.Build.props
index 32f632cbe656f..59ac9e4269092 100644
--- a/src/installer/pkg/projects/netcoreapp/Directory.Build.props
+++ b/src/installer/pkg/projects/netcoreapp/Directory.Build.props
@@ -14,6 +14,8 @@
Android
Browser
FreeBSD
+ NetBSD
+ SunOS
$(CoreCLRTargetOS)
diff --git a/src/installer/pkg/projects/netcoreappRIDs.props b/src/installer/pkg/projects/netcoreappRIDs.props
index 7d8711cbccfbb..6826d6cd71c22 100644
--- a/src/installer/pkg/projects/netcoreappRIDs.props
+++ b/src/installer/pkg/projects/netcoreappRIDs.props
@@ -11,6 +11,8 @@
+
+
x86