You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public string FullPath
{
get { return Path.Combine(Path.GetDirectoryName(m_container.SolutionFullPath), m_relativePath); }
}
in some cases, member variable m_container is null.
that's the reason why ArgumentNullException is thrown, when it refers to the m_containers.SolutionFullPath.
Even FullPath is not working, RelativePath returns a valid value.
Maybe you can reconstruct a right value of FullPath using the value of RelativePath.
This work item was migrated from CodePlex
CodePlex work item ID: '5219'
Vote count: '1'
The text was updated successfully, but these errors were encountered:
[kaistizen@9/30/2010]
Found what caused this issue.
My codes are like:
using (var reader = new SolutionFileReader(fullPath))
{
SolutionFile slnFile = reader.ReadSolutionFile();
ReadSolutionFile() doesn't set its internal member property SolutionFullPath.
The value of solution path was already given when an instance of SolutionFileReader was created.
So ReadSolutionFile method can set the right value to the property SolutionFullPath, but it dosen't.
public string FullPath
{
get { return Path.Combine(Path.GetDirectoryName(m_container.SolutionFullPath), m_relativePath); }
}
in some cases, member variable m_container is null.
that's the reason why ArgumentNullException is thrown, when it refers to the m_containers.SolutionFullPath.
Even FullPath is not working, RelativePath returns a valid value.
Maybe you can reconstruct a right value of FullPath using the value of RelativePath.
This work item was migrated from CodePlex
CodePlex work item ID: '5219'
Vote count: '1'
The text was updated successfully, but these errors were encountered: