杜晓宇

Results 3 comments of 杜晓宇

`DevZH.LibUI` is a simple package which only contains some runtime files. It's based on [noliar/DevZH.LibUI.Build](https://github.com/noliar/DevZH.LibUI.Build) and [noliar/DevZH.LibUI.Package](https://github.com/noliar/DevZH.LibUI.Package).

You can add some `prepublish` script into `project.json`. eg. ![image](https://cloud.githubusercontent.com/assets/5773982/16082891/a448ab20-3345-11e6-9945-e761f7625f64.png) :( But it doesn't copy the sqlite database file to the output directory using `dotnet publish`. ![image](https://cloud.githubusercontent.com/assets/5773982/16083248/e7fca9f6-3346-11e6-876f-fc9f1844039e.png) ![image](https://cloud.githubusercontent.com/assets/5773982/16083295/0e44b2f2-3347-11e6-81e7-020a1bcdb454.png)

I don't know whether the `DATABASE_URL` value can be used in `Npgsql` directly or not. ![image](https://cloud.githubusercontent.com/assets/5773982/16175667/ae15fc94-3628-11e6-9de1-261e33adc01f.png) I just tested it using hard-coding ConnectionString, and it seems to work. noliar/ASP.NET-Core-Sample@b59e3a7 https://netcore.herokuapp.com/Account/Register...