[6.0] Different versions of `NuGet.Commands.dll`s between source-build and Microsoft build
- Dominant language
- No language data
- Stars
- 287
- Forks
- 145
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 10
Description
### Describe the Bug
Sourcebuild has 3 copies of `NuGet.Commands.dll`, compared to just 1 copy in the Microsoft-built SDK. The version numbers are also different: `6.0.3-rc.32767+c60eee85ec0109bdda894806b167bb4d55f75183` vs `6.0.3-rc.1+c60eee85ec0109bdda894806b167bb4d55f75183.c60eee85ec0109bdda894806b167bb4d55f75183`, though the commit sha is the same.
source-build .NET 6.0.113:
```
$ find /usr/lib64/dotnet -iname 'NuGet.Commands.*'
/usr/lib64/dotnet/sdk/6.0.113/Sdks/NuGet.Build.Tasks.Pack/CoreCLR/NuGet.Commands.dll
/usr/lib64/dotnet/sdk/6.0.113/Sdks/NuGet.Build.Tasks.Pack/Desktop/NuGet.Commands.dll
/usr/lib64/dotnet/sdk/6.0.113/Sdks/NuGet.Build.Tasks.Pack/NuGet.Commands.dll
/usr/lib64/dotnet/sdk/6.0.113/NuGet.Commands.dll
$ exiftool /usr/lib64/dotnet/sdk/6.0.113/NuGet.Commands.dll
ExifTool Version Number : 12.42
File Name : NuGet.Commands.dll
Directory : /usr/lib64/dotnet/sdk/6.0.113
File Size : 1939 kB
File Modification Date/Time : 2023:01:12 15:15:03-05:00
File Access Date/Time : 2023:02:15 10:59:18-05:00
File Inode Change Date/Time : 2023:02:13 17:38:37-05:00
File Permissions : -rw-r--r--
File Type : Win32 DLL
File Type Extension : dll
MIME Type : application/octet-stream
Machine Type : Unknown (0xfd1d)
Time Stamp : 2101:06:16 11:05:07-04:00
Image File Characteristics : Executable, Large address aware, DLL
PE Type : PE32+
Linker Version : 11.0
Code Size : 1505280
Initialized Data Size : 433152
Uninitialized Data Size : 0
Entry Point : 0x0000
OS Version : 4.0
Image Version : 0.0
Subsystem Version : 4.0
Subsystem : Windows command line
File Version Number : 6.0.3.32767
Product Version Number : 6.0.3.0
File Flags Mask : 0x003f
File Flags : (none)
File OS : Win32
Object File Type : Dynamic link library
File Subtype : 0
Language Code : Neutral
Character Set : Unicode
Comments : Complete commands common to command-line and GUI NuGet clients.
Company Name : Microsoft Corporation
File Description : NuGet.Commands
File Version : 6.0.3.32767
Internal Name : NuGet.Commands.dll
Legal Copyright : © Microsoft Corporation. All rights reserved.
Original File Name : NuGet.Commands.dll
Product Name : NuGet
Product Version : 6.0.3-rc.32767+c60eee85ec0109bdda894806b167bb4d55f75183
Assembly Version : 6.0.3.32767
```
Microsoft's build of .NET 6.0.113:
```
$ find ~/local/dotnet/microsoft/6.0.113 -iname 'NuGet.Commands.dll'
/home/omajid/local/dotnet/microsoft/6.0.113/sdk/6.0.113/NuGet.Commands.dll
$ exiftool /home/omajid/local/dotnet/microsoft/6.0.113/sdk/6.0.113/NuGet.Commands.dll
ExifTool Version Number : 12.42
File Name : NuGet.Commands.dll
Directory : /home/omajid/local/dotnet/microsoft/6.0.113/sdk/6.0.113
File Size : 1406 kB
File Modification Date/Time : 2022:12:01 20:36:36-05:00
File Access Date/Time : 2023:02:15 11:02:37-05:00
File Inode Change Date/Time : 2023:02:15 11:02:37-05:00
File Permissions : -rw-r--r--
File Type : Win32 DLL
File Type Extension : dll
MIME Type : application/octet-stream
Machine Type : Unknown (0xfd1d)
Time Stamp : 2084:09:06 01:19:40-04:00
Image File Characteristics : Executable, Large address aware, DLL
PE Type : PE32+
Linker Version : 11.0
Code Size : 1081856
Initialized Data Size : 323584
Uninitialized Data Size : 0
Entry Point : 0x0000
OS Version : 4.0
Image Version : 0.0
Subsystem Version : 4.0
Subsystem : Windows command line
File Version Number : 6.0.3.1
Product Version Number : 0.0.0.0
File Flags Mask : 0x003f
File Flags : (none)
File OS : Win32
Object File Type : Dynamic link library
File Subtype : 0
Language Code : Neutral
Character Set : Unicode
Comments : Complete commands common to command-line and GUI NuGet clients.
Company Name : Microsoft Corporation
File Description : NuGet.Commands
File Version : 6.0.3.1
Internal Name : NuGet.Commands.dll
Legal Copyright : © Microsoft Corporation. All rights reserved.
Original File Name : NuGet.Commands.dll
Product Name : NuGet
Product Version : 6.0.3-rc.1+c60eee85ec0109bdda894806b167bb4d55f75183.c60eee85ec0109bdda894806b167bb4d55f75183
Assembly Version : 6.0.3.1
```
32767 is `Int16.MaxValue`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.