|
4 | 4 | <AssemblyName>func</AssemblyName>
|
5 | 5 | <RuntimeIdentifiers>win-x64;win-x86;win-arm64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers>
|
6 | 6 | <Nullable>disable</Nullable>
|
| 7 | + <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> |
7 | 8 | </PropertyGroup>
|
8 | 9 |
|
9 | 10 | <PropertyGroup>
|
10 |
| - <CommitHash Condition="$(CommitHash) == ''">N/A</CommitHash> |
11 |
| - <IntegrationBuildNumberInfo Condition="$(IntegrationBuildNumber) != ''">Integration build number: $(IntegrationBuildNumber)</IntegrationBuildNumberInfo> |
12 |
| - <InformationalVersion>$(FileVersion) Commit hash: $(CommitHash) $(IntegrationBuildNumberInfo)</InformationalVersion> |
13 |
| - <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports> |
14 |
| - <NuspecFile>Azure.Functions.Cli.nuspec</NuspecFile> |
15 |
| - <NuspecProperties>ßconfiguration=$(Configuration);targetFramework=$(TargetFramework);version=$(Version)</NuspecProperties> |
| 11 | + <PackAsTool>true</PackAsTool> |
| 12 | + <ToolCommandName>func</ToolCommandName> |
16 | 13 | <PackageId>Microsoft.Azure.Functions.CoreTools</PackageId>
|
17 | 14 | </PropertyGroup>
|
18 | 15 |
|
| 16 | + <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64' OR '$(RuntimeIdentifier)' == 'win-x86'"> |
| 17 | + <PublishReadyToRun>false</PublishReadyToRun> |
| 18 | + <PublishReadyToRunShowWarnings>false</PublishReadyToRunShowWarnings> |
| 19 | + </PropertyGroup> |
| 20 | + |
19 | 21 | <PropertyGroup>
|
20 | 22 | <BuildNumber Condition=" '$(BuildNumber)' == '' ">1</BuildNumber>
|
21 | 23 | <MajorMinorProductVersion>4.0</MajorMinorProductVersion>
|
22 | 24 | <Version>$(MajorMinorProductVersion).$(BuildNumber)</Version>
|
23 | 25 | <AssemblyVersion>$(MajorMinorProductVersion).$(BuildNumber)</AssemblyVersion>
|
24 | 26 | <FileVersion>$(MajorMinorProductVersion).$(BuildNumber)</FileVersion>
|
25 |
| - </PropertyGroup> |
26 |
| - |
27 |
| - <PropertyGroup> |
28 |
| - <PackAsTool>true</PackAsTool> |
29 |
| - <ToolCommandName>func</ToolCommandName> |
30 |
| - </PropertyGroup> |
31 |
| - |
32 |
| - <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64' OR '$(RuntimeIdentifier)' == 'win-x86'"> |
33 |
| - <PublishReadyToRun>false</PublishReadyToRun> |
34 |
| - <PublishReadyToRunShowWarnings>false</PublishReadyToRunShowWarnings> |
| 27 | + <CommitHash Condition="$(CommitHash) == ''">N/A</CommitHash> |
| 28 | + <IntegrationBuildNumberInfo Condition="$(IntegrationBuildNumber) != ''">Integration build number: $(IntegrationBuildNumber)</IntegrationBuildNumberInfo> |
| 29 | + <InformationalVersion>$(FileVersion) Commit hash: $(CommitHash) $(IntegrationBuildNumberInfo)</InformationalVersion> |
35 | 30 | </PropertyGroup>
|
36 | 31 |
|
37 | 32 | <ItemGroup>
|
|
299 | 294 | <PackageReference Include="Microsoft.Azure.Functions.PythonWorker" />
|
300 | 295 | </ItemGroup>
|
301 | 296 |
|
| 297 | + <ItemGroup> |
| 298 | + <None Include="$(RepoRoot)out\pub\Azure.Functions.Cli\$(Configuration)_$(TargetFramework)\tools\python\packapp\__main__.py" Pack="true" PackagePath="content" /> |
| 299 | + <None Include="$(RepoRoot)out\pub\Azure.Functions.Cli\$(Configuration)_$(TargetFramework)\tools\python\packapp\__main__.py" Pack="true" PackagePath="contentFiles/any/$(TargetFramework)" /> |
| 300 | + <None Include="$(RepoRoot)out\pub\Azure.Functions.Cli\$(Configuration)_$(TargetFramework)\**\*" Pack="true" PackagePath="tools/$(TargetFramework)/any" /> |
| 301 | + </ItemGroup> |
| 302 | + |
302 | 303 | <Target Name="ExcludeWorkersFromReadyToRun">
|
303 | 304 | <CreateItem Include="%(None.Filename)%(None.Extension)"
|
304 | 305 | Condition="$([System.String]::new('%(None.TargetPath)').StartsWith('workers'))"
|
|
0 commit comments