首页 > 技术文章 > 类库间无项目引用时,在编译时拷贝DLL

xcj26 2016-07-14 16:09 原文

例一:

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

 

图例:

推荐阅读