개정판 9f55b953
프로젝트별 Config 적용
- Configuration Transform을 이용한 Config Link
Change-Id: I465d0a9927a81de3e56fb08c09431746a74f2f98
KCOM/KCOM.csproj | ||
---|---|---|
107 | 107 |
<ErrorReport>prompt</ErrorReport> |
108 | 108 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
109 | 109 |
</PropertyGroup> |
110 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|AnyCPU'"> |
|
111 |
<DebugSymbols>true</DebugSymbols> |
|
112 |
<OutputPath>bin\Debug_HyoSung\</OutputPath> |
|
113 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
114 |
<DebugType>full</DebugType> |
|
115 |
<PlatformTarget>AnyCPU</PlatformTarget> |
|
116 |
<ErrorReport>prompt</ErrorReport> |
|
117 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
118 |
</PropertyGroup> |
|
119 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|x64'"> |
|
120 |
<DebugSymbols>true</DebugSymbols> |
|
121 |
<OutputPath>bin\x64\Debug_HyoSung\</OutputPath> |
|
122 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
123 |
<WarningLevel>3</WarningLevel> |
|
124 |
<DebugType>full</DebugType> |
|
125 |
<PlatformTarget>x64</PlatformTarget> |
|
126 |
<ErrorReport>prompt</ErrorReport> |
|
127 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
128 |
</PropertyGroup> |
|
129 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|x86'"> |
|
130 |
<DebugSymbols>true</DebugSymbols> |
|
131 |
<OutputPath>bin\x86\Debug_HyoSung\</OutputPath> |
|
132 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
133 |
<DebugType>full</DebugType> |
|
134 |
<PlatformTarget>x86</PlatformTarget> |
|
135 |
<ErrorReport>prompt</ErrorReport> |
|
136 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
137 |
<Prefer32Bit>true</Prefer32Bit> |
|
138 |
</PropertyGroup> |
|
139 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_DevDoftech|AnyCPU'"> |
|
140 |
<DebugSymbols>true</DebugSymbols> |
|
141 |
<OutputPath>bin\Debug_DevDoftech\</OutputPath> |
|
142 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
143 |
<DebugType>full</DebugType> |
|
144 |
<PlatformTarget>AnyCPU</PlatformTarget> |
|
145 |
<ErrorReport>prompt</ErrorReport> |
|
146 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
147 |
</PropertyGroup> |
|
148 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_DevDoftech|x64'"> |
|
149 |
<DebugSymbols>true</DebugSymbols> |
|
150 |
<OutputPath>bin\x64\Debug_DevDoftech\</OutputPath> |
|
151 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
152 |
<WarningLevel>3</WarningLevel> |
|
153 |
<DebugType>full</DebugType> |
|
154 |
<PlatformTarget>x64</PlatformTarget> |
|
155 |
<ErrorReport>prompt</ErrorReport> |
|
156 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
157 |
</PropertyGroup> |
|
158 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_DevDoftech|x86'"> |
|
159 |
<DebugSymbols>true</DebugSymbols> |
|
160 |
<OutputPath>bin\x86\Debug_DevDoftech\</OutputPath> |
|
161 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
162 |
<DebugType>full</DebugType> |
|
163 |
<PlatformTarget>x86</PlatformTarget> |
|
164 |
<ErrorReport>prompt</ErrorReport> |
|
165 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
166 |
<Prefer32Bit>true</Prefer32Bit> |
|
167 |
</PropertyGroup> |
|
110 | 168 |
<ItemGroup> |
111 | 169 |
<Reference Include="Bytescout.PDFExtractor, Version=9.2.0.3293, Culture=neutral, PublicKeyToken=f7dd1bd9d40a50eb, processorArchitecture=MSIL"> |
112 | 170 |
<SpecificVersion>False</SpecificVersion> |
... | ... | |
590 | 648 |
<None Include="app.config"> |
591 | 649 |
<SubType>Designer</SubType> |
592 | 650 |
</None> |
651 |
<None Include="app.Debug.config"> |
|
652 |
<DependentUpon>app.config</DependentUpon> |
|
653 |
</None> |
|
654 |
<None Include="app.Debug_DevDoftech.config"> |
|
655 |
<DependentUpon>app.config</DependentUpon> |
|
656 |
</None> |
|
657 |
<None Include="app.Debug_HyoSung.config"> |
|
658 |
<DependentUpon>app.config</DependentUpon> |
|
659 |
</None> |
|
660 |
<None Include="app.Release.config"> |
|
661 |
<DependentUpon>app.config</DependentUpon> |
|
662 |
</None> |
|
593 | 663 |
<None Include="Connected Services\KcomService\KCOM.KcomService.FinalPDFResult.datasource"> |
594 | 664 |
<DependentUpon>Reference.svcmap</DependentUpon> |
595 | 665 |
</None> |
... | ... | |
1382 | 1452 |
</PostBuildEvent> |
1383 | 1453 |
</PropertyGroup> |
1384 | 1454 |
<Import Project="..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets')" /> |
1455 |
<UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" /> |
|
1456 |
<Target Name="app_config_AfterCompile" AfterTargets="AfterCompile" Condition="Exists('app.$(Configuration).config')"> |
|
1457 |
<!--Generate transformed app config in the intermediate directory--> |
|
1458 |
<TransformXml Source="app.config" Destination="$(IntermediateOutputPath)$(TargetFileName).config" Transform="app.$(Configuration).config" /> |
|
1459 |
<!--Force build process to use the transformed configuration file from now on.--> |
|
1460 |
<ItemGroup> |
|
1461 |
<AppConfigWithTargetPath Remove="App.config" /> |
|
1462 |
<AppConfigWithTargetPath Include="$(IntermediateOutputPath)$(TargetFileName).config"> |
|
1463 |
<TargetPath>$(TargetFileName).config</TargetPath> |
|
1464 |
</AppConfigWithTargetPath> |
|
1465 |
</ItemGroup> |
|
1466 |
</Target> |
|
1467 |
<!--Override After Publish to support ClickOnce AfterPublish. Target replaces the untransformed config file copied to the deployment directory with the transformed one.--> |
|
1468 |
<Target Name="app_config_AfterPublish" AfterTargets="AfterPublish" Condition="Exists('app.$(Configuration).config')"> |
|
1469 |
<PropertyGroup> |
|
1470 |
<DeployedConfig>$(_DeploymentApplicationDir)$(TargetName)$(TargetExt).config$(_DeploymentFileMappingExtension)</DeployedConfig> |
|
1471 |
</PropertyGroup> |
|
1472 |
<!--Publish copies the untransformed App.config to deployment directory so overwrite it--> |
|
1473 |
<Copy Condition="Exists('$(DeployedConfig)')" SourceFiles="$(IntermediateOutputPath)$(TargetFileName).config" DestinationFiles="$(DeployedConfig)" /> |
|
1474 |
</Target> |
|
1475 |
<PropertyGroup> |
|
1476 |
<PreBuildEvent>if $(ConfigurationName) == Debug ( |
|
1477 |
copy /Y "$(SolutionDir)\INI\MARKUS.ini" "C:\ProgramData\MARKUS\MARKUS.ini" |
|
1478 |
) |
|
1479 |
|
|
1480 |
if $(ConfigurationName) == Debug_DevDoftech ( |
|
1481 |
copy /Y "$(SolutionDir)\INI\MARKUS_Doftech.ini" "C:\ProgramData\MARKUS\MARKUS.ini" |
|
1482 |
) |
|
1483 |
|
|
1484 |
if $(ConfigurationName) == Debug_HyoSung ( |
|
1485 |
copy /Y "$(SolutionDir)\INI\MARKUS_HyoSung.ini" "C:\ProgramData\MARKUS\MARKUS.ini" |
|
1486 |
)</PreBuildEvent> |
|
1487 |
</PropertyGroup> |
|
1385 | 1488 |
</Project> |
내보내기 Unified diff