프로젝트

일반

사용자정보

개정판 9f55b953

ID9f55b9534379db448e7b3d84b9b8c873fc36c123
상위 ab5aa762
하위 a1142a6b

김태성이(가) 약 5년 전에 추가함

프로젝트별 Config 적용
- Configuration Transform을 이용한 Config Link

Change-Id: I465d0a9927a81de3e56fb08c09431746a74f2f98

차이점 보기:

KCOM_API/KCOM_API.csproj
1
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 3
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
3 4
  <PropertyGroup>
4 5
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
......
117 118
      <Generator>SettingsSingleFileGenerator</Generator>
118 119
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
119 120
    </None>
120
    <None Include="Web.Debug.Doftech.config">
121
      <SubType>Designer</SubType>
122
    </None>
123 121
    <None Include="Web.Debug.config">
124 122
      <DependentUpon>Web.config</DependentUpon>
125 123
    </None>
126
    <None Include="Web.Debug.HyoSung.config">
127
      <SubType>Designer</SubType>
124
    <None Include="Web.Debug_DevDoftech.config">
125
      <DependentUpon>Web.config</DependentUpon>
126
    </None>
127
    <None Include="Web.Debug_HyoSung.config">
128
      <DependentUpon>Web.config</DependentUpon>
128 129
    </None>
129 130
    <None Include="Web.Release.config">
130 131
      <DependentUpon>Web.config</DependentUpon>
......
185 186
    <ErrorReport>prompt</ErrorReport>
186 187
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
187 188
  </PropertyGroup>
189
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|AnyCPU'">
190
    <DebugSymbols>true</DebugSymbols>
191
    <OutputPath>bin\</OutputPath>
192
    <DefineConstants>DEBUG;TRACE</DefineConstants>
193
    <DebugType>full</DebugType>
194
    <PlatformTarget>AnyCPU</PlatformTarget>
195
    <ErrorReport>prompt</ErrorReport>
196
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
197
  </PropertyGroup>
198
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|x86'">
199
    <DebugSymbols>true</DebugSymbols>
200
    <OutputPath>bin\</OutputPath>
201
    <DefineConstants>DEBUG;TRACE</DefineConstants>
202
    <DebugType>full</DebugType>
203
    <PlatformTarget>x86</PlatformTarget>
204
    <ErrorReport>prompt</ErrorReport>
205
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
206
  </PropertyGroup>
207
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_HyoSung|x64'">
208
    <DebugSymbols>true</DebugSymbols>
209
    <OutputPath>bin\</OutputPath>
210
    <DefineConstants>DEBUG;TRACE</DefineConstants>
211
    <DebugType>full</DebugType>
212
    <PlatformTarget>x64</PlatformTarget>
213
    <ErrorReport>prompt</ErrorReport>
214
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
215
  </PropertyGroup>
216
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_DevDoftech|AnyCPU'">
217
    <DebugSymbols>true</DebugSymbols>
218
    <OutputPath>bin\</OutputPath>
219
    <DefineConstants>DEBUG;TRACE</DefineConstants>
220
    <DebugType>full</DebugType>
221
    <PlatformTarget>AnyCPU</PlatformTarget>
222
    <ErrorReport>prompt</ErrorReport>
223
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
224
  </PropertyGroup>
225
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_DevDoftech|x86'">
226
    <DebugSymbols>true</DebugSymbols>
227
    <OutputPath>bin\</OutputPath>
228
    <DefineConstants>DEBUG;TRACE</DefineConstants>
229
    <DebugType>full</DebugType>
230
    <PlatformTarget>x86</PlatformTarget>
231
    <ErrorReport>prompt</ErrorReport>
232
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
233
  </PropertyGroup>
234
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_DevDoftech|x64'">
235
    <DebugSymbols>true</DebugSymbols>
236
    <OutputPath>bin\</OutputPath>
237
    <DefineConstants>DEBUG;TRACE</DefineConstants>
238
    <DebugType>full</DebugType>
239
    <PlatformTarget>x64</PlatformTarget>
240
    <ErrorReport>prompt</ErrorReport>
241
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
242
  </PropertyGroup>
188 243
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
189 244
  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
190 245
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
......
220 275
  <Target Name="AfterBuild">
221 276
  </Target>
222 277
  -->
278
  <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Web\Microsoft.Web.Publishing.Tasks.dll" />
279
  <Target Name="Web_config_AfterBuild" AfterTargets="AfterBuild" Condition="Exists('Web.$(Configuration).config')">
280
    <TransformXml Source="Web.config" Destination="$(OutputPath)Web.config" Transform="Web.$(Configuration).config" />
281
  </Target>
223 282
</Project>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)