I have a simple .net core app and publish it by following command:
dotnet publish -c Release -r win10-x64
SqlLocalDbStarter.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />
</ItemGroup>
</Project>
When publish process finished dotnet create win10-x64 folder at bin\Release folder then after open it the folder contains publish folder and some dll and exe files.
There are some issue for me:
- Which one of
exefiles (inside / outside publish folder) i need to PE app? - Why when i cut
exefile and move it in other place it doesn't run (without message)? - If I need all of
dllfiles to run application, so there are tow options for me (inside / outside publish folder), inside publish folder size is 66 MB but outside publish folder is 1 MB. - I want to have a one
exefile to run my program without dll files.


