-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Deploying a ASP.NET Core 2.2 Project to IIS 10 with Visual Studio 2017 (an 2019) via FTP
-works: No Pages Folder on Webs server
Adding a in visula Studio Project a Razor Page without a model class - deploy just this page
open page in Browser Error
--Cannot find compilation library location for package 'Microsoft.NETCore.App'
Startup.cs contains
services.AddMvc().AddRazorOptions(options => options.AllowRecompilingViewsOnFileChange = true);
(should be Default?)
csproj
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<UserSecretsId>7c38072d-0407-48bb-8abc-96cc1d96ac2f</UserSecretsId>
<TypeScriptToolsVersion>3.1</TypeScriptToolsVersion>
<MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>using Project Sdk="Microsoft.NET.Sdk.Web> cause Project Sdk="Microsoft.NET.Sdk.Razor" missing the Publishing templates for azure and iis.
cshtml page should be dynamic compiled razore page on first request or filesystem watcher changed event
complete callstack http://coredemo.ppedv.de/tinyPage