PalacePal/Pal.Client/README.md

22 lines
560 B
Markdown
Raw Normal View History

2023-02-16 18:51:54 +00:00
# Palace Pal
## Client Build Notes
### Database Migrations
Since EF core needs all dll files to be present, including Dalamud ones,
there's a special `EF` configuration that exempts them from setting
`<Private>false</Private>` during the build.
To use with `dotnet ef` commands, specify it as `-c EF`, for example:
```shell
dotnet ef migrations add MigrationName --configuration EF
```
2023-02-22 23:38:52 +00:00
To rebuild the compiled model:
2023-10-03 20:05:19 +00:00
2023-02-22 23:38:52 +00:00
```shell
dotnet ef dbcontext optimize --output-dir Database/Compiled --namespace Pal.Client.Database.Compiled --configuration EF
```