Application 'MACHINE/WEBROOT/APPHOST/MYWEB' with physical root 'C:\IIS\MyWeb\' failed to start process with commandline 'dotnet .\Sky.HelloCore.Web.dll', ErrorCode = '0x80004005 : 8000808c.
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
完整的項目文件xmlhtml
<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>netcoreapp2.0</TargetFramework> <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> </PropertyGroup> <ItemGroup> <PackageReference Include="AngleSharp" Version="0.9.9.2" /> <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.8" /> </ItemGroup> <ItemGroup> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.4" /> </ItemGroup> <ItemGroup> <Reference Include="NewLife.Core"> <HintPath>..\DLL\NewLife.Core.dll</HintPath> </Reference> <Reference Include="Sky.Gallery"> <HintPath>..\DLL\Sky.Gallery.dll</HintPath> </Reference> <Reference Include="XCode"> <HintPath>..\DLL\XCode.dll</HintPath> </Reference> </ItemGroup> </Project>
終結此貼,網站是基於nc2.0,也許我裝的2.1不行,因而從新安裝2.0的兩個包就能夠了
web