-
Notifications
You must be signed in to change notification settings - Fork 2
/
PlantAnApp.Integrations.CloudPdfSign.csproj
62 lines (54 loc) · 3.31 KB
/
PlantAnApp.Integrations.CloudPdfSign.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyName>PlantAnApp.Integrations.CloudPdfSign</AssemblyName>
<RootNamespace>PlantAnApp.Integrations.CloudPdfSign</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<OutputPath>bin\$(Configuration)\</OutputPath>
<DefineConstants>TRACE;NET40;RELEASE</DefineConstants>
<Optimize>true</Optimize>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseAutoBuild|AnyCPU'">
<OutputPath>bin\release\</OutputPath>
<DefineConstants>TRACE;NET40;RELEASE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Develop|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\$(Configuration)\</OutputPath>
<DefineConstants>TRACE;DEBUG;NET40;DEVELOP</DefineConstants>
<DebugType>full</DebugType>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<None Include=".build-package\build.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DotNetNuke.Core" Version="9.9.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\DnnSharp\Common\DnnSharp.Common.Actions\DnnSharp.Common.Actions.csproj" />
<ProjectReference Include="..\..\..\..\DnnSharp\Common\DnnSharp.Common\DnnSharp.Common.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="itextsharp">
<HintPath>.lib\itextsharp.dll</HintPath>
</Reference>
<Reference Include="Paperless.DotNetSdk">
<HintPath>.lib\Paperless.DotNetSdk.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.ServiceModel" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if $(ConfigurationName) == Debug goto copyfiles
if $(ConfigurationName) == Develop goto copyfiles
if $(ConfigurationName) == Release goto copyfiles
goto end

:copyfiles

xcopy "$(TargetDir)$(TargetName).dll" "$(ProjectDir)..\..\..\..\..\bin\*.*" /y /q
xcopy "$(TargetDir)$(TargetName).pdb" "$(ProjectDir)..\..\..\..\..\bin\*.*" /y /q

xcopy "$(ProjectDir)\Config\Common\*.*" "$(ProjectDir)..\..\..\..\DnnSharp\Common\Config\*.*" /e /s /y /q
xcopy "$(ProjectDir).lib\itextsharp.dll" "$(ProjectDir)..\..\..\..\..\bin\PlantAnApp\*.*" /y /q
xcopy "$(ProjectDir).lib\Paperless.DotNetSdk.dll" "$(ProjectDir)..\..\..\..\..\bin\PlantAnApp\*.*" /y /q
xcopy "$(ProjectDir).lib\Paperless.DotNetSdk.dll.config" "$(ProjectDir)..\..\..\..\..\bin\PlantAnApp\*.*" /y /q

:end" />
</Target>
</Project>