I created a simple hello world net 6.0 application with the following csproj.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>hello_world</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>1.0.1-dev</Version>
<AssemblyVersion>1.0.1.0</AssemblyVersion>
</PropertyGroup>
</Project>
The following command does not seem to add file and product version (or any other properties for that matter) on the final executable when i run it on linux (tried on ubuntu linux 20.04 as well as a couble of mcr (Microsoft Container Registry) images on gitlab ci). On win 10 it seems to perform as expected.
dotnet publish -r win10-x64 -p:PublishSingleFile=true
Any ideas as to what i am missing here or a way to add those information? Thank you
ps: The actual issue involves gitlab cicd, full production software, docker images etc but i believe if i understand what i am missing here the rest should fall in place.
