{"id":1622,"date":"2015-03-22T17:57:51","date_gmt":"2015-03-22T16:57:51","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1622"},"modified":"2015-03-22T17:58:40","modified_gmt":"2015-03-22T16:58:40","slug":"xna-and-monogame-part-3","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1622","title":{"rendered":"XNA and Monogame part 3"},"content":{"rendered":"<p>In a <a href=\"https:\/\/labalec.fr\/erwan\/?p=724\" target=\"_blank\">previous article<\/a>, I had tried to move a XNA+Vb.Net game developped on Windows to Ubuntu.<br \/>\nI had limited success (I was only able to install monodevelop + monogame for C#).<\/p>\n<p>This time I restarted from scratch :<br \/>\n-install ubuntu 14.04<\/p>\n<p>-sudo apt-get install gnome-sharp2 mono-xsp4 (not sure about this line)<br \/>\n-sudo apt-get install libglade2.0-cil-dev (not sure about this line)<br \/>\n-sudo apt-get install monodoc-base<br \/>\n-sudo apt-get install monodevelop mono-vbnc<\/p>\n<p>At this point, monodevelop (4.x) works and I can write vb.net programs.<\/p>\n<p>-sudo apt-get install libmonogame-cil-dev monodevelop-monogame<\/p>\n<p>At this point I can write c# monogame programs (a new template for monogame c# appears).<\/p>\n<p>I then imported a vb.net monogame program and it works \ud83d\ude42<br \/>\nI had to copy paste the monogame dll in the game folder thus.<\/p>\n<p><a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2015\/03\/monogame.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1623 size-large\" src=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2015\/03\/monogame-1024x768.png\" alt=\"monogame\" width=\"695\" height=\"521\" srcset=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2015\/03\/monogame-1024x768.png 1024w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2015\/03\/monogame-300x225.png 300w, https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2015\/03\/monogame.png 1280w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous article, I had tried to move a XNA+Vb.Net game developped on Windows to Ubuntu. I had limited success (I was only able to install monodevelop + monogame for C#). This time I restarted from scratch : -install ubuntu 14.04 -sudo apt-get install gnome-sharp2 mono-xsp4 (not sure about this line) -sudo apt-get install <a href='https:\/\/labalec.fr\/erwan\/?p=1622' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,35],"tags":[],"class_list":["post-1622","post","type-post","status-publish","format-standard","hentry","category-dotnet","category-xna","category-34-id","category-35-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1622"}],"version-history":[{"count":2,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1622\/revisions"}],"predecessor-version":[{"id":1625,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1622\/revisions\/1625"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}