Comments (6)
Thank you very much for your detailed step by step instructions, much appreciated.
Also very nice to see that the generated package (based on the nuspec file) works fine.
However, it still doesnt work on my end. Maybe there is something wrong with my machine, I don't know. I made sure to update Visual Studio to the newest version, but still no success.
When I am back from vacation I will try it with other machines. Hopefully with more succes.
At least I know now that the nuspec file itself is correctly configured for Net6.
Thanks again for your effort!
from monogame.forms.
No problem. If you need me to test any of it again or something, not sure if you're in the MonoGame discord, but if you are you can ping me or dm me there. I'm under the same name as here in the discord.
from monogame.forms.
Hey @BlizzCrafter how/what are you using to generate your NuGet package?
I was just able to generate one from your Net6.0 branch using just the basic dotnet pack
command. Here is the generated NuGet Info
from monogame.forms.
Hey @AristurtleDev and thx for trying to help.
Please create a new WindowsForms (Net6) project now and try to install your generated package. Because this is what fails for me with the above mentioned error message.
I generated the package with dotnet pack and nuget pack. Generation works, but installing does not work.
Would be nice if you could try this.
from monogame.forms.
Hey @BlizzCrafter
So I was able to get it working no issues? Here are the steps I did
- From the
Net6.0
branch of your code, I did adotnet pack
on the main project. - Created a new folder on my desktop called
mgforms
- Created a new folder inside this called
NuGet
and put theMonoGame.Forms.DX.6.0.0.0.nupkg
inside this folder - Created a new Windows Form Application called
MonoGamesFormTest
and put it inside themgforms
directory I initially created - Edited my NuGet config inside Visual Studio to include the new local path to the
mgforms/NuGet
directory i mentioned in step 3. - Added the
MonoGame.Forms.DX version 6.0.0.0
nuget
I then created a sample application as outlined in your README (only I didn't tell the control to fill lol)
This is a busy screenshot but I tried to include all relavent information in one pic. You can see the .csproj
showing the NuGet package reference. Beside that is the NuGet Pacakage Manager window showing the package. The bottom right corner shows where I configured my Locals packages and you can see in the NuGet Pacakage Manager window that I have it set to Locals. You can also see in the Solution Explorer that the package is added under dependencies. And finally in the bottom left you can see the Windows Form application running with the cornflour blue window.
from monogame.forms.
I tried it again on other build machines and got it working.
I'm still not sure why it didn't work on other one. It was a fresh windows 10 machine with also fresh installations of nuget and Visual Studio.
However, the problem is solved now.
Thanks again @AristurtleDev for testing!
from monogame.forms.
Related Issues (20)
- can monogame forms support the soundeffect? HOT 3
- Where I can look full simple project with using Monogame.Forms.GL? HOT 5
- Mouse status getting HOT 2
- Not suitable for 3D renders HOT 1
- Referencing GraphicsDevice causes a NullReferenceException HOT 2
- Can It be used in .Net Core HOT 1
- Getting a null reference exception (Editor.get returned null) when trying to invoke "Editor.spriteBatch.Draw(...)" HOT 3
- How do I create a spritefont? HOT 2
- Requesting to update .Net5 Form Support HOT 4
- Error while building project that uses MonoGame.Forms, on Linux HOT 3
- Monogame.Forms not rendering blue screen after building solution HOT 7
- supported .net frameworks HOT 5
- monogame version HOT 2
- Question HOT 1
- latest monogame HOT 1
- Lost input HOT 2
- anti-aliasing problem HOT 2
- BlazorWebView transparent background impossible to set
- Freeze while clicking/moving the title bar
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 monogame.forms.