Skip to content

Commit cc2cc82

Browse files
committed
List of updates:
1. Build in release to get usable msi 2. Update ACAD installation path in property.wxi 3. Update build.md with proper steps to build
1 parent 8078a17 commit cc2cc82

File tree

10 files changed

+15
-14
lines changed

10 files changed

+15
-14
lines changed

AutoCAD CSharp plug-in/Template Data/MyTemplate - WDExpress.vstemplate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
22
<TemplateData>
3-
<Name>AutoCAD 2021 CSharp plug-in</Name>
3+
<Name>AutoCAD 2022 CSharp plug-in</Name>
44
<Description>This is a basic AutoCAD Plugin in C#</Description>
55
<ProjectType>CSharp</ProjectType>
66
<ProjectSubType></ProjectSubType>

AutoCAD VB plug-in/Template Data/MyTemplate - WDExpress.vstemplate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
22
<TemplateData>
3-
<Name>AutoCAD 2020 VB plug-in</Name>
3+
<Name>AutoCAD 2022 VB plug-in</Name>
44
<Description>This is a basic AutoCAD Plugin in VB.net</Description>
55
<ProjectType>VisualBasic</ProjectType>
66
<ProjectSubType></ProjectSubType>

AutoCADNetWizardsInstaller/AutoCADNetWizards.sln

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,39 +31,39 @@ Global
3131
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Debug|Any CPU.ActiveCfg = Debug|x86
3232
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Debug|x86.ActiveCfg = Debug|x86
3333
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Debug|x86.Build.0 = Debug|x86
34-
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Release|Any CPU.ActiveCfg = Debug|x86
34+
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Release|Any CPU.ActiveCfg = Release|x86
3535
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Release|x86.ActiveCfg = Release|x86
3636
{8C2017A2-223D-4EE1-BB86-62B13742521A}.Release|x86.Build.0 = Release|x86
3737
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3838
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
3939
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Debug|x86.ActiveCfg = Debug|Any CPU
4040
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Debug|x86.Build.0 = Debug|Any CPU
41-
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Release|Any CPU.ActiveCfg = Debug|Any CPU
42-
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Release|Any CPU.Build.0 = Debug|Any CPU
41+
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
42+
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Release|Any CPU.Build.0 = Release|Any CPU
4343
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Release|x86.ActiveCfg = Release|Any CPU
4444
{3B69A4AD-360E-49F9-9A79-3FD35D1D15D2}.Release|x86.Build.0 = Release|Any CPU
4545
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4646
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
4747
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Debug|x86.ActiveCfg = Debug|Any CPU
4848
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Debug|x86.Build.0 = Debug|Any CPU
49-
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Release|Any CPU.ActiveCfg = Debug|Any CPU
50-
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Release|Any CPU.Build.0 = Debug|Any CPU
49+
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Release|Any CPU.Build.0 = Release|Any CPU
5151
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Release|x86.ActiveCfg = Release|Any CPU
5252
{60CD007E-34DC-42B2-8A6C-5C7D59184DE5}.Release|x86.Build.0 = Release|Any CPU
5353
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
5454
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
5555
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Debug|x86.ActiveCfg = Debug|Any CPU
5656
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Debug|x86.Build.0 = Debug|Any CPU
57-
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Release|Any CPU.ActiveCfg = Debug|Any CPU
58-
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Release|Any CPU.Build.0 = Debug|Any CPU
57+
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
58+
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Release|Any CPU.Build.0 = Release|Any CPU
5959
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Release|x86.ActiveCfg = Release|Any CPU
6060
{3728FE3E-68BD-4DEC-8E7F-870C262B4D6A}.Release|x86.Build.0 = Release|Any CPU
6161
{A045EA66-7719-41B9-A422-0392885A595C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
6262
{A045EA66-7719-41B9-A422-0392885A595C}.Debug|Any CPU.Build.0 = Debug|Any CPU
6363
{A045EA66-7719-41B9-A422-0392885A595C}.Debug|x86.ActiveCfg = Debug|Any CPU
6464
{A045EA66-7719-41B9-A422-0392885A595C}.Debug|x86.Build.0 = Debug|Any CPU
65-
{A045EA66-7719-41B9-A422-0392885A595C}.Release|Any CPU.ActiveCfg = Debug|Any CPU
66-
{A045EA66-7719-41B9-A422-0392885A595C}.Release|Any CPU.Build.0 = Debug|Any CPU
65+
{A045EA66-7719-41B9-A422-0392885A595C}.Release|Any CPU.ActiveCfg = Release|Any CPU
66+
{A045EA66-7719-41B9-A422-0392885A595C}.Release|Any CPU.Build.0 = Release|Any CPU
6767
{A045EA66-7719-41B9-A422-0392885A595C}.Release|x86.ActiveCfg = Release|Any CPU
6868
{A045EA66-7719-41B9-A422-0392885A595C}.Release|x86.Build.0 = Release|Any CPU
6969
EndGlobalSection
-1005 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-2.5 KB
Binary file not shown.
0 Bytes
Binary file not shown.

AutoCADNetWizardsInstaller/property.wxi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<Property Id="MaintenanceForm_Action" Value="Repair" />
1212
<CustomAction Id="CA_TARGETDIR" Property="TARGETDIR" Value="[ProgramFilesFolder][Manufacturer]\[ProductName]" Execute="firstSequence" />
1313
<Property Id="ACAD">
14-
<RegistrySearch Id="__427D247C67494BD09B6055D05EEB4F8D"
15-
Root="HKLM" Key="SOFTWARE\Autodesk\AutoCAD\R24.0\ACAD-4101\Install" Name="INSTALLDIR" Type="directory" />
14+
<RegistrySearch Id="AutoCAD_2022_Installation_Path"
15+
Root="HKLM" Key="SOFTWARE\Autodesk\AutoCAD\R24.1\ACAD-5101\Install" Name="INSTALLDIR" Type="directory" />
1616
</Property>
1717

1818
<Property Id="VS2019_PRO">

build.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
- for example in AutoCAD VB Plugin project , `"C:\Utils\7z.exe" a -r "..\$(ProjectName).zip" *.* `
77
- Set the path in terminal using: set path=C:\Utils
88
- Open the Visual Solution `"..\AutoCADNetWizardsInstaller\AutoCADNetWizards.sln"` in Visual Studio 2019
9-
- Build Solution
9+
- Build Solution in Release to get the usable AutoCADNetWizards.msi
10+
- Build Solution in Debug for troubleshooting purpose
1011

0 commit comments

Comments
 (0)