Skip to content

Commit

Permalink
Updated ExcelDataReader to v3.4.0 to fix unexplained issue when readi…
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanRibakov committed Jun 19, 2018
1 parent 982cba6 commit 16f2632
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ExpertModule/Its.ExpertModule.DataAccess/ActionAccess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Data;
using System.IO;
using Excel;
using ExcelDataReader;
//using Excel = NetOffice.ExcelApi;

namespace Its.ExpertModule.DataAccess
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -30,6 +30,10 @@
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="ExcelDataReader, Version=3.4.0.0, Culture=neutral, PublicKeyToken=93517dbe6a4012fa">
<HintPath>..\..\packages\ExcelDataReader.3.4.0\lib\net20\ExcelDataReader.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="ICSharpCode.SharpZipLib">
Expand All @@ -49,9 +53,6 @@
<Reference Include="ExcelApi">
<HintPath>..\..\packages\NetOffice.Excel.1.7.3.0\lib\net35\ExcelApi.dll</HintPath>
</Reference>
<Reference Include="Excel">
<HintPath>..\..\packages\ExcelDataReader.2.1.2.3\lib\net20\Excel.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down
2 changes: 1 addition & 1 deletion ExpertModule/Its.ExpertModule.DataAccess/packages.config
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExcelDataReader" version="2.1.2.3" targetFramework="net20" />
<package id="ExcelDataReader" version="3.4.0" targetFramework="net35" />
<package id="NetOffice.Core" version="1.7.3.0" targetFramework="net35" />
<package id="NetOffice.Excel" version="1.7.3.0" targetFramework="net35" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net35" />
Expand Down
10 changes: 1 addition & 9 deletions TutoringModule/Its.TutoringModule.Common/AbstractTutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,7 @@ public Dictionary<string, List<string>> GetTutorMessages(string actionName, stri
public void CreateStudent (string key, string name, string middleName, string surname, string lastName)
{
//Creates the student with the given information.
try
{
_studentControl.CreateStudent(key, name, middleName, surname, lastName);
}
catch
{
throw new Exception();
}

_studentControl.CreateStudent(key, name, middleName, surname, lastName);
}

/// <summary>
Expand Down

0 comments on commit 16f2632

Please sign in to comment.