Skip to content

Commit

Permalink
fix test project ref
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Apr 22, 2022
1 parent 8be2ee6 commit 09ece3c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 0 additions & 4 deletions AddInManager.sln
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,9 @@ Global
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug N23|Any CPU.Build.0 = Debug N23|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Installer|Any CPU.ActiveCfg = Release N23|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N20|Any CPU.ActiveCfg = Release N20|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N20|Any CPU.Build.0 = Release N20|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N21|Any CPU.ActiveCfg = Release N21|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N21|Any CPU.Build.0 = Release N21|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N22|Any CPU.ActiveCfg = Release N22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N22|Any CPU.Build.0 = Release N22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N23|Any CPU.ActiveCfg = Release N23|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N23|Any CPU.Build.0 = Release N23|Any CPU
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N22|Any CPU.ActiveCfg = Debug N22|Any CPU
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N22|Any CPU.Build.0 = Debug N22|Any CPU
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N23|Any CPU.ActiveCfg = Debug N23|Any CPU
Expand Down
6 changes: 3 additions & 3 deletions NavisAddinManager/App.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Autodesk.Navisworks.Api.Plugins;
using NavisAddinManager.Command;
using NavisAddinManager.Properties;
using Test;
using Test = NavisAddinManager.Command.Test;

namespace NavisAddinManager;

Expand All @@ -26,8 +26,8 @@ public override int ExecuteCommand(string name, params string[] parameters)
addInManagerFaceless.Execute();
break;
case "ID_ButtonTest":
TestAddInManagerManual hello = new TestAddInManagerManual();
hello.Execute();
Test test = new Test();
test.Execute();
break;
}
return 0;
Expand Down
9 changes: 9 additions & 0 deletions NavisAddinManager/Command/AddInManagerCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,12 @@ public override int Action(params string[] parameters)
}
}

public class Test : IAddinCommand
{
public override int Action(params string[] parameters)
{
MessageBox.Show("Hello World");
return 0;
}
}

4 changes: 0 additions & 4 deletions NavisAddinManager/NavisAddinManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@
<SubType>Designer</SubType>
</Page>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Test\Test.csproj" />
</ItemGroup>
<PropertyGroup>
<PostBuildEvent>powershell -NoProfile -ExecutionPolicy Unrestricted $(SolutionDir)NavisAddinManager\postbuild.ps1 -Configuration '$(Configuration)' -SolutionDir '$(SolutionDir)' -ProjectDir '$(ProjectDir)' -Version '$(NavisVersion)'</PostBuildEvent>
</PropertyGroup>
Expand Down

0 comments on commit 09ece3c

Please sign in to comment.