c# - Why do I get a ContentLoadException in Monogame? -
i try load picture named kodo.jpg. made copy of picture in content folder.
public texture2d kodo; content.rootdirectory = "content"; kodo = content.load<texture2d>("kodo");
in last line error contentloadexception. why?
right-click on picture-file, go quick properties , set: copy output directory.
Comments
Post a Comment