are below mentioned packages windows-specific dependencies?

Tanuja Valluru 40 Reputation points
2023-02-01T08:36:51.65+00:00

My web application is using below packages,

  1. System.Security.Principal.Windows
  2. WindowsAzure.Storage
  3. Microsoft.WindowsAzure.ConfigurationManager
  4. System.windows.forms
  5. this particular application also has .resx files

It does not have .xaml files,

while migrating to .net6 using upgrade assistant autmatically migrated to WPF and so it added Target framework as .net6.0-windows and output type as .exe.

Do you think above mentioned are windows-specific dependencies, which caused to migrate webapplication to wpf and output type as exe?

 

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,626 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 52,491 Reputation points
    2023-02-01T20:24:37.56+00:00

    System.Security.Principal.Windows is being ported, not all features may work in non-widows environment

    WindowsAzure.Storage is obsolete, and should be replaced, perhaps with Azure.Storage.Blobs

    Microsoft.WindowsAzure.ConfigurationManager is obsolete. see:

    https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-dotnet-core-app?tabs=windowscommandprompt

    System.Windows.Forms is windows only

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 52,491 Reputation points
    2023-02-01T20:25:06.0833333+00:00

    (extra post to make my post visible)

    0 comments No comments