dotnet/msbuild

Disambiguate TargetFrameworkVersion and TargetFamework in help

Open

#1.805 aberto em 7 de mar. de 2017

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C# (1.364 forks)batch import
help wantedtriaged

Métricas do repositório

Stars
 (5.062 stars)
Métricas de merge de PR
 (Mesclagem média 11d 7h) (125 fundiu PRs em 30d)

Description

(moved from dotnet/cli#5921)

The command line help suggests:

:: v1.6 is .NET Standard TFM
dotnet pack /p:TargetFrameworkVersion=v1.6 .

should work, however it errors out. Whereas TargetFramework switch does work:

dotnet pack /p:TargetFramework=v1.6 .

The ask is to clarify the difference in help (perhaps with a core-specific example):

dotnet msbuild -h
[snip]
        MSBuild MyApp.csproj /t:Clean
                             /p:Configuration=Debug;TargetFrameworkVersion=v3.5
::                                                   ^^^^^^^^^^  this one

Guia do colaborador