Copy content files to output directory of DNX Console app via project.json

后端 未结 4 2387
抹茶落季
抹茶落季 2021-02-19 22:56

I\'ve just started working with DNX 1.0.0-rc1-update1 in VS2015. My first app is a \'Console Application (package)\' project. Everything works, except NLog logging. I suspect it

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-19 23:36

    I think it is broken in RC1. I was also looking how to get content files copied to the output folder, and found this issue that looks similar to what we are seeing.

    As @Nkosi points out, the default for content is **/* (you can see via the docs link he provided, and also by the schema).

    As for your postbuild step, you can get it going by "producing outputs".

提交回复
热议问题