File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <MajorProductVersion >2</MajorProductVersion >
55 <MinorProductVersion >0</MinorProductVersion >
6- <PatchProductVersion >3 </PatchProductVersion >
6+ <PatchProductVersion >4 </PatchProductVersion >
77 <TargetFrameworks >netstandard2.0;net472</TargetFrameworks >
88 <PackageId >Microsoft.Azure.Functions.Worker.Sdk</PackageId >
99 <Description >This package provides development time support for the Azure Functions .NET Worker.</Description >
Original file line number Diff line number Diff line change @@ -146,12 +146,13 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
146146 <!-- Invoke restore on WorkerExtension.csproj.
147147 We depend on _GetRestoreSettings, which is a task from nuget targets that will resolve various nuget restore settings.
148148 Namely we want to know what restore sources ($(_OutputSources)) to use. -->
149- <Target Name =" _WorkerExtensionsRestore" DependsOnTargets =" _GetRestoreSettings" >
149+ <Target Name =" _WorkerExtensionsRestore" DependsOnTargets =" _FunctionsPreBuild; _GetRestoreSettings" >
150150 <MSBuild Projects =" $(ExtensionsCsProj)" Targets =" Restore" RemoveProperties =" $(_FunctionsExtensionRemoveProps)" Properties =" IsRestoring=true;RestoreSources=$(_OutputSources);$(_FunctionsExtensionCommonProps)" />
151151 </Target >
152152
153- <!-- Invoke build on WorkerExtension.csproj -->
154- <Target Name =" _WorkerExtensionsBuild" >
153+ <!-- Invoke 'Build' or 'GetTargetPath' (for no-build) on WorkerExtension.csproj -->
154+ <!-- We intentionally do not depend on _WorkerExtensionsRestore because this supports the no-build (and thus no-restore) scenario. -->
155+ <Target Name =" _WorkerExtensionsBuild" DependsOnTargets =" _FunctionsPreBuild" >
155156 <PropertyGroup >
156157 <_WorkerExtensionTarget >Build</_WorkerExtensionTarget >
157158 <_WorkerExtensionTarget Condition =" '$(NoBuild)' == 'true'" >GetTargetPath</_WorkerExtensionTarget >
You can’t perform that action at this time.
0 commit comments