Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions DotNetWorker.sln
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DependentAssemblyWithFuncti
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sdk.E2ETests", "test\Sdk.E2ETests\Sdk.E2ETests.csproj", "{750993F6-4E3B-411B-9471-74CEA4F9C23A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Functions.Sdk", "src\Azure.Functions.Sdk\Azure.Functions.Sdk.csproj", "{02CBCC67-A10C-4064-AA5D-84533AC02342}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -148,6 +150,10 @@ Global
{750993F6-4E3B-411B-9471-74CEA4F9C23A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{750993F6-4E3B-411B-9471-74CEA4F9C23A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{750993F6-4E3B-411B-9471-74CEA4F9C23A}.Release|Any CPU.Build.0 = Release|Any CPU
{02CBCC67-A10C-4064-AA5D-84533AC02342}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{02CBCC67-A10C-4064-AA5D-84533AC02342}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02CBCC67-A10C-4064-AA5D-84533AC02342}.Release|Any CPU.ActiveCfg = Release|Any CPU
{02CBCC67-A10C-4064-AA5D-84533AC02342}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -174,6 +180,7 @@ Global
{BE88B7F0-F0DF-4EC4-8312-EDCB61810FA4} = {E785547C-7546-469F-827C-FDF999D5D7E8}
{429D067C-0846-40EF-A264-AB0C5D551CB0} = {E785547C-7546-469F-827C-FDF999D5D7E8}
{750993F6-4E3B-411B-9471-74CEA4F9C23A} = {E785547C-7546-469F-827C-FDF999D5D7E8}
{02CBCC67-A10C-4064-AA5D-84533AC02342} = {083592CA-7DAB-44CE-8979-44FAFA46AEC3}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {497D2ED4-A13E-4BCA-8D29-F30CA7D0EA4A}
Expand Down
2 changes: 1 addition & 1 deletion src/Azure.Functions.Sdk/Azure.Functions.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.11.4" ExcludeAssets="Runtime" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.11.48" ExcludeAssets="Runtime" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Azure.Functions.Sdk/Sdk/Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<UsingAzureFunctionsSdk>true</UsingAzureFunctionsSdk>
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)../targets/Azure.Functions.Sdk.props" />

</Project>
2 changes: 2 additions & 0 deletions src/Azure.Functions.Sdk/Sdk/Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<AzureFunctionsSdkTasksAssembly>$(AzureFunctionsSdkTasksDirectory)Azure.Functions.Sdk.dll</AzureFunctionsSdkTasksAssembly>
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)../targets/Azure.Functions.Sdk.targets" />

</Project>
34 changes: 34 additions & 0 deletions src/Azure.Functions.Sdk/Targets/Azure.Functions.Sdk.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!--
***********************************************************************************************
Azure.Functions.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>

<PropertyGroup>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
<MSBuildFunctionsTargetsPath>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed.Functions\</MSBuildFunctionsTargetsPath>
</PropertyGroup>

<Import Sdk="Microsoft.NET.Sdk.Worker" Project="Sdk.props" />

<!-- Enable Azure Functions project capability to enable tools -->
<ItemGroup>
<ProjectCapability Include="AzureFunctions" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.2.0" IsImplicitlyDefined="true" />
</ItemGroup>

<ItemGroup>
<Content Update="local.settings.json" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="Never" Condition="Exists('local.settings.json')" />
</ItemGroup>

</Project>
26 changes: 26 additions & 0 deletions src/Azure.Functions.Sdk/Targets/Azure.Functions.Sdk.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--
***********************************************************************************************
Azure.Functions.Sdk.targets

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>

<Import Sdk="Microsoft.NET.Sdk.Worker" Project="Sdk.targets" />

<PropertyGroup>
<_AzureFunctionsVersionStandardized>$(AzureFunctionsVersion.ToLowerInvariant().Split('-')[0])</_AzureFunctionsVersionStandardized>
<_ToolingSuffix Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">net$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 1))-isolated</_ToolingSuffix>
<_ToolingSuffix Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">netfx-isolated</_ToolingSuffix>
<FunctionsToolingSuffix Condition="'$(FunctionsToolingSuffix)' == ''">$(_ToolingSuffix)</FunctionsToolingSuffix>
</PropertyGroup>

<Import Project="$(MSBuildFunctionsTargetsPath)Microsoft.Azure.Functions.Designtime.targets"
Condition="Exists('$(MSBuildFunctionsTargetsPath)Microsoft.Azure.Functions.Designtime.targets')" />

</Project>