File: ToolWithOutputName.csproj
Web Access
Project: ..\..\..\test\TestAssets\TestPackages\ToolWithOutputName\ToolWithOutputName.csproj (dotnet-tool-with-output-name)
<Project Sdk="Microsoft.NET.Sdk">
  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />
 
  <PropertyGroup>
    <!-- netcoreapp2.2 is the maximum TFM project tools support -->
    <TargetFramework>netcoreapp2.2</TargetFramework>
    <AssemblyName>dotnet-tool-with-output-name</AssemblyName>
    <PackageId>ToolWithOutputName</PackageId>
    <OutputType>Exe</OutputType>
    <IsPackable>true</IsPackable>
    <RollForward>LatestMajor</RollForward>
  </PropertyGroup>
 
</Project>