Add support for publishing a single file executable · microsoft/VSConfigFinder@fc4cd21 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
1 -<Project Sdk="Microsoft.NET.Sdk">
1 +<Project Sdk="Microsoft.NET.Sdk">
2 2
3 3 <PropertyGroup>
4 4 <OutputType>Exe</OutputType>
5 5 <TargetFramework>net7.0</TargetFramework>
6 6 <ImplicitUsings>enable</ImplicitUsings>
7 7 <Nullable>enable</Nullable>
8 + <PublishSingleFile>true</PublishSingleFile>
9 + <SelfContained>true</SelfContained>
8 10 </PropertyGroup>
9 11
10 12 <ItemGroup>