Skip to content

Commit e9dbc00

Browse files
authored
Merge pull request Azure#6323 from cormacpayne/newtonsoft-fix
Fix issue where version 10.0.3 of Newtonsoft.Json wasn't being loaded
2 parents 8472989 + 58917bc commit e9dbc00

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/ResourceManager/Profile/AzureRM.Profile.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RequiredAssemblies = '.\Microsoft.Azure.Commands.Common.Authentication.Abstracti
8080
'.\Microsoft.Threading.Tasks.Extensions.dll',
8181
'.\Microsoft.Threading.Tasks.Extensions.Desktop.dll',
8282
'.\Microsoft.WindowsAzure.Management.dll', '.\Newtonsoft.Json.dll',
83-
'.\NewAssemblies\Newtonsoft.Json.dll',
83+
'.\Newtonsoft.Json.10.dll',
8484
'.\System.Net.Http.Extensions.dll',
8585
'.\System.Net.Http.Primitives.dll'
8686

src/ResourceManager/Profile/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21+
* Fix issue where version 10.0.3 of Newtonsoft.Json wasn't being loaded on module import
2122

2223
## Version 5.1.0
2324
* Fix issue where running `Clear-AzureRmContext` would keep an empty context with the name of the previous default context, which prevented the user from creating a new context with the old name

src/ResourceManager/Profile/Commands.Profile/Commands.Profile.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,6 @@
205205
</ItemGroup>
206206
<Copy SourceFiles="@(OutFiles)" DestinationFiles="@(OutFiles->'..\..\..\Stack\$(Configuration)\ResourceManager\AzureResourceManager\AzureRM.Profile\%(RecursiveDir)%(Filename)%(Extension)')" />
207207
<Copy SourceFiles="@(MarkdownFiles)" DestinationFolder="$(OutputPath)\help\" ContinueOnError="false" />
208-
<Copy SourceFiles="@(NewtonsoftJson)" DestinationFolder="$(OutputPath)\NewAssemblies\" ContinueOnError="false" />
208+
<Copy SourceFiles="@(NewtonsoftJson)" DestinationFiles="$(OutputPath)\Newtonsoft.Json.10.dll" />
209209
</Target>
210210
</Project>

0 commit comments

Comments
 (0)