Handling multiple outputs from dotnet pack

This commit is contained in:
Walluce Pinkham 2022-04-06 10:19:21 +01:00 committed by Anthony Sottile
parent 26a3e6f9ff
commit 9b3df4b90e
8 changed files with 101 additions and 15 deletions

View file

@ -0,0 +1,12 @@
using System;
namespace proj2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}

View file

@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<PackAsTool>true</PackAsTool>
<ToolCommandName>proj2</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
</PropertyGroup>
</Project>