Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #107 from jessehouwing/patch-2

Fix App Config transformations in TFS
  • Loading branch information...
commit 322b000b11f2fdad3ea1052bf187e460ff9f777e 2 parents 24e6756 + 4593d43
@ferventcoder authored
View
11 PublishedApplications/content/targets/Microsoft.Application.targets
@@ -41,16 +41,9 @@ Copyright (C) 2005 Microsoft Corporation. All rights reserved.
<!--***************************************************************-->
<!--App.config -->
<!--***************************************************************-->
- <PropertyGroup>
- <ProjectConfigFileName Condition="'$(ProjectConfigFileName)'==''">app.config</ProjectConfigFileName>
- </PropertyGroup>
- <ItemGroup>
- <!--a item collection such that we can get the file name and extension from it-->
- <AppConfigFileName Include="$(ProjectConfigFileName)" />
- </ItemGroup>
<Target Name="CopyAndRenameAppConfig">
- <Copy SourceFiles="@(AppConfigFileName)"
- DestinationFiles="@(AppConfigFileName->'$(ExeProjectOutputDir)\$(AssemblyName).exe%(Extension)')"
+ <Copy SourceFiles="@(AppConfigWithTargetPath)"
+ DestinationFiles="@(AppConfigWithTargetPath->'$(ExeProjectOutputDir)\$(AssemblyName).exe%(Extension)')"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
Condition="Exists('%(RootDir)%(Directory)%(Filename)%(Extension)')"
Please sign in to comment.
Something went wrong with that request. Please try again.