sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.props (25 lines of code) (raw):

<!-- *********************************************************************************************** Microsoft.Azure.Functions.Worker.Sdk.props WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have created a backup copy. Incorrect changes to this file will make it impossible to load or build your projects from the command-line or the IDE. *********************************************************************************************** --> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <!--Our source generators rely on the FunctionsExecutionModel property.--> <FunctionsExecutionModel>isolated</FunctionsExecutionModel> <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> <DefaultExcludesInProjectFolder>$(DefaultExcludesInProjectFolder);host.json;local.settings.json</DefaultExcludesInProjectFolder> </PropertyGroup> <!--Enable Azure Functions project capability to enable tools--> <ItemGroup> <ProjectCapability Include="AzureFunctions"/> </ItemGroup> <ItemGroup> <None Include="host.json" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" Condition="Exists('host.json')" /> <None Include="local.settings.json" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="Never" Condition="Exists('local.settings.json')" /> </ItemGroup> <ItemGroup> <CompilerVisibleProperty Include="FunctionsEnableMetadataSourceGen" /> <CompilerVisibleProperty Include="FunctionsEnableExecutorSourceGen" /> <CompilerVisibleProperty Include="FunctionsAutoRegisterGeneratedFunctionsExecutor" /> <CompilerVisibleProperty Include="FunctionsAutoRegisterGeneratedMetadataProvider" /> <CompilerVisibleProperty Include="FunctionsGeneratedCodeNamespace" /> <CompilerVisibleProperty Include="TargetFrameworkIdentifier" /> <CompilerVisibleProperty Include="FunctionsExecutionModel" /> </ItemGroup> <!-- *********************************************************************************************** Import the Publish Props *********************************************************************************************** --> <Import Project="$(MSBuildThisFileDirectory)Microsoft.Azure.Functions.Worker.Sdk.Publish.props" Condition="Exists('$(MSBuildThisFileDirectory)Microsoft.Azure.Functions.Worker.Sdk.Publish.props')" /> </Project>