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

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -