diff --git a/build/hostingstartup.targets b/build/hostingstartup.targets
new file mode 100644
index 0000000000..daa345738e
--- /dev/null
+++ b/build/hostingstartup.targets
@@ -0,0 +1,11 @@
+
+
+
+ <_PackageFiles Include="$(ProjectDepsFilePath)">
+ lib\$(TargetFramework)
+ false
+ Content
+
+
+
+
\ No newline at end of file
diff --git a/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj b/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
index caa607e779..a9e5db01c2 100644
--- a/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
+++ b/sample/AzureAppServicesHostingStartupSample/AzureAppServicesHostingStartupSample.csproj
@@ -3,7 +3,7 @@
- net46;netcoreapp2.0
+ netcoreapp2.0
$(PackageTargetFallback);portable-net40+sl5+win8+wp8+wpa81;portable-net45+win8+wp8+wpa81
diff --git a/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/ApplicationInsightsStartupLoader.cs b/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/ApplicationInsightsStartupLoader.cs
index 6a1b5b413b..8b1c9c38c4 100644
--- a/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/ApplicationInsightsStartupLoader.cs
+++ b/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/ApplicationInsightsStartupLoader.cs
@@ -5,6 +5,9 @@ using Microsoft.AspNetCore.Hosting;
[assembly: HostingStartup(typeof(Microsoft.AspNetCore.ApplicationInsights.HostingStartup.ApplicationInsightsHostingStartup))]
+// To be able to build as Exe
+internal class Program { public static void Main() { } }
+
namespace Microsoft.AspNetCore.ApplicationInsights.HostingStartup
{
///
diff --git a/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj b/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj
index 4f67f79380..d22e6fc4da 100644
--- a/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj
+++ b/src/Microsoft.AspNetCore.ApplicationInsights.HostingStartup/Microsoft.AspNetCore.ApplicationInsights.HostingStartup.csproj
@@ -1,11 +1,13 @@
+
ASP.NET Core lightup integration with Application Insights.
- netstandard1.6
+ netcoreapp2.0
true
+ Exe
aspnetcore;ApplicationInsights;Analytics;Telemetry;AppInsights
diff --git a/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AzureStartupLoader.cs b/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AzureStartupLoader.cs
index 01990240eb..6bc3616701 100644
--- a/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AzureStartupLoader.cs
+++ b/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/AzureStartupLoader.cs
@@ -5,6 +5,9 @@ using Microsoft.AspNetCore.Hosting;
[assembly: HostingStartup(typeof(Microsoft.AspNetCore.AzureAppServices.HostingStartup.AzureAppServicesHostingStartup))]
+// To be able to build as Exe
+internal class Program { public static void Main() { } }
+
namespace Microsoft.AspNetCore.AzureAppServices.HostingStartup
{
///
diff --git a/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj b/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
index 4ea608c723..bc89ebebfd 100644
--- a/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
+++ b/src/Microsoft.AspNetCore.AzureAppServices.HostingStartup/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
@@ -1,11 +1,13 @@
+
ASP.NET Core lightup integration with Azure AppServices.
- netstandard1.3
+ netcoreapp2.0
true
+ Exe
aspnetcore;azure;appservices