Unpackaged publishing #8389
Replies: 2 comments 3 replies
-
For the languages, when your application is self contained, what actually happens is that Visual Studio copies the contents of the Windows App SDK framework package to your application directory. This is the file named Microsoft.WindowsAppRuntime.1.x.msix. So you can't really stop the creation of the language directories. For whether or not you can delete them, technically you can. They contain .mui resources, the same as Windows' language packs. But this would essentially be unsupported. As for the ability to publish a single file, the answer will most likely always be no. The Windows App SDK components are native meaning that these will be separate files. |
Beta Was this translation helpful? Give feedback.
-
I've modified this example from an AndrewKeepCoding repo (edit your csproj file)...
You can edit this to match both Packaged and Unpackaged builds.
|
Beta Was this translation helpful? Give feedback.
-
Hello, when I compile/publish my app, visual studio creates a lot of language folders like "en-US" for every language. Are they actually needed if my app is english only? And how can I stop visual studio create them?
At this moment any possibility to publish single file for unpackaged self contained + appsdk self contained? I'm tired to see 350 dlls in my app folder :)
Beta Was this translation helpful? Give feedback.
All reactions