Skip to content

Commit

Permalink
Merge pull request #116 from arledesma/feature/PublishedApplications-…
Browse files Browse the repository at this point in the history
…Support_ClassLibrary

PublishedApplications: Support ClassLibrary transforms
  • Loading branch information
ferventcoder committed Dec 29, 2016
2 parents 6cdae13 + 2e982c2 commit 875958a
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ Copyright (C) 2005 Microsoft Corporation. All rights reserved.
<CleanExeProjectOutputDir Condition="$(ExeProjectOutputDirInsideProject)" >False</CleanExeProjectOutputDir>
</PropertyGroup>

<PropertyGroup Condition="'$(OutputType)'=='Exe'">
<AssemblyOutputExtension>exe</AssemblyOutputExtension>
</PropertyGroup>
<PropertyGroup Condition="'$(OutputType)'=='' Or '$(OutputType)'=='Library'">
<AssemblyOutputExtension>dll</AssemblyOutputExtension>
</PropertyGroup>

<PropertyGroup>
<PrepareForRunDependsOn>
$(PrepareForRunDependsOn);
Expand All @@ -43,7 +50,7 @@ Copyright (C) 2005 Microsoft Corporation. All rights reserved.
<!--***************************************************************-->
<Target Name="CopyAndRenameAppConfig">
<Copy SourceFiles="@(AppConfigWithTargetPath)"
DestinationFiles="@(AppConfigWithTargetPath->'$(ExeProjectOutputDir)\$(AssemblyName).exe%(Extension)')"
DestinationFiles="@(AppConfigWithTargetPath->'$(ExeProjectOutputDir)\$(AssemblyName).$(AssemblyOutputExtension)%(Extension)')"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
Condition="Exists('%(RootDir)%(Directory)%(Filename)%(Extension)')"
Expand Down

0 comments on commit 875958a

Please sign in to comment.