Visual Studio for Mac 生成事件设置
2018-11-28 本文已影响11人
吴占超
感谢喜乐科技
WechatIMG14.png
image.png
![](https://img.haomeiwen.com/i1530737/261a9eca0023fd90.png)
vs autofac 依赖注入以后,自动将dll 复制到项目实际目录
在windows平台可以使用生成命令:
xcopy /e /r /y $(ProjectDir)\bin\Debug $(SolutionDir)\BussinessServer\bin\
在Mac平台可以使用生成命令:
cp -R $(ProjectDir)/bin/Debug $(SolutionDir)/BussinessServer/bin/
![](https://img.haomeiwen.com/i1530737/44fee18b3d7a5a0c.png)