Is occurring an error when the Recalculate method is called in a specific project. We need to know what is happening.
The .mpp file of the project with problem is attached in this topic.
We even create an unit test that loads the project from the .mpp file and call the Recalculate method, an exception is occuring. The unit test code is bellow:
[TestMethod]
public void ShouldBePossibleToRecalculateAProject_Error()
{
//Arrange
bool successWhenRecalculate = true;
string mppFilename = Directory.GetCurrentDirectory() + @"\ErrorWhenCallRecalculate.mpp";
Project project = new Project(mppFilename);
//Act
try
{
project.Recalculate();
}
catch (Exception)
{
successWhenRecalculate = false;
}
Assert.IsFalse(successWhenRecalculate);
}
ErrorWhenCallRecalculate.zip (1.1 MB)