Apply UseNETCoreGenerator property when AzureFunctionsVersion is set to v2-prerelease (#254)
This commit is contained in:
Родитель
ac1c24dcef
Коммит
32332fdecd
|
@ -21,7 +21,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
|
|||
<Target Name="_GenerateFunctionsPostBuild"
|
||||
AfterTargets="Build">
|
||||
<PropertyGroup>
|
||||
<UseNETCoreGenerator Condition="$(UseNETCoreGenerator)=='' AND $(AzureFunctionsVersion) == 'v2'">true</UseNETCoreGenerator>
|
||||
<UseNETCoreGenerator Condition="$(UseNETCoreGenerator)=='' AND ($(AzureFunctionsVersion) == 'v2' OR $(AzureFunctionsVersion) == 'v2-prerelease' )">true</UseNETCoreGenerator>
|
||||
</PropertyGroup>
|
||||
<!-- TODO: CopyFilesToOutputDirectory does not look at the outdir to copy the pdbs. hence copying it manually. -->
|
||||
<!-- Copy the application pdb to the bin folder-->
|
||||
|
|
Загрузка…
Ссылка в новой задаче