Comments (10)
Not sure exactly how you're doing it. Was it these directions (step 4 important note) that you followed?
EDIT: Also, what type of project are you creating in Visual Studio?
from sadconsole.
Was working from that page. Deleted my project and started fresh, just to make sure I didn't skip any steps.
- Created a Visual C#, Windows Classic Desktop, Empty Project (.NET Framework)
- Selected "Manage NuGet Packages...", "Browse", and installed SadConsole 6.0.1
- Then searched for "MonoGame" and selected MonoGame.Framework.DesktopGL 3.6.0.1625
- Clicked on your download link, downloaded SDL2.dll, and copied it to the same directory as the fonts, program-example.cs, etc.
- Right clicked on the project, then select Add > Reference
- Clicked "Browse" then "Browse" button and selected the SDL2.dll file
- Clicked "Add"
- Got this dialog:
Earlier today I also tried the 64-bit DLL from the SDL2 project, but that had the same results.
Edit: event tried rebooting my laptop
from sadconsole.
I also noticed VS 2017 defaults to .NET Framework 4.5.2. Is this not the correct .NET Framework version?
from sadconsole.
Installed MonoGame 3.6 using the installer, then created a new MonoGame project using DesktopGL. Everything worked fine running the basic MonoGame template (it automatically included the SDL2.dll in its project template). Tried using the SDL2.dll from that in my SadConsole project, but got the same error message.
from sadconsole.
OH WAIT... man I think my steps are wrong. You add it to your project as a FILE, not a reference. then you set it to COPY TO OUTPUT. argg! :) I wish MonoGame would have just included it in the nuget package.
from sadconsole.
Sorry about that. doh!
from sadconsole.
I just updated the wiki article.
from sadconsole.
Oh and about 4.5.2, it does't really matter, the difference for 4.6 really only matters if you're creating a universal app and thus can use .NET Native. Otherwise the differences between 4.5 and 4.6 aren't important (in my opinion 😄)
from sadconsole.
Thanks for all this. Wasn't able to get to it until tonight, but I wanted to let you know (a) it worked, and (b) how appreciative I am.
from sadconsole.
Thanks for helping me find the error in the important startup article!!
from sadconsole.
Related Issues (20)
- Add support for sorting `IScreenObject` in the parents collection HOT 1
- ControlsConsole.Resize method crashes the engine.
- Left click on a TextBox causes both EditModeEnter and EditModeExit events to trigger. HOT 2
- Redesign collection types based on framework guidelines HOT 2
- AnimatedScreenSurface should implement the frames in a more user friendly way
- Replace Point(0, 0) with Point.Zero
- Improvements to Renderer
- ComboBox dropdown doesn't take FontSize of parent in consideration HOT 1
- Replace Algorithms and Shape code with new primitives lib
- Impossible to adjust ProgressBar Color for fill & bar seperately
- Use IDComparer from primitives lib when updated
- [V10] [Bug] Window dragging no longer works
- `SurfaceViewer` for v10 is a confusing mess of terrible coding
- Adapt TabControl to v10 HOT 1
- Review the new entity design
- Rename Entity Renderer/Manager to better class names
- Add an overload for GetFontSize with a float parameter to IFont HOT 1
- Not possible to adjust decorator color without setting a new array HOT 5
- Change ScreenCellsX/Y to report what RenderWidth/Height is based on the default font size
- Scrollbar isn't shown on table control HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sadconsole.