Skip to content

Instantly share code, notes, and snippets.

View patrykbuzowicz's full-sized avatar

Patryk Buzowicz patrykbuzowicz

  • Kraków, Poland
View GitHub Profile
@patrykbuzowicz
patrykbuzowicz / ilmerge-on-build.csproj
Created January 29, 2019 20:31
Merges the output exe and all dlls into a single exe. Places a new $(ProjectName).Merged.exe binary in the /bin/Release/net461 output directory
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net461</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Autofac" Version="4.8.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />