Invalid asset name

Aug 18, 2012 at 9:05 AM

Hello, i am having problems with the content manager. I have a map file in a 'Maps' folder and a TileSheet in 'TileSheets' folder. I am loading the map file with: "map = Content.Load<Map>("Maps\\00_test")". I get a file not found err. thats because the map file is not set to 'Compile'. When i do that it says "Error 1 Invalid asset name "../TileSheets/RPG1"."

i will give you my parameters of both: Map file and tile sheet file:

Map file 00_test.tide:

  • Build action: Compile
  • Copy to...: Do not copy
  • Asset name: 00_test
  • I have the Content importer / Processor set correctly.

Tile Sheet file RPG1.png:

  • Build action: None
  • Copy to...: Do not copy
  • Asset name: RPG1

What should i change / do? Thanks in advance.

 

//sammko

Coordinator
Aug 20, 2012 at 11:36 AM

Could you send me a copy of your project (or set up a new one with the same problem)? I can try looking into it.