类库间无项目引用时,在编译时拷贝DLL

例一:

xcopy $(TargetPath) $(SolutionDir)\Framework\HCSP.App\bin\Debug /y

 

例二:

xcopy $(TargetPath) $(SolutionDir)\Framework\HCSP.App\bin\Debug /y

xcopy $(TargetPath) $(SolutionDir)\Framework\HCSP.DIYStduio.App\bin\Debug /y

xcopy $(TargetDir)Omu.Drawing.dll $(SolutionDir)\Framework\HCSP.App\bin\Debug /y

xcopy $(TargetDir)Omu.Drawing.dll $(SolutionDir)\Framework\HCSP.DIYStduio.App\bin\Debug /y

xcopy $(TargetDir)ImageResizer4DotNet.dll $(SolutionDir)\Framework\HCSP.App\bin\Debug /y

xcopy $(TargetDir)ImageResizer4DotNet.dll $(SolutionDir)\Framework\HCSP.DIYStduio.App\bin\Debug /y

xcopy $(TargetPath) $(SolutionDir)\Framework\HCSP.SupplierStudio.App\bin\Debug /y

 

图例:

posted @ 2016-07-14 16:09 Sam Xiao 阅读(...) 评论(...) 编辑 收藏