Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Noob question  (Read 3732 times)

0 Members and 1 Guest are viewing this topic.

Crumbler

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Noob question
« on: October 24, 2017, 10:06:59 pm »
I'm trying to build a basic application with SFML.Net. I'm using the SFML.Net NuGet package. I've created a simple console application:
(click to show/hide)
When launching the program, I get the following error:

Необработанное исключение: System.BadImageFormatException: Не удалось загрузить
файл или сборку "sfmlnet-window-2, Version=2.1.0.0, Culture=neutral, PublicKeyTo
ken=null" либо одну из их зависимостей. Была сделана попытка загрузить программу
, имеющую неверный формат.
   в TestSFMLApp.Program.Main(String[] args)

Basically it fails to load the dependencies of sfmlnet-window-2. I put all of the csfml files next to the executable, but to no avail.
This question was probably asked a million times by now.

Optimistic

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Noob question
« Reply #1 on: November 10, 2017, 01:13:45 pm »
Try this:
    Make sure that the csfml binaries are included in your project and set to copy to output.
    Also make sure that the csfml libraries are the same architecture as your sfmlnet binaries.
   

 

anything