類庫間無專案引用時,在編譯時拷貝DLL

weixin_34292959發表於2019-01-13

例一:

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

 

圖例:

相關文章