[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
<?xml version="1.0" encoding="utf-8" ?><configuration><appSettings><add key="EmvironmentName" value="Default"/></appSettings></configuration>
<?xml version="1.0" encoding="utf-8" ?><configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"><appSettings><add key="EmvironmentName" value="Debug" xdt:Transform="Replace" xdt:Locator="Match(key)"/></appSettings></configuration>
<?xml version="1.0" encoding="utf-8" ?><configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"><appSettings><add key="EmvironmentName" value="Release" xdt:Transform="Replace" xdt:Locator="Match(key)"/></appSettings></configuration>
<PropertyGroup><Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration><Platform Condition=" '$(Platform)' == '' ">x86</Platform><ProductVersion>8.0.30703</ProductVersion><SchemaVersion>2.0</SchemaVersion><ProjectGuid>{A0519EDB-4B73-431F-986F-5E27F447FD45}</ProjectGuid><ProjectConfigFileName>App.config</ProjectConfigFileName>
<None Include="App.config" /><None Include="App.Debug.config" /><None Include="App.Release.config" />
<Content Include="App.config" /><None Include="App.Debug.config"><DependentUpon>App.config</DependentUpon></None><None Include="App.Release.config"><DependentUpon>App.config</DependentUpon></None>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.<Target Name="BeforeBuild"></Target><Target Name="AfterBuild"></Target>-->
<Target Name="TransformAppConfig" AfterTargets="Build"><CallTarget Targets="PreTransformAppConfig" /><CallTarget Targets="TransformAppConfigCore" /><CallTarget Targets="PostTransformAppConfig" /></Target><Target Name="PreTransformAppConfig"></Target><Target Name="TransformAppConfigCore"><CallTarget Targets="TransformWebConfig" /></Target><Target Name="PostTransformAppConfig"><Copy Condition="Exists('$(TransformWebConfigIntermediateLocation)\transformed\App.config')" SourceFiles="$(TransformWebConfigIntermediateLocation)\transformed\App.config" DestinationFiles="$(OutputPath)\$(AssemblyName).exe.config" /><Copy Condition="Exists('$(TransformWebConfigIntermediateLocation)\transformed\App.config') And Exists('$(OutputPath)\$(AssemblyName).vshost.exe')" SourceFiles="$(TransformWebConfigIntermediateLocation)\transformed\App.config" DestinationFiles="$(OutputPath)\$(AssemblyName).vshost.exe.config" /></Target>
<?xml version="1.0" encoding="utf-8" ?>例.WinFormTest0011.exe.config(Release時)<configuration><appSettings><add key="EmvironmentName" value="Debug"/></appSettings></configuration>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="EmvironmentName" value="Release"/>
</appSettings>
</configuration>