-
Notifications
You must be signed in to change notification settings - Fork 1
/
BCFplugin.csproj
75 lines (65 loc) · 2.98 KB
/
BCFplugin.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<NavisProduct>Manage</NavisProduct>
<NavisVersion>2021</NavisVersion>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform>AnyCPU</Platform>
<ProjectGuid>{E6A1343E-168F-40BF-9AA5-180B9E00C212}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>BCFplugin</RootNamespace>
<AssemblyName>BCFplugin</AssemblyName>
<Company>SUEZ</Company>
<Product>BCFplugin</Product>
<TargetFramework>net472</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>
<!-- Only Release -->
<PropertyGroup>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autodesk.Navisworks.Api">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Navisworks $(NavisProduct) $(NavisVersion)\Autodesk.Navisworks.Api.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<None Include="*\*.name"><CopyToOutputDirectory>Always</CopyToOutputDirectory></None>
<None Include="*\*.xaml"><SubType>Designer</SubType><CopyToOutputDirectory>Always</CopyToOutputDirectory></None>
<None Include="Images\*.ico"><CopyToOutputDirectory>Always</CopyToOutputDirectory></None>
<None Include="Images\*.jpg"><CopyToOutputDirectory>Always</CopyToOutputDirectory></None>
</ItemGroup>
<PropertyGroup>
<LocalDir>$(ProjectDir)\</LocalDir>
<AppDir>%appdata%\Autodesk Navisworks $(NavisProduct) $(NavisVersion)\</AppDir>
<Plugins>$(AppDir)Plugins\</Plugins>
<Destination>$(Plugins)$(AssemblyName)\</Destination>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="Build">
<Exec Command="echo."/>
<Exec Command="echo TARGET NAME : $(AssemblyName)"/>
<!--Exec Command="echo TARGET DIR : $(TargetDir)"/-->
<!--Exec Command="echo PROJECT DIR : $(ProjectDir)"/-->
<Exec Command="echo COPY PLUGIN IN : $(Destination)"/>
<Exec Command="echo."/>
<Exec Command='IF NOT EXIST "$(Plugins)" mkdir "$(Plugins)"' />
<Exec Command='IF EXIST "$(Destination)" rmdir /S /Q "$(Destination)"'/>
<Exec Command='XCOPY /Q /Y /E "$(TargetDir)*.*" "$(Destination)"> nul'/>
</Target>
</Project>