File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
src/Azure.Functions.Sdk/Targets Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,11 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
1212<Project >
1313
1414 <PropertyGroup >
15- <OutputType >Exe</OutputType >
1615 <AzureFunctionsVersion >v4</AzureFunctionsVersion >
17- <DefaultExcludesInProjectFolder >$(DefaultExcludesInProjectFolder);host.json;local.settings.json</DefaultExcludesInProjectFolder >
1816 <MSBuildFunctionsTargetsPath >$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed.Functions\</MSBuildFunctionsTargetsPath >
1917 </PropertyGroup >
2018
21- <Import Sdk =" Microsoft.NET.Sdk" Project =" Sdk.props" />
19+ <Import Sdk =" Microsoft.NET.Sdk.Worker " Project =" Sdk.props" />
2220
2321 <!-- Enable Azure Functions project capability to enable tools -->
2422 <ItemGroup >
@@ -30,8 +28,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
3028 </ItemGroup >
3129
3230 <ItemGroup >
33- <None Include =" host.json" CopyToOutputDirectory =" PreserveNewest" CopyToPublishDirectory =" PreserveNewest" Condition =" Exists('host.json')" />
34- <None Include =" local.settings.json" CopyToOutputDirectory =" PreserveNewest" CopyToPublishDirectory =" Never" Condition =" Exists('local.settings.json')" />
31+ <Content Update =" local.settings.json" CopyToOutputDirectory =" PreserveNewest" CopyToPublishDirectory =" Never" Condition =" Exists('local.settings.json')" />
3532 </ItemGroup >
3633
3734</Project >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
1111
1212<Project >
1313
14- <Import Sdk =" Microsoft.NET.Sdk" Project =" Sdk.targets" />
14+ <Import Sdk =" Microsoft.NET.Sdk.Worker " Project =" Sdk.targets" />
1515
1616 <PropertyGroup >
1717 <_AzureFunctionsVersionStandardized >$(AzureFunctionsVersion.ToLowerInvariant().Split('-')[0])</_AzureFunctionsVersionStandardized >
You can’t perform that action at this time.
0 commit comments