Skip to content

Commit 1d4fca7

Browse files
Support add to AutoCAD 2018 for .NET 4.6
1 parent 36e98c4 commit 1d4fca7

45 files changed

Lines changed: 3994 additions & 1290 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@
2020
*.PDF diff=astextplain
2121
*.rtf diff=astextplain
2222
*.RTF diff=astextplain
23+

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@ pip-log.txt
160160
.mr.developer.cfg
161161

162162
# Mac crap
163-
.DS_Store
163+
.DS_Store

ArxLocatorWizard2010/ArxLocatorWizard.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
<WarningLevel>4</WarningLevel>
5555
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
5656
</PropertyGroup>
57+
<PropertyGroup>
58+
<StartupObject />
59+
</PropertyGroup>
5760
<ItemGroup>
5861
<Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
5962
<SpecificVersion>False</SpecificVersion>

ArxLocatorWizard2010/ObjectARXLocatorForm.Designer.cs

Lines changed: 199 additions & 198 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ArxLocatorWizard2010/ObjectARXLocatorForm.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ public ObjectARXLocatorForm()
4242
{
4343
InitializeComponent();
4444
//- Read path from last time
45-
mConfig = new XmlConfigurator.XmlConfig(Wizard.AddInCompany, Wizard.AddInProductName, Wizard.AddInBaseConfigName);
46-
this.sdkpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/Location");
47-
//this.sdkpath.Text ="C:\\Users\\cyrille\\__sdk\\ObjectARX\\2010_Gator" ;
48-
this.acadpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/AcadLocation");
45+
mConfig = new XmlConfigurator.XmlConfig(Wizard.AddInCompany, Wizard.AddInProductName, Wizard.AddInBaseConfigName);
46+
47+
this.sdkpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/Location");
48+
//this.sdkpath.Text ="C:\\Users\\cyrille\\__sdk\\ObjectARX\\2010_Gator" ;
49+
this.acadpath.Text = mConfig.ValueAt(".//Autodesk/Wizards/ObjectARX/AcadLocation");
4950

5051
}
5152

@@ -56,8 +57,8 @@ private void searchsdk_Click(object sender, EventArgs e)
5657
string path = this.folderBrowserDialog.SelectedPath;
5758
this.sdkpath.Text = path;
5859
//- Save path for next time
59-
mConfig.SetValueAt(".//Autodesk/Wizards/ObjectARX/Location", path);
60-
mConfig.Save();
60+
mConfig.SetValueAt(".//Autodesk/Wizards/ObjectARX/Location", path);
61+
mConfig.Save();
6162

6263
//It is OK without SDK for vertical products, for ACAD it is a must.
6364
//this.button1.Enabled = (this.sdkpath.Text.Trim().Length != 0

0 commit comments

Comments
 (0)