aspnetcore
aspnetcore copied to clipboard
Hidden version files in .NET aspnetcore installation
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
.NET Core installations - runtime and sdk - include hidden version files. In a full installation of the SDK, I see:
$ find /usr/lib64/dotnet -iname '.*'
/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App/7.0.0-rc.2.22476.2/.version
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/7.0.0-rc.2.22472.3/.version
/usr/lib64/dotnet/sdk/7.0.100-rc.2.22511.1/.version
/usr/lib64/dotnet/sdk/7.0.100-rc.2.22511.1/.toolsetversion
Is there a good reason they have to be hidden files? What if aspnetcore just renamed them to version
instead of .version
? Hidden files are often a surprise to users and some software can flag them as suspicious.
Expected Behavior
No hidden files in ASP.NET Core
Steps To Reproduce
- Install ASP.NET Core
- Run
$ find $INSTALL_DIR -iname '.*'
Exceptions (if any)
No response
.NET Version
.NET Core 2.1 all the way to .NET 7 RC 2 (7.0.100-rc.2.22511.1)
Anything else?
No response