Skip to content

Commit

Permalink
add build path for release
Browse files Browse the repository at this point in the history
  • Loading branch information
NgoMinhhh committed Oct 8, 2024
1 parent 0c5518e commit 8229350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions NavisPlugin/NavisPlugin.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
<OptionInfer>Off</OptionInfer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NavisPlugin1.0|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -59,12 +59,6 @@
<OutputPath>bin\x64\NavisPlugin1.0\</OutputPath>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == '23|AnyCPU'">
<OutputPath>bin\23\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == '23|x64'">
<OutputPath>bin\x64\23\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autodesk.Navisworks.Api">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Navisworks Manage 2025\Autodesk.Navisworks.Api.dll</HintPath>
Expand Down Expand Up @@ -152,7 +146,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /Y /R "$(SolutionDir)LoDVerifyer\dist\LoDVerifyer.exe" "$(OutDir)"
<PostBuildEvent>xcopy /Y /R "$(SolutionDir)LoDVerifyer\dist\LoDVerifyer.exe" "$(TargetDir)"
</PostBuildEvent>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions NavisPlugin/PropertiesVerifyerModule.vb
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Module PropertiesVerifyerModule
Public Function GetCurrentSelectionAllElements() As ModelItemCollection
' Initialize a new collection to hold all descendant elements
Dim newCollection As New ModelItemCollection()
For Each modelItem In Autodesk.Navisworks.Api.Application.ActiveDocument.CurrentSelection.SelectedItems
newCollection.AddRange(modelItem.DescendantsAndSelf)
For Each item In Autodesk.Navisworks.Api.Application.ActiveDocument.CurrentSelection.SelectedItems
newCollection.AddRange(item.DescendantsAndSelf)
Next
Return newCollection
End Function
Expand Down

0 comments on commit 8229350

Please sign in to comment.