Skip to content

Commit

Permalink
v1.01:
Browse files Browse the repository at this point in the history
Fix (by Dominator86) for issue #11: float.Parse throwing FormatException because of unrecognized decimal mark.
  • Loading branch information
yass007 committed Dec 24, 2016
1 parent 89e39b2 commit 8043806
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using System.Collections;
using System.Text.RegularExpressions;
using System.Collections.ObjectModel;
using System.Globalization;
using EnvDTE;
using EnvDTE80;

Expand Down Expand Up @@ -2266,7 +2267,7 @@ private void ExecuteCommandFinishJob(string[] tokens, Int64 eventLocalTimeMS)

private void ExecuteCommandProgressStatus(string[] tokens)
{
float progressPCT = float.Parse(tokens[CommandArgumentIndex.PROGRESS_STATUS_PROGRESS_PCT]);
float progressPCT = float.Parse(tokens[CommandArgumentIndex.PROGRESS_STATUS_PROGRESS_PCT], CultureInfo.InvariantCulture);

// Update the build status after each job's result
UpdateBuildProgress(progressPCT);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="FASTBuildMonitorVSIX.44bf85a5-7635-4a2e-86d7-7b7f3bf757a8" Version="1.0" Language="en-US" Publisher="KnownShippable (Yassine Riahi &amp; Liam Flookes)" />
<Identity Id="FASTBuildMonitorVSIX.44bf85a5-7635-4a2e-86d7-7b7f3bf757a8" Version="1.01" Language="en-US" Publisher="KnownShippable (Yassine Riahi &amp; Liam Flookes)" />
<DisplayName>FASTBuildMonitorVSIX</DisplayName>
<Description xml:space="preserve">FASTBuild Visual Studio viewer.</Description>
<MoreInfo>http:\\www.KnownShippable.com</MoreInfo>
Expand Down
Binary file not shown.

0 comments on commit 8043806

Please sign in to comment.