-
Notifications
You must be signed in to change notification settings - Fork 1
/
inv-plugin.csproj
53 lines (43 loc) · 1.83 KB
/
inv-plugin.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<RootNamespace>InvAddinPlugin</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<AssemblyName>inv-plugin</AssemblyName>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Authors>Author Name</Authors>
<Company>Company Name</Company>
<Product>Product Name</Product>
<Description>Plugin description</Description>
<Copyright>copyright text</Copyright>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>../../artifacts/Plugins</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>../../artifacts/Plugins</OutputPath>
</PropertyGroup>
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>true</AppendRuntimeIdentifierToOutputPath>
<IsPublishable>True</IsPublishable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="InventorCode.Plugin" Version="0.6.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="Autodesk.Inventor.Interop">
<HintPath>..\..\..\..\..\..\..\..\Program Files\Autodesk\Inventor 2021\Bin\Public Assemblies\Autodesk.Inventor.Interop.dll</HintPath>
<CopyLocal>False</CopyLocal>
<EmbedInteropTypes>False</EmbedInteropTypes>
</Reference>
<Reference Include="System.ComponentModel.Composition">
<CopyLocal>False</CopyLocal>
</Reference>
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(ConfigurationName)==Debug (
XCopy "$(TargetPath)" "%25AppData%25\Autodesk\ApplicationPlugins\inv-plugin-host\Plugins\" /Y /R)" />
</Target>
</Project>