none
.net core self contained packages publishing older version of DLL RRS feed

  • Question

  • Hi,
    I am trying to publish the console application built in .net core in self contained mode. But its giving me older version of pdb and dll file( 4 5 days older not including latest change). 

    using below command-
    dotnet publish -c Release -r win-x64 --self-contained true
    Wednesday, March 25, 2020 6:41 AM

All replies

  • Hi kp4312,
    When you publish a self-contained deployment (SCD), the .NET Core SDK creates a platform-specific executable. Publishing an SCD includes all required .NET Core files to run your app but it doesn't include the native dependencies of .NET Core.
    Publishing an SCD creates an app that doesn't roll forward to the latest available .NET Core security patch.
    More detailes you can refer to this document.
    [Publish .NET Core apps with the .NET Core CLI]
    Best Regards,
    Daniel Zhang


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, March 25, 2020 8:45 AM