-
Notifications
You must be signed in to change notification settings - Fork 450
/
Copy pathAzure.Functions.Cli.csproj
168 lines (168 loc) · 9.29 KB
/
Azure.Functions.Cli.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="ExcludeWorkersFromReadyToRun">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AssemblyName>func</AssemblyName>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;osx-x64</RuntimeIdentifiers>
<BuildNumber Condition=" '$(BuildNumber)' == '' ">1</BuildNumber>
<MajorMinorProductVersion>3.0</MajorMinorProductVersion>
<Version>$(MajorMinorProductVersion).$(BuildNumber)</Version>
<AssemblyVersion>$(MajorMinorProductVersion).$(BuildNumber)</AssemblyVersion>
<FileVersion>$(MajorMinorProductVersion).$(BuildNumber)</FileVersion>
<CommitHash Condition="$(CommitHash) == ''">N/A</CommitHash>
<IntegrationBuildNumberInfo Condition="$(IntegrationBuildNumber) != ''">Integration build number: $(IntegrationBuildNumber)</IntegrationBuildNumberInfo>
<InformationalVersion>$(FileVersion) Commit hash: $(CommitHash) $(IntegrationBuildNumberInfo)</InformationalVersion>
<Company>Microsoft</Company>
<Authors>Microsoft</Authors>
<Title>Azure Functions Cli</Title>
<Copyright>? .NET Foundation. All rights reserved.</Copyright>
<PackageLicenseUrl>http://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_enu.htm</PackageLicenseUrl>
<RepositoryUrl>https://github.com/Azure/azure-functions-cli</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<ApplicationIcon>AzureFunctions-CLI.ico</ApplicationIcon>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<PackageId>Microsoft.Azure.Functions.CoreTools</PackageId>
<PackAsTool>true</PackAsTool>
<ToolCommandName>func</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<NuspecFile>Azure.Functions.Cli.nuspec</NuspecFile>
<NuspecProperties>configuration=$(Configuration);targetFramework=$(TargetFramework);version=$(Version)</NuspecProperties>
</PropertyGroup>
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64' OR '$(RuntimeIdentifier)' == 'win-x86'">
<PublishReadyToRun>true</PublishReadyToRun>
<PublishReadyToRunShowWarnings>true</PublishReadyToRunShowWarnings>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="StaticResources\bundleConfig.json">
<LogicalName>$(AssemblyName).bundleConfig.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\customHandlerConfig.json">
<LogicalName>$(AssemblyName).customHandlerConfig.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\ExtensionsProj.csproj.template">
<LogicalName>$(AssemblyName).ExtensionsProj.csproj</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.csx.dotnet">
<LogicalName>$(AssemblyName).Dockerfile.csx.dotnet</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.custom">
<LogicalName>$(AssemblyName).Dockerfile.custom</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.dotnet">
<LogicalName>$(AssemblyName).Dockerfile.dotnet</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.dotnetIsolated">
<LogicalName>$(AssemblyName).Dockerfile.dotnetIsolated</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.python36">
<LogicalName>$(AssemblyName).Dockerfile.python36</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.python37">
<LogicalName>$(AssemblyName).Dockerfile.python37</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.python38">
<LogicalName>$(AssemblyName).Dockerfile.python38</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.python39">
<LogicalName>$(AssemblyName).Dockerfile.python39</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.powershell">
<LogicalName>$(AssemblyName).Dockerfile.powershell</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.node">
<LogicalName>$(AssemblyName).Dockerfile.node</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\Dockerfile.typescript">
<LogicalName>$(AssemblyName).Dockerfile.typescript</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\gitignore">
<LogicalName>$(AssemblyName).gitignore</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\managedDependenciesConfig.json">
<LogicalName>$(AssemblyName).managedDependenciesConfig.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\host.json">
<LogicalName>$(AssemblyName).host.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\local.settings.json.template">
<LogicalName>$(AssemblyName).local.settings.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\vscode.extensions.json">
<LogicalName>$(AssemblyName).vscode.extensions.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\python_docker_build.sh">
<LogicalName>$(AssemblyName).python_docker_build.sh</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\profile.ps1">
<LogicalName>$(AssemblyName).profile.ps1</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\package.json">
<LogicalName>$(AssemblyName).package.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\javascriptPackage.json">
<LogicalName>$(AssemblyName).javascriptPackage.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\tsconfig.json">
<LogicalName>$(AssemblyName).tsconfig.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\funcignore">
<LogicalName>$(AssemblyName).funcignore</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\requirements.psd1">
<LogicalName>$(AssemblyName).requirements.psd1</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\requirements.txt">
<LogicalName>$(AssemblyName).requirements.txt</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\dockerignore">
<LogicalName>$(AssemblyName).dockerignore</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\print-functions.sh">
<LogicalName>$(AssemblyName).print-functions.sh</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\keda-v1.yaml">
<LogicalName>$(AssemblyName).keda-v1.yaml</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\keda-v2.yaml">
<LogicalName>$(AssemblyName).keda-v2.yaml</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\ziptofs.sh">
<LogicalName>$(AssemblyName).ziptofs.sh</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="StaticResources\getting_started_python_function.md">
<LogicalName>$(AssemblyName).getting_started_python_function.md</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\tools\python\packapp\__main__.py">
<Link>tools\python\packapp\__main__.py</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Autofac" Version="4.6.2" />
<PackageReference Include="Azure.Identity" Version="1.5.0" />
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.2.0" />
<PackageReference Include="Colors.Net" Version="1.1.0" />
<PackageReference Include="AccentedCommandLineParser" Version="2.0.0" />
<PackageReference Include="DotNetZip" Version="1.13.3" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="2.2.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.AzureStorage.Internal" Version="1.4.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Script.WebHost" Version="3.22.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="YamlDotNet" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(NoWorkers)' != 'true'">
<PackageReference Include="Microsoft.Azure.Functions.JavaWorker" Version="1.11.0" />
<PackageReference Include="Microsoft.Azure.Functions.NodeJsWorker" Version="2.1.3" />
<PackageReference Include="Microsoft.Azure.Functions.PowerShellWorker.PS6" Version="3.0.1761" />
<PackageReference Include="Microsoft.Azure.Functions.PowerShellWorker.PS7" Version="3.0.2303" />
<PackageReference Include="Microsoft.Azure.Functions.PythonWorker" Version="3.1.3" />
</ItemGroup>
<Target Name="ExcludeWorkersFromReadyToRun">
<CreateItem Include="%(None.Filename)%(None.Extension)" Condition="$([System.String]::new('%(None.TargetPath)').StartsWith('workers'))" PreserveExistingMetadata="false">
<Output TaskParameter="Include" ItemName="PublishReadyToRunExclude" />
</CreateItem>
</Target>
</Project>