dotnet / dotnet/msbuild

Disambiguate TargetFrameworkVersion and TargetFamework in help

Open
#1,805 2 comments 0 reactions 0 assignees View on GitHub
help wanted triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

(moved from dotnet/cli#5921)

The command line help suggests:

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

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

```cmd
dotnet pack /p:TargetFramework=v1.6 .
```

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

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.