I'm starting to take a look at the VS templates
Create Visual Studio and Xamarin Studio project templates
To ease creating a new MvvmCross project it would be really awesome just using an online template in VS or XS which creates a new solution with everything set up ready for you to work on.
So a template that looks something like:
Core Droid iOS Store 8.1 (Windows Phone + Windows) WPF UWP
- 点赞 评论 复制链接分享
- weixin_39664998 4月前
If you are interested, I have already created something like this for Xamarin Forms( only for iOS, Android and UWP). You can have a look at it here: https://github.com/CherechesC/XamFormsMvxTemplate点赞 评论 复制链接分享
点赞 评论 复制链接分享
- thanks, will take a look.
- weixin_39693950 4月前
Supporting (as in, upgrading stuff, etc.) VS templates is a major pain in the ass. I do this for a project in my company and I regret every line I have to change in a text editor. I usually just clone a base working project (which can be easily updated) and rename stuff.
That being said, instead of the template, what I propose is a sample with all the boilerplate stuff done and scripts to rename things.点赞 评论 复制链接分享
VS template is done:
VSIX is available as a preview release:
Can someone review it and if it's ok let me know how I can transfer the repo over to the MVVMCross repos.点赞 评论 复制链接分享
- weixin_39620535 4月前
Everyone, you may want to check out NinjaCoderForMvvmCross
I've been using this for a few years, it "just works" when setting up a new project, adding all the nuget packages, project links, adding View Models, etc.点赞 评论 复制链接分享
- weixin_39913141 4月前
I was just going to recommend 's NinjaCoder, too.点赞 评论 复制链接分享
- weixin_39537397 4月前
That doesn't solve templates in Xamarin Studio. Also NinjaCoder does much, much more than just providing startup templates.点赞 评论 复制链接分享
The VSIX I've created just creates a solution that has an iOS, Android UWP, Win 8.1, Win Phone 8.1 and WPF project that does the same as the starter pack - simple app, Hello MVVMCross in a text box and label.
I've also started on a Xamarin Studio add-in, but it's slow going as there is not much documentation.点赞 评论 复制链接分享
- weixin_39626298 4月前
Thanks for those links, found a few useful ones myself that have got me going. I've almost got the 'droid and Core working. Just got an issue with png files being screwed up.
Code is at https://github.com/jimbobbennett/MVVMCross.XSAddIn
Will keep on chipping away at it and see how far I get.点赞 评论 复制链接分享
Xamarin Studio add-in first cut done. It supports iOS and Android only so far. The code and a pre-release mpack is on my github.
Let me know any feedback. I can hand the repo over if you want it, and will try to get it in the add-ins gallery soon.点赞 评论 复制链接分享
- weixin_39955781 4月前
Hi! You mentioned you found few useful links yourself, do you mind sharing those? I'm trying to learn how to create project templates too.. Thanks!点赞 评论 复制链接分享
- weixin_39683163 4月前
Thanks ! I think we can close this isse since the add-in is in the gallery!点赞 评论 复制链接分享
VS add-in now available in the gallery.
Do you want me to transfer ownership of my repos? If so what do I need to do?点赞 评论 复制链接分享