Skip to content

Commit 2b83b53

Browse files
committed
"Updated this project for AutoCAD 2026 compatibility"
1 parent 2b5b081 commit 2b83b53

File tree

10 files changed

+21
-14
lines changed

10 files changed

+21
-14
lines changed

AutoCAD-Plugin-Template/ExamplePlugin/ExamplePlugin.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
1212
</PropertyGroup>
1313
<ItemGroup>
14-
<PackageReference Include="AutoCAD.NET" Version="25.0.1" />
14+
<PackageReference Include="AutoCAD.NET" Version="25.1.0" />
1515
</ItemGroup>
1616
<ItemGroup>
1717
<Compile Update="myCommands.Designer.cs">

AutoCAD-Plugin-Template/ExamplePlugin/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"Acad": {
77
"commandName": "Executable",
8-
"executablePath": "D:\\ACAD\\venn\\AutoCAD 2025\\acad.exe"
8+
"executablePath": "C:\\Program Files\\Autodesk\\AutoCAD 2026\\acad.exe"
99
}
1010
}
1111
}

AutoCAD-Plugin-Template/ExamplePluginVB/ExamplePluginVB.vbproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<RootNamespace>ExamplePluginVB</RootNamespace>
54
<TargetFramework>net8.0-windows</TargetFramework>
@@ -12,7 +11,7 @@
1211
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
1312
</PropertyGroup>
1413
<ItemGroup>
15-
<PackageReference Include="AutoCAD.NET" Version="25.0.1" />
14+
<PackageReference Include="AutoCAD.NET" Version="25.1.0" />
1615
</ItemGroup>
1716
<ItemGroup>
1817
<Compile Update="myCommands.Designer.vb">
@@ -28,4 +27,7 @@
2827
<LastGenOutput>myCommands.Designer.vb</LastGenOutput>
2928
</EmbeddedResource>
3029
</ItemGroup>
30+
<ItemGroup>
31+
<Folder Include="Properties\" />
32+
</ItemGroup>
3133
</Project>

AutoCAD-Plugin-Template/ExamplePluginVB/My Project/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"Acad": {
77
"commandName": "Executable",
8-
"executablePath": "D:\\ACAD\\venn\\AutoCAD 2025\\acad.exe"
8+
"executablePath": "C:\\Program Files\\Autodesk\\AutoCAD 2026\\acad.exe"
99
}
1010
}
1111
}

AutoCAD-Plugin-Template/PluginVsix/PluginVsix.csproj

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
<Compile Include="Properties\AssemblyInfo.cs" />
6666
</ItemGroup>
6767
<ItemGroup>
68-
<Content Include="ProjectTemplates\AutoCAD 2025 Plugin VB.zip">
68+
<Content Include="ProjectTemplates\AutoCAD 2026 Plugin CS.zip">
6969
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
7070
<IncludeInVSIX>true</IncludeInVSIX>
7171
</Content>
72-
<Content Include="ProjectTemplates\AutoCAD 2025 Plugin CS.zip">
72+
<Content Include="ProjectTemplates\AutoCAD 2026 Plugin VB.zip">
7373
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
7474
<IncludeInVSIX>true</IncludeInVSIX>
7575
</Content>
@@ -78,8 +78,13 @@
7878
</None>
7979
</ItemGroup>
8080
<ItemGroup>
81-
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.32112.339" ExcludeAssets="runtime" />
82-
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.9.3184" />
81+
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.14.40265" ExcludeAssets="runtime">
82+
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
83+
</PackageReference>
84+
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.14.2094">
85+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
86+
<PrivateAssets>all</PrivateAssets>
87+
</PackageReference>
8388
</ItemGroup>
8489
<ItemGroup>
8590
<Content Include="__TemplateIcon.ico">
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

AutoCAD-Plugin-Template/PluginVsix/source.extension.vsixmanifest

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="AutoCAD2025_07DA9910-9E94-471B-BD32-565D05D4D857" Version="1.0" Language="en-US" Publisher="Madhukar Moogala" />
5-
<DisplayName>AutoCAD 2025 Template</DisplayName>
6-
<Description xml:space="preserve">AutoCAD 2025 Project Template for NET 8.0</Description>
4+
<Identity Id="PluginVsix" Version="1.0" Language="en-US" Publisher="Madhukar Moogala" />
5+
<DisplayName>AutoCAD 2026 Template</DisplayName>
6+
<Description xml:space="preserve">AutoCAD 2026 Project Template for NET 8.0</Description>
77
<Icon>__TemplateIcon.ico</Icon>
88
<Tags>C#, CSharp, AutoCAD, VB., .NET8.0</Tags>
99
</Metadata>
@@ -21,8 +21,8 @@
2121
<Dependencies>
2222
</Dependencies>
2323
<Assets>
24-
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="File" Path="ProjectTemplates" d:TargetPath="ProjectTemplates\AutoCAD 2025 Plugin VB.zip" />
25-
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="File" Path="ProjectTemplates" d:TargetPath="ProjectTemplates\AutoCAD 2025 Plugin CS.zip" />
24+
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="File" Path="ProjectTemplates" d:TargetPath="ProjectTemplates\AutoCAD 2026 Plugin CS.zip" />
25+
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="File" Path="ProjectTemplates" d:TargetPath="ProjectTemplates\AutoCAD 2026 Plugin VB.zip" />
2626
</Assets>
2727
<Prerequisites>
2828
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />

0 commit comments

Comments
 (0)