In Visual Studio 2017 , I got an error in all projects related to ASP.NET Core 2 . It says:
failed to start the project. runcommand property undefined
Even I uninstalled VS and installed it again, but I still have this problem. I tested the default project template for VS, but those also do not execute correctly. Please help me.
<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>netcoreapp2.0</TargetFramework> <DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath> <ApplicationIcon /> <OutputType>Library</OutputType> <StartupObject /> </PropertyGroup> <ItemGroup> <Folder Include="Views\Product\" /> <Folder Include="wwwroot\" /> </ItemGroup> <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.3" /> <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.1" /> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" /> </ItemGroup> </Project>
Jahan source share