Skip to content

Commit 17268e7

Browse files
committed
add debug
1 parent 6279d17 commit 17268e7

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

NavisPythonShell/NavisPythonShell.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
8888
</PropertyGroup>
8989
<ItemGroup>
90-
<Reference Include="Autodesk.Navisworks.Api">
90+
<Reference Include="Autodesk.Navisworks.Api, Version=17.0.1336.83, Culture=neutral, PublicKeyToken=d85e58fa5af9b484, processorArchitecture=AMD64">
91+
<SpecificVersion>False</SpecificVersion>
9192
<HintPath>C:\Program Files\Autodesk\Navisworks Manage 2020\Autodesk.Navisworks.Api.dll</HintPath>
9293
<Private>False</Private>
9394
</Reference>
@@ -271,6 +272,14 @@
271272
</ItemGroup>
272273
<ItemGroup />
273274
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
275+
<PropertyGroup>
276+
<PreBuildEvent>
277+
</PreBuildEvent>
278+
</PropertyGroup>
279+
<PropertyGroup>
280+
<PostBuildEvent>if not exist "C:\Program Files\Autodesk\Navisworks Manage 2020\Plugins\NavisPythonShell\" mkdir "C:\Program Files\Autodesk\Navisworks Manage 2020\Plugins\NavisPythonShell\"
281+
xcopy $(TargetDir)*.* "C:\Program Files\Autodesk\Navisworks Manage 2020\Plugins\NavisPythonShell\" /Y /I /E</PostBuildEvent>
282+
</PropertyGroup>
274283
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
275284
Other similar extension points exist, see Microsoft.Common.targets.
276285
<Target Name="BeforeBuild">

NavisPythonShell/NavisPythonShellApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void OnLoaded()
3737
//var dllfullpath = Path.Combine(dllfolder, assemblyName + ".dll");
3838
//CreateCommandLoaderAssembly(settings, dllfolder, assemblyName);
3939

40-
//seems like I need to pre-load my dependencies
40+
//seems like I need to pre-load my dependencies
4141
AppDomain.CurrentDomain.Load(typeof(NpsConfig).Assembly.GetName() );
4242

4343
ExecuteStartupScript();

NavisPythonShell/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)