You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/features-additional-files.md
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,9 @@ Exclusions:
39
39
40
40
1. Files in the `WasmScript` folder will be set as `UnoDeploy="None"` by default (they are not treat as content)
41
41
42
-
2. Files in the `wwwroot` folder will be set as `UnoDeploy="Root"` by default
42
+
1. Files in the `wwwroot` folder will be set as `UnoDeploy="Root"` by default
43
43
44
-
3. You can manually set the _deploy mode_ in the `.csproj` in the following way:
44
+
1. You can manually set the _deploy mode_ in the `.csproj` in the following way:
45
45
46
46
```xml
47
47
<ItemGroup>
@@ -56,6 +56,18 @@ Exclusions:
56
56
</ItemGroup>
57
57
```
58
58
59
-
Asset files: `wwwroot/uno-assets.txt` contains the package relative paths of the content files that were copied to the `wwwroot` folder. It can be used to identify which assets are packaged with the application at runtime and avoid costly probing operations. Important: Will only contain files deployed in `UnoDeploy="Package"` mode.
59
+
1. A few files extensions are excluded (`UnoDeploy="None")`by default such as `*.a`, `*.o`. `.html` files are those named `web.config` will default to `UnoDeploy="Root"`.
60
60
61
-
A few files extensions are excluded (`UnoDeploy="None")`by default such as `*.a`, `*.o`. `.html` files are those named `web.config` will default to `UnoDeploy="Root"`.
61
+
### Asset dictionary
62
+
63
+
The file `wwwroot/package_XXX/uno-assets.txt` contains the package relative paths of the content files that were copied to the `wwwroot` folder.
64
+
65
+
It can be used to identify which assets are packaged with the application at runtime and avoid costly probing operations.
66
+
67
+
The files are specified in two parts:
68
+
69
+
- The files located in the `_framework` folder, which are all the assemblies used to run the app. The path in the `uno-assets.txt` file is relative to the base uri of the site.
70
+
- The files contained in `package_XXX` folder, which are the Content files specified at build time. The path in the `uno-assets.txt` file is relative to the `package_XXX` folder of the site.
71
+
72
+
> [!IMPORTANT]
73
+
> This file only contain files deployed in `UnoDeploy="Package"` mode.
0 commit comments