Question about dotnet SDK version and Runtime version

William Liu 466 Reputation points
2024-09-12T05:13:57.56+00:00

I always update my dotnet SDK to the latest version for developing WPF applications. Does it mean the customer who run run my app also need the latest runtime to be installed?

For example, I am using SDK 8.0.401 now, does it matter if the customer PC is with Runtime 8.0.0? Or need to update to Runtime 8.0.8?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,762 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Hongrui Yu-MSFT 1,605 Reputation points Microsoft Vendor
    2024-09-13T06:15:47.09+00:00

    Hi,@William Liu. Welcome to Microsoft Q&A. 

    Users do not necessarily need to update the .NET runtime to match the developer. Users only need to install the .NET runtime that is compatible with your application.

    You can take advantage of the latest SDK features and improvements while targeting earlier.

    Related Documents: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#the-sdk-uses-the-latest-installed-version

     

    If you are still worried, you could bundle the .NET runtime and libraries with your application and publish them together. At this time, the project will no longer depend on the user's runtime environment.

    Related Documents: https://learn.microsoft.com/en-us/dotnet/core/versions/selection#self-contained-deployments-include-the-selected-runtime.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.