Fix module's dependency (#17824)
* Update the external dependenct modules * update the packages to GA version * Exclude contentFiles in the out directory * Remove Az as the external dependent module * Format the csproj file.
This commit is contained in:
Родитель
a8ac55226f
Коммит
a5d446a8a4
|
@ -1,10 +1,12 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>Microsoft.Azure.PowerShell.Tools.AzPredictor</AssemblyName>
|
||||
<RootNamespace>Microsoft.Azure.PowerShell.Tools.AzPredictor</RootNamespace>
|
||||
<RepoArtifacts>$(MSBuildThisFileDirectory)</RepoArtifacts>
|
||||
<OutputPath>$(RepoArtifacts)..\..\..\artifacts\Tools\Az.Tools.Predictor\</OutputPath>
|
||||
<DisableTransitiveProjectReferences>true</DisableTransitiveProjectReferences>
|
||||
<ProduceReferenceAssemblyInOutDir>false</ProduceReferenceAssemblyInOutDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
@ -19,10 +21,14 @@ For more information on Az Predictor, please visit the following: https://aka.ms
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.17.0" />
|
||||
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.18.0" />
|
||||
<PackageReference Include="Microsoft.Azure.PowerShell.Common.Share" Version="1.3.45-preview" />
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0-preview.6" />
|
||||
<PackageReference Include="System.Management.Automation" Version="7.2.0-preview.6" />
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0">
|
||||
<ExcludeAssets>contentFiles</ExcludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="System.Management.Automation" Version="7.2.0">
|
||||
<ExcludeAssets>contentFiles</ExcludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
RootModule = 'Az.Tools.Predictor.psm1'
|
||||
|
||||
# Version number of this module.
|
||||
ModuleVersion = '1.0.0'
|
||||
ModuleVersion = '1.0.1'
|
||||
|
||||
# Supported PSEditions
|
||||
CompatiblePSEditions = 'Core'
|
||||
|
@ -78,7 +78,7 @@ PrivateData = @{
|
|||
# RequireLicenseAcceptance = $false
|
||||
|
||||
# External dependent modules of this module
|
||||
ExternalModuleDependencies = @('Az.Accounts', 'PSReadLine')
|
||||
ExternalModuleDependencies = @()
|
||||
|
||||
} # End of PSData hashtable
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<TargetFramework>net6.0</TargetFramework>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.1</Version>
|
||||
<Authors>Microsoft Corporation</Authors>
|
||||
<Company>Microsoft Corporation</Company>
|
||||
<Copyright>Microsoft Corporation. All rights reserved.</Copyright>
|
||||
|
|
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -8,8 +8,8 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0-preview.6" />
|
||||
<PackageReference Include="System.Management.Automation" Version="7.2.0-preview.6" />
|
||||
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0" />
|
||||
<PackageReference Include="System.Management.Automation" Version="7.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -20,6 +20,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<None Include="Microsoft.PowerShell.PSReadLine.Polyfiller.dll" CopyToOutputDirectory="PreserveNewest" />
|
||||
<None Include="Microsoft.PowerShell.PSReadLine2.dll" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче