File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ @ echo off
2+ %~d0
3+ cd /d %~dp0
4+
5+ set ProjectName = AutoCAD CSharp plug-in
6+ set ProjectDir = ..\..\%ProjectName% \
7+
8+ mkdir Output 2 > nul
9+ mkdir " Output\%ProjectName% " 2 > nul
10+ mkdir " Output\%ProjectName% \Properties" 2 > nul
11+ cd " Output\%ProjectName% "
12+
13+ if exist " ..\%ProjectName% .zip" del " ..\%ProjectName% .zip"
14+ del *.* /s /q > nul
15+ copy /Y " %ProjectDir%%ProjectName% - 2014.csproj" " .\%ProjectName% .csproj" > nul
16+ copy /Y " %ProjectDir% myPlugin.cs" . > nul
17+ copy /Y " %ProjectDir% myCommands.cs" . > nul
18+ copy /Y " %ProjectDir% myCommands.resx" . > nul
19+ copy /Y " %ProjectDir% myCommands.Designer.cs" . > nul
20+ copy /Y " %ProjectDir% Properties\*.*" " .\Properties" > nul
21+ copy /Y " %ProjectDir% Template Data\__TemplateIcon.ico" . > nul
22+ copy /Y " %ProjectDir% Template Data\MyTemplate.vstemplate" . > nul
23+ " C:\Program Files\WinRAR\WinRAR.exe" a -r " ..\%ProjectName% .zip" *.* > nul
24+ copy /Y " %ProjectDir% Template Data\MyTemplate - WDExpress.vstemplate" " MyTemplate.vstemplate" > nul
25+ " C:\Program Files\WinRAR\WinRAR.exe" a -r " ..\%ProjectName% -WD.zip" *.* > nul
26+
27+ pause
You can’t perform that action at this time.
0 commit comments