Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 90acbd9

Browse files
authored
Merge pull request #23 from CallFire/develop
CI-26871 changed how .dll.config file path is located so that this wi…
2 parents 07e8277 + 160f45a commit 90acbd9

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

Changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
EzTexting API client Changelog
22
=============================
3+
Version 1.1.32 - Oct 23 2018
4+
- changed how .dll.config file path is located
5+
36
Version 1.1.31 - Sept 04 2018
47
- updated version of RestSharp client to 106.3.0
58
- downgraded version of .NET framework to 4.6

EzTextingApiClient.nuspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?><package>
22
<metadata>
33
<id>EzTextingApiClient</id>
4-
<version>1.1.31</version>
4+
<version>1.1.32</version>
55
<title>EzTexting REST API client</title>
66
<authors>
77
Vladimir Mikhailov
@@ -14,6 +14,9 @@
1414
<description>C# client library for integration with EzTexting REST API services</description>
1515
<releaseNotes>EzTexting API client Changelog
1616
=============================
17+
Version 1.1.32 - Oct 23 2018
18+
- changed how .dll.config file path is located
19+
1720
Version 1.1.31 - Sept 04 2018
1821
- updated version of RestSharp client to 106.3.0
1922
- downgraded version of .NET framework to 4.6

src/EzTextingApiClient/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
1414
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
1515

16-
[assembly: AssemblyVersion("1.1.31.*")]
16+
[assembly: AssemblyVersion("1.1.32.*")]
1717

1818
// The following attributes are used to specify the signing key for the assembly,
1919
// if desired. See the Mono documentation for more information about signing.

src/EzTextingApiClient/RestApiClient.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
using System;
22
using RestSharp;
3-
using RestSharp.Authenticators;
43
using System.Collections.Generic;
54
using RestSharp.Deserializers;
65
using RestSharp.Serializers;
7-
using System.Collections;
86
using System.Configuration;
97
using System.Text;
108
using System.IO;
119
using System.Net;
10+
using System.Reflection;
1211
using EzTextingApiClient.Api.Common.Model;
1312
using EzTextingApiClient.Auth;
1413
using RestSharp.Extensions;
@@ -110,7 +109,7 @@ public RestApiClient(Brand brand, IAuthentication authentication)
110109
/// </summary>
111110
public static KeyValueConfigurationCollection LoadAppSettings()
112111
{
113-
var path = typeof(RestApiClient).Assembly.Location;
112+
var path = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath;;
114113
var config = ConfigurationManager.OpenExeConfiguration(path);
115114
var appSettings = (AppSettingsSection) config.GetSection("appSettings");
116115
if (appSettings.Settings.Count < 4)

0 commit comments

Comments
 (0)