Skip to content

File diff between source build vs Microsoft builds .NET Core 3.0 #1123

Closed

Description

@omajid

Here's the complete diff of list of files included in source-build (on Fedora 30) vs files included in Microsoft's build of .NET Core 3.0 Preview 6:

https://gist.github.com/omajid/14528cb3695550da6c77e3d042e7289c

Some things that looked surprising to me:

  • Microsoft.NETCore.App.Host.linux-x64 vs Microsoft.NETCore.App.Host.fedora.30-x64: will this impact which targetting packs can be used by source-build users?

  • A whole bunch of .xml files are missing in targetting packs in source-build

  • datacollector.dll is missing in source-build

  • DotnetTools are missing source-build

  • Microsoft.NET.Build.Extensions/tools/netcoreapp2.0 is replaced by Microsoft.NET.Build.Extensions/tools/netcoreapp2.1 in source-build

  • Microsoft.TestPlatform.PlatformAbstractions.deps.json is missing. Could this be related to dotnet test doesn't work on .NET Core 3.0 Preview 6 microsoft/vstest#2079 ?

  • TestHost is missing

  • Microsoft.AspNetCore.App is missing.

  • A large number of localized dlls (is that what they are?) like -./sdk/3.0.100-preview6-012264/cs/NuGet.Build.Tasks.resources.dll are missing in source-build.

Activity

  1. omajid commented on Jul 2, 2019

    @omajid
    MemberAuthor
  2. changed the title [-]File diff between source build vs Microsoft builds .NET Core 3.0 Preview 6 [/-] [+]File diff between source build vs Microsoft builds .NET Core 3.0 Preview 7[/+] on Aug 2, 2019
  3. changed the title [-]File diff between source build vs Microsoft builds .NET Core 3.0 Preview 7[/-] [+]File diff between source build vs Microsoft builds .NET Core 3.0[/+] on Aug 2, 2019
  4. omajid commented on Aug 2, 2019

    @omajid
    MemberAuthor

    Here's the diff for Preview 7: https://gist.github.com/omajid/89ff74bf2393357073cf10bf952de12b

    Notable differences:

    • Microsoft.NETCore.App.Host.linux-x64 vs Microsoft.NETCore.App.Host.fedora.30-x64: will this impact which targetting packs can be used by source-build users?

    • A whole bunch of .xml files are missing in targeting packs in source-build

    • Microsoft.WindowsDesktop.App.Ref is supposed to be missing on Linux, right? We remove it manually after source-build. Related to Analyze prebuilts for corefx #884.

    • A large number of localized resource dlls (is that what they are?) like ./sdk/3.0.100-preview7-012821/cs/Microsoft.Build.NuGetSdkResolver.resources.dll are missing in source-build.

    • /sdk/3.0.100-preview7-012821/datacollector.dll is missing in source-build

    • DotnetTools is still missing in source-build

    • Source-build includes ./sdk/3.0.100-preview7-012821/FSharp/runtimes/osx.10.10-x64/native/System.Security.Cryptography.Native.Apple.dylib that Microsoft's builds dont. This sounds like a pre-built sneaking into the build.

      • Similar problem with ./sdk/3.0.100-preview7-012821/runtimes/osx.10.10-x64/native/System.Security.Cryptography.Native.Apple.dylib which is only present in source-build
    • ./sdk/3.0.100-preview7-012821/Microsoft.TestPlatform.PlatformAbstractions.deps.json is missing in source-build

    • ./sdk/3.0.100-preview7-012821/Roslyn/bincore/System.Runtime.CompilerServices.Unsafe.dll is missing

    • ./sdk/3.0.100-preview7-012821/TestHost is missing in source-build

  5. dleeapho commented on Aug 5, 2019

    @dleeapho
    Contributor
  6. crummel commented on Aug 5, 2019

    @crummel
    Contributor
    • Microsoft.NETCore.App.Host.linux-x64 vs Microsoft.NETCore.App.Host.fedora.30-x64: will this impact which targetting packs can be used by source-build users?

    • A whole bunch of .xml files are missing in targeting packs in source-build

      • These are Intellisense so they shouldn't have much of an end-user effect, but it's weird that we've never included them. I'm looking into why that is.
    • Microsoft.WindowsDesktop.App.Ref is supposed to be missing on Linux, right? We remove it manually after source-build. Related to Analyze prebuilts for corefx #884.

      • Correct, I don't believe this is source-buildable. End-users can pull the package in with NuGet to reference it. Anything I'm missing @dagood?
    • A large number of localized resource dlls (is that what they are?) like ./sdk/3.0.100-preview7-012821/cs/Microsoft.Build.NuGetSdkResolver.resources.dll are missing in source-build.

      • I know a while ago we said localization was a non-goal for source-build but now that most of the repos have switched to Xliff localization and we build Xliff, I'm not sure that we can't do it. I'll take a look.
    • /sdk/3.0.100-preview7-012821/datacollector.dll is missing in source-build

      • VSTest build process changed quite a bit, we probably need to update something there. Looking into it.
    • DotnetTools is still missing in source-build

      • Pending investigation.
    • Source-build includes ./sdk/3.0.100-preview7-012821/FSharp/runtimes/osx.10.10-x64/native/System.Security.Cryptography.Native.Apple.dylib that Microsoft's builds dont. This sounds like a pre-built sneaking into the build.

      • Interesting, I know we were expecting to include OSX stuff that we had no way to build at some point. If they've stopped shipping it then we should be able to as well, I'll take a look and see why it's still happening.
    • Similar problem with ./sdk/3.0.100-preview7-012821/runtimes/osx.10.10-x64/native/System.Security.Cryptography.Native.Apple.dylib which is only present in source-build

      • ditto
    • ./sdk/3.0.100-preview7-012821/Microsoft.TestPlatform.PlatformAbstractions.deps.json is missing in source-build

      • Another VSTest file, looking into it.
    • ./sdk/3.0.100-preview7-012821/Roslyn/bincore/System.Runtime.CompilerServices.Unsafe.dll is missing

      • Unsafe looks like it might have native stuff, I'll check it out.
    • ./sdk/3.0.100-preview7-012821/TestHost is missing in source-build

      • ditto other VSTest issue
  7. dagood commented on Aug 5, 2019

    @dagood
    Member
    • Microsoft.NETCore.App.Host.linux-x64 vs Microsoft.NETCore.App.Host.fedora.30-x64: will this impact which targetting packs can be used by source-build users?

      • Pending. Any comment dagood or nguerrera ?

    The way I'd expect this to work is that if a source-build SDK user publishes for FDE or SCD with the generic/portable linux-x64 RID, they'll pull down the Microsoft.NETCore.App.Host.linux-x64 AppHost pack from the nuget gallery. If they publish with the fedora.30-x64 RID, they'll use the source-built Microsoft.NETCore.App.Host.fedora.30-x64. I don't know which one would be the default for a source-built SDK.

    I wouldn't expect any unusual behavior for the targeting packs either way, though, RID should have no impact on them.

    • A whole bunch of .xml files are missing in targeting packs in source-build

      • These are Intellisense so they shouldn't have much of an end-user effect, but it's weird that we've never included them. I'm looking into why that is.

    Maybe Omnisharp finds and shows them?

    • Microsoft.WindowsDesktop.App.Ref is supposed to be missing on Linux, right? We remove it manually after source-build. Related to Analyze prebuilts for corefx #884.

      • Correct, I don't believe this is source-buildable. End-users can pull the package in with NuGet to reference it. Anything I'm missing dagood?

    It isn't supported to bring the package in (there are certain build tasks that won't run on non-Windows) but correct that it can't be built from source. Another related issue: dotnet/core-setup#6198.

    We should turn it off when building from source so it doesn't add prebuilts and you don't have to remove the bogus package, filed https://github.com/dotnet/core-setup/issues/7572. I'm a little surprised prebuilts aren't showing up, but I'd guess they're all ref-only and automatically ildasm/asm'd.

  8. nguerrera commented on Aug 5, 2019

    @nguerrera
    Contributor

    The way I'd expect this to work is that if a source-build SDK user publishes for FDE or SCD with the generic/portable linux-x64 RID, they'll pull down the Microsoft.NETCore.App.Host.linux-x64 AppHost pack from the nuget gallery.

    This is what I expect too. I think it would be a better experience to make this linux-x64 on source build too. I think most users will not use a distro-specific RID. What is $(NETCoreSdkRuntimeIdentifier) set to in the bundledversions.props file? If it is not linux-x64, I think that's a problem. I would expect both to be linux-x64.

  9. dseefeld commented on Aug 15, 2019

    @dseefeld
    Contributor

    /sdk/3.0.100-preview7-012821/datacollector.dll is missing in source-build

    VSTest build process changed quite a bit, we probably need to update something there. Looking into it.

    vstest build is failing on datacollector. See #1180

  10. dseefeld commented on Aug 22, 2019

    @dseefeld
    Contributor

    This check should be added as part of the release process for future source-build releases.

  11. tmds commented on Aug 23, 2019

    @tmds
    Member

    @dseefeld are you planning to use source-build for Microsoft (non-Windows) .NET Core builds at some point? That would make it unnecessary to diff and track down the differences...

  12. omajid commented on Aug 24, 2019

    @omajid
    MemberAuthor

    Here's the diff for Preview 8 (source-build commit ac534e8 vs Microsoft's 3.0 Preview 8 release)

    https://gist.github.com/omajid/274fb6c340168a406141c322c7cdad4b

    Things that caught my eye:

    • Source-build is missing xml files in targeting packs

    • source-build's sdk is missing several localization resources

    • source-build is missing datacollector

    • source-build includes prebuilt FSharp runtimes for osx

    • source-build includes extra Microsoft.Bcl.AsyncInterfaces.dll

    • source-build includes extra sdk/3.0.100-preview8-013656/netcoreapp2.1 directory

    • source-build is missing several files in Rolsyn's bincore dir

    • source-build is missing resources in sdk's NuGet.Build.Tasks.Pack

    • source-build's sdk is missing TestHost

    • my builds of source-build include pdbs in the Microsoft.NETCore.App shared framework because we don't have a separate symbol server. But this is only true for Microsoft.NETCore.App, not Microsoft.AspNetCore.App

    • The version of the microsoft.dotnet.common.projecttemplates template is slightly different between the two builds

  13. dagood commented on Sep 3, 2019

    @dagood
    Member

    are you planning to use source-build for Microsoft (non-Windows) .NET Core builds at some point? That would make it unnecessary to diff and track down the differences...

    No, there are some Microsoft requirements and some "use build outputs from all platforms to create something for the current platform" steps that make this is a large undertaking, and I'm not aware of plans to do this.

  14. dseefeld commented on Sep 19, 2019

    @dseefeld
    Contributor

    @crummel to look into updates from RC1

  15. omajid commented on Sep 19, 2019

    @omajid
    MemberAuthor

    Here's the list of differences in Preview 9:

    https://gist.github.com/omajid/d1fa682c09b1675920a3dc4716e9f7ba

    I used this as the Microsoft build of Preview 9 and compared it to the preview 9 tag of source build

    Stuff that caught my eye:

    • ASP.NET Core is at preview 8 in source-build

    • Portable vs non-portable apphost. This is expected.

    • Source build is missing API xml files for code completion

    • A large number of .resources.dll are missing in source-build

    • Source-build is missing the SDK TestHost

  16. MichaelSimons commented on Oct 18, 2022

    @MichaelSimons
    Member

    [Triage] Closing this issue as instance specific issues exist for the differences in the current product that should be addressed. If you don't see an issue for a specific difference that should be addressed, please open one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions