We have a .NET Core web application that uses httpsys. We are in the process of upgrading it from .NET Core 2.2 to .NET Core 3.1 and I observed something strange in the output dir.
The .csproj (the relevant parts) is
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup Label="Globals">
<Platforms>x64</Platforms>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
<OutputType>Exe</OutputType>
</PropertyGroup>
The project is published with the following arguments:
dotnet publish -c release -o .\pkg .\SomeProject.csproj
Before changing the TargetFramework to netcoreapp3.1 (it was netcoreapp2.2) the outputfolder did not contain a dotnet.exe
. However, since the upgrade it does. And it seems a bit strange, because the exe is dated 15-6-2016 and has version number 1.0.1.4500.
I can't find any documentation on this change. Why is this executable in my outputdir, why did this change?