Skip to content

Commit

Permalink
Import the Functions design time targets (#551)
Browse files Browse the repository at this point in the history
* Import the Functions design time targets

* Updating the patch version
  • Loading branch information
vijayrkn committed Apr 20, 2022
1 parent 2a5e618 commit 5f09483
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<MajorProductVersion>4</MajorProductVersion>
<MinorProductVersion>1</MinorProductVersion>
<PatchProductVersion>0</PatchProductVersion>
<PatchProductVersion>1</PatchProductVersion>

<!-- Clear this value for non-preview releases -->
<PreviewProductVersion></PreviewProductVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<IsPackable Condition="'$(IsPackable)' == ''">false</IsPackable>
<WarnOnPackingNonPackableProject Condition="'$(WarnOnPackingNonPackableProject)' == '' and '$(IsPackable)' == 'false'">true</WarnOnPackingNonPackableProject>
<IsZipDeploySupported>true</IsZipDeploySupported>
<MSBuildFunctionsTargetsPath>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed.Functions\</MSBuildFunctionsTargetsPath>
</PropertyGroup>

<UsingTask TaskName="GenerateFunctions"
Expand Down Expand Up @@ -51,6 +52,14 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<Import Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.Functions.Publish.targets"
Condition="Exists('$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.Functions.Publish.targets')" />

<!--
***********************************************************************************************
Import the Functions designtime targets if they exist
***********************************************************************************************
-->
<Import Project="$(MSBuildFunctionsTargetsPath)Microsoft.Azure.Functions.Designtime.targets"
Condition="Exists('$(MSBuildFunctionsTargetsPath)Microsoft.Azure.Functions.Designtime.targets')" />

<!--
***********************************************************************************************
Import the ExtensionsMetadataGenerator targets, but only if it has not already been imported.
Expand Down

0 comments on commit 5f09483

Please sign in to comment.