Skip to content

AzAttestation Bug Fix: Add three missing required assemblies #11247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2020
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
11 changes: 11 additions & 0 deletions src/Attestation/Attestation.Test/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.IdentityModel.Tokens" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="5.1.2.0-5.6.0.0" newVersion="5.6.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
8 changes: 3 additions & 5 deletions src/Attestation/Attestation.Test/Attestation.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Attestation" Version="0.10.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Attestation" Version="0.11.0-preview" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="5.6.0">
<NoWarn>NU1608</NoWarn>
</PackageReference>
</ItemGroup>

<ItemGroup>
<Reference Include="Microsoft.Azure.Management.Attestation">
</Reference>
</ItemGroup>

<ItemGroup>
<None Update="PemFiles\*.*" CopyToOutputDirectory="PreserveNewest" />
<None Update="SamplePolicyFiles\*.*" CopyToOutputDirectory="PreserveNewest" />
Expand Down
11 changes: 7 additions & 4 deletions src/Attestation/Attestation/Az.Attestation.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ DotNetFrameworkVersion = '4.7.2'
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.7.2'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Microsoft.Azure.Management.Attestation.dll',
'Microsoft.Azure.Attestation.dll'
RequiredAssemblies = 'Microsoft.Azure.Management.Attestation.dll',
'Microsoft.Azure.Attestation.dll',
'Microsoft.IdentityModel.JsonWebTokens.dll',
'Microsoft.IdentityModel.Tokens.dll',
'Microsoft.IdentityModel.Logging.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
Expand All @@ -75,8 +78,8 @@ NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.Attestation.dll')
FunctionsToExport = @()

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = 'New-AzAttestation', 'Get-AzAttestation', 'Remove-AzAttestation',
'Get-AzAttestationPolicy', 'Set-AzAttestationPolicy',
CmdletsToExport = 'New-AzAttestation', 'Get-AzAttestation', 'Remove-AzAttestation',
'Get-AzAttestationPolicy', 'Set-AzAttestationPolicy',
'Reset-AzAttestationPolicy',
'Get-AzAttestationPolicySigners', 'Add-AzAttestationPolicySigner',
'Remove-AzAttestationPolicySigner'
Expand Down
1 change: 1 addition & 0 deletions src/Attestation/Attestation/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
## Upcoming Release
* Added policy signer management cmdlets to `Az.Attestation` module
* Added `Location` and `Tag` to `New-AzAttestation`
* Added three additional required assemblies to Az.Attestation.psd1

## Version 0.1.4
* Added policy management cmdlets to `Az.Attestation` module
Expand Down