GetDotNetHost error in CI

From Logic Wiki
Jump to: navigation, search


Error : The "GetDotNetHost" task could not be loaded from the assembly

Solution : add this line

<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>

into

 <PropertyGroup>
   <TargetFramework>netcoreapp2.0</TargetFramework>
   <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>    
 </PropertyGroup>