0
There is an error in my code only when I publish, when debugging works normally. the error is as follows: "Undefined object reference for an object instance." my code:
MkfFile file = new MkfFile();
public class MkfFile
{
private List<FileData> _files { get; set; }
private List<string> errors { get; set; }
public MkfFile()
{
this._files = new List<FileData>();
this.errors = new List<string>();
}
private class FileData
{
}
}
If I comment on the line "Mkffile file = new Mkffile();" it works normally, someone can tell me where the mistake is?
The font is exactly the way you put it in the question?
– Leonel Sanches da Silva
On which line the error occurs?
– KhaosDoctor
Anything new?
– rodrigogq