I have a C# project with a couple of files in there and a class who retrieves some data from those files.
I am calling that class in an ASP.NET MVC 5 web app and getting the System.IO.FileNotFoundException, obviously. I just can't figure out how to tweek my code to work.
Here is a snipped of code from the class who reads the files.
XmlSchemaSet schemas = new XmlSchemaSet();
schemas.Add("urn:OECD:StandardAuditFile-Tax:PT_" + version,
@"XSD\SAFT\SAFTPT" + version + ".xsd");
Calling the method from the website (isolated project), it cannot find the XSD file. It is being copied to the website's bin folder tho.