This is driving me nuts. I’ve been merrily loading in content with the Monogame Pipeline Tool, but I’ve got to the stage where I need to check if a file is present.
I’ve been using file paths in the format of
@"folder\subfolder\fileToLoad" without issue, but I can’t get that format to work with
File.Exists(). I have thus had to resort to doing this:
I don’t like having to specify the Content folder, as well as the xnb file extension. Is there no way to check for a file’s existence using the @ format?