Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit d7a43dc

Browse files
Merge pull request #1697 from SharePoint/dev
September 2018 Release
2 parents a319fb6 + 59db01d commit d7a43dc

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

Commands/Base/SPOnlineConnection.cs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,18 @@ internal void InitializeTelemetry(ClientContext context, PSHost host)
230230
var serverVersion = "";
231231
if (context != null)
232232
{
233-
if (context.ServerLibraryVersion != null)
233+
try
234234
{
235-
serverLibraryVersion = context.ServerLibraryVersion.ToString();
236-
}
237-
if (context.ServerVersion != null)
238-
{
239-
serverVersion = context.ServerVersion.ToString();
235+
if (context.ServerLibraryVersion != null)
236+
{
237+
serverLibraryVersion = context.ServerLibraryVersion.ToString();
238+
}
239+
if (context.ServerVersion != null)
240+
{
241+
serverVersion = context.ServerVersion.ToString();
242+
}
240243
}
244+
catch { }
241245
}
242246
TelemetryClient = new TelemetryClient();
243247
TelemetryClient.InstrumentationKey = "a301024a-9e21-4273-aca5-18d0ef5d80fb";

Commands/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
// You can specify all the values or you can default the Build and Revision Numbers
4545
// by using the '*' as shown below:
4646
// [assembly: AssemblyVersion("1.0.*")]
47-
[assembly: AssemblyVersion("3.0.1808.1")]
48-
[assembly: AssemblyFileVersion("3.0.1808.1")]
47+
[assembly: AssemblyVersion("3.1.1809.0")]
48+
[assembly: AssemblyFileVersion("3.1.1809.0")]
4949
[assembly: InternalsVisibleTo("SharePointPnP.PowerShell.Tests")]

ModuleFilesGenerator/ModuleManifestGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private void WriteModuleManifest(string path, string spVersion, string cmdletsTo
101101
PrivateData = @{{
102102
PSData = @{{
103103
ProjectUri = 'https://aka.ms/sppnp'
104-
IconUri = 'https://raw.githubusercontent.com/SharePoint/PnP-PowerShell/master/Commands/Resources/pnp.ico'
104+
IconUri = 'https://raw.githubusercontent.com/pnp/media/master/optimized/pnp-projects/blue/png/pnp-powershell-300.png'
105105
}}
106106
}}
107107
}}";
@@ -123,7 +123,7 @@ private void WriteModuleManifest(string path, string spVersion, string cmdletsTo
123123
PrivateData = @{{
124124
PSData = @{{
125125
ProjectUri = 'https://aka.ms/sppnp'
126-
IconUri = 'https://raw.githubusercontent.com/SharePoint/PnP-PowerShell/master/Commands/Resources/pnp.ico'
126+
IconUri = 'https://raw.githubusercontent.com/pnp/media/master/optimized/pnp-projects/blue/png/pnp-powershell-300.png'
127127
}}
128128
}}
129129
}}";

0 commit comments

Comments
 (0)