.NET MSIX config file location

상준 이 251 Reputation points

I'm using MSIX packaging in .NET 5 WPF.

I'm also using a generic host, so I build the config file via IConfigurationBuilder.

When debugging without MSIX, there is no problem when I make my settings file as appsettings.json file name and use it as shown in the screenshot below.


However, when starting debugging in MSIX format, the configuration file is not copied to my application path.


Where are my config files copied to on MSIX?

The build action of my appsettings.json file is 'content' and always copy.


Another question, but I came across this forum mainly when posting questions about Azure Functions.

Can I get an answer if I post it here as well regarding msix?
If so, is it ok to tag as it is now?

Microsoft Technologies based on the .NET software framework.
3,447 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,362 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,801 Reputation points Microsoft Vendor

    Hello @상준 이 ,

    Welcome to Microsoft Q&A forum.

    MSIX is currently not supported in the Microsoft Q&A forums, you can ask here: MSIX community for MSIX related questions.

    Thanks for your understanding, have a great day.

    Best Regards,

    • 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.

0 additional answers

Sort by: Most helpful