Your project targets multiple frameworks

When you see error like this: Your project targets multiple frameworks. Please specify which framework to run using ‘—framework’.

Open .csproj file in your IDE and update the following line:

<PropertyGroup>
    <TargetFrameworks>$(CommonTargetFrameworks)</TargetFrameworks>
</PropertyGroup>

to

<PropertyGroup>
    <TargetFramework>$(CommonTargetFrameworks)</TargetFramework>
</PropertyGroup>