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

Author Topic: New project from scratch (VS 2019)  (Read 2565 times)

0 Members and 1 Guest are viewing this topic.


  • Jr. Member
  • **
  • Posts: 76
    • View Profile
New project from scratch (VS 2019)
« on: March 02, 2020, 04:44:07 pm »
I don't like automated repo packages like NuGet much, it can be old etc.

Then I did this:
1) Download SFML NET and CSFML packages from https://www.sfml-dev.org/
- remove "-2" from CSFML*-2.dll filenames

2) New project in VS 2019 - Console App (.NET Core)

3) Add CSFML dll's to project
- right click on "Project name" in Solution Explorer
- add/Existing files - select CSFML*.dll files and openal32.dll
- select these dll's and in Solution Explorer + right click on "Properties"
- select "Copy if newer" in "Copy to output directory"

4) Use SFML NET source files
- right click on "Solution" in Solution Explorer
- add/Existing Project../ and add all System/Window/.. *.csproj SFML NET 2.5 directory
- right click on "Project" in Solution Explorer/Add/Reference../Projects/ select all SFML.* projects

It works but there is still NuGet SFML Net package thanks to added projects in solution. In output it generate "runtimes" folder with libraries. Is there any way how to get rid NuGet package of it?


Because step 4. creates various strange things, is better add reference to SFML dll's instead. Not sure if there is any difference between lib builds (debug and realease), whereas it is just an interface.
« Last Edit: March 06, 2020, 09:18:05 pm by Paul »


  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email