Installing Farseer Physics Engine - farseer

I am trying to get farseer for Microsoft Visual Studio 2010 For Windows Phone. I downloaded farseer although I have not been able to find a bin folder inside of the downloaded files. The youtube video I was following to install it had locateds a bin folder, is this correct? How could I get farseer working in my wp7 projects?

If you've downloaded the "Farseer Physics Engine 3.5" zip, there should be a folder called obj that contains a "Windows Phone" directory. You may need to compile the project first, but in the .\obj\Windows Phone\Release\ there should be a dll containing Farseer for Windows Phone.
Start a new project in Microsoft Visual Studio 2010 and in your Solutions Window, right-click References -> add Reference -> Browse -> Navigate to the folder containing the dll and add it to your project.

Related

Open Visual Studio project on other device

I want to work on my VS project on an other device, just copying the Files didnt work for me. When i open the project on my secondary device every reference is missing even the system references.
Its an Framework C# Forms project.

Unity3d generating an empty .sln file

I'm following the Hololens Developer 100 course from Microsoft. All goes well until I get to building. I follow the instructions exactly here and click build. It asks me to select a folder and I create a folder called "App" (per the instructions) and select that folder. When I finally hit build Unity seems like it's working fine but then two things go wrong:
1) The .sln file that's generated is not in the App folder, but in the parent project folder. The App folder is empty
2) When I open the .sln file, it's empty. The tutorial asks me to edit Package.appxmanifes, but I can't because it doesn't seem to have built.
Is there a configuration somewhere that's not correct? Perhaps Unity and VS aren't talking to eachother correctly? More Importantly, how do I fix it?
I had the same problem, for me it was that I didnt have the Windows 10 SDK installed as part of Visual Studio 2015 with Update 3, in the instructions there is a bit that says:
"If you choose a custom install, ensure that Tools (1.4) and Windows 10 SDK (10.0.10586) is enabled under Universal Windows App Development Tools node. All editions of Visual Studio 2015 Update 3 are supported, including Community."
If your hololens build completes successfully a file explorer window will pop open at the project level. If it fails you should find errors in the console tab of Unity.
The SLN file that is at the project level is a solution file that you can open in visual studio to edit unity code and attach to the unity editor to do real time debugging while running your solution in the editor. In fact if you click on a "CS" file in the project tab of Unity this is the solution that opens in visual studio.
The SLN file you are looking for is in the App folder. Once you open the SLN in visual studio set the configuration to Release and x86, and you should be able to target your build at either a "Remote Device" which is the hololens, or the hololens emulator if you have that installed.

Xamrin: Why two folders one in AddData folder and SDK folder are used by Visual Studio 2015?

Xamrin needs two folder for compiling application one is 'C:\Users\User1\AppData\Local\Xamarin' folder and another is
actual android sdk folder.
Can anybody provide clarification on these? Usage is not clear which one is imp.
Which packages should be available under AppData?
The Android SDK folder is actually that, a folder that is installed and maintained via Google's SDK installers and who's content is untouched by Visual Studio/Xamarin tools. Binaries are run from there, SDKs fetched, etc.. but the contents are not changed.
The AppData Xamarin subdirectory is used as a cache for multiple things, including downloaded and inflated SDK components for the various Android API levels.
Basically, instead of inflating needed SDK components into each and every solution/project directory, Xamarin uses the AppData area to cache and share these SDK assets across all your Visual Studio solution and projects.
Windows:
%LocalAppData%\Xamarin\Local
%LocalAppData%\Xamarin\Cache
OS-X:
~/Library/Developer/Xamarin
~/Library/Caches/XamarinStudio-5.0/DerivedData
~/Library/Caches/XamarinStudio-6.0/DerivedData

Running new MonoGame project with Xamarin Studio

I am trying to start a new project for mac using MonoGame. I have installed everything I believe is required but when I run the new project (mono game logo should pop up) I get these two lines in the output:
Loaded assembly: /Users/Kristin/Projects/Test/Test/bin/Debug/Test.app/Contents/MonoBundle/Test.exe
Loaded assembly: /Users/Kristin/Projects/Test/Test/bin/Debug/Test.app/Contents/MonoBundle/MonoMac.dll [External]
and the new application that is started hangs without popping up a window. I tried following the steps on this page: http://jamie.ly/wordpress/programming/software/setting-up-a-monogame-mac-application-with-xamarin-studio/
but nothing seems to be solving my problem. Any ideas?
I know its late but I just joint monogame and found the solution:
To make it work follow the following steps:
Install the latest xamarin studio from http://xamarin.com/studio
Next download the monogame files from https://monogame.codeplex.com/releases/view/102870
choose the xamarin version on mac
Next install the templates by opening xamarin studio. Next click on the top Mac menu "Xamarin Studio" Addin Manger and choose install from file and select your donwloaded file...
so far so good but your png files will not be loaded from here... so solve this issue follow the next steps:
visit the git page from monogame and download it: https://github.com/mono/MonoGame
after Downloading and unpacking the zip file go into the folder and look open the following file by using xamarin studio
MonoGame.Framework.MacOS.sln
Now Xamarin studio should open up and include 2 Projects: Lidgren. ... and Monogame.Framework.MacOS
on the top of Xamarin studio (besides the play button you should see Debug click on it and change it to Release
now do a right click on the Monogame.Framework.MacOS project and build it new
This should be done without any errors but you may get warnings... we do not pay attention on them :D
next do you need to go again to the downloaded Monogame folder from where you opened the MonoGame.Framework.MacOS.sln project.
But this time you need to dive more deep into the folder structure: look for the following folder --> MonoGame.Framework/bin/MacOS/Release
the files in the release folder are now your new libraries...
You can copy this libraries where ever you want but you should know where they are because you need to add them to your new monogame project.
Next open up Xamarin studio and create a new Monogame project by using the already installed templates...
Choose the Monogame Mac Application Template
We are now almost done:
Look for the reference "folder in the project tree inside of Xamarin studio" and do a right click on Monogame to delete the reference...
Now you need to add new references by right click on reference.
Access the .Net-Assemblies and add your files from the MonoGame.Framework/bin/MacOS/Release/- folder (make sure that you add all of them)
The final step now is to expand your Content folder in Xamarin studio and do a left click on the logo.png file.
on the left side of the IDE you can find Properties. In the properties change 3rd from top to content instead of none.
If you run now the template the graphic should be loaded without any problems :D
I TESTED IT ON SEVERAL MACHINES IT WORKS THAT WAY!!!!
ENJOY
regards
Schreda

Installing PhoneGap 1.5 templates for Visual Studio

I want to develop an app for windows phone using Phone Gap. The Phone Gap webpage indicates this in the installation instructions page (http://phonegap.com/start#wp):
Download the latest copy of PhoneGap and extract its contents. Navigate to the Windows Phone directory and copy the file PhoneGapStarter.zip to your templates folde
But in the current version THERE IS NO PHONEGAPSTARTER.ZIP file, so I can't install the Visual Studio templates, and so I can't create PhoneGapp apps on WP7. :-(
Anyone has had the same problem?
Thanks!
Check these links. callback-windows-phone is now moved to below links
https://github.com/apache/cordova-wp8
https://github.com/apache/cordova-wp8/blob/master/README.md
Hope this will help you out.
From the first link download & copy the file Cordova-1.5.0-Starter.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\
The PhoneGap project has been renamed to Cordova, however, the docs have not been updated. Download the zip file, then locate the following file from within this zip:
lib\windows\Cordova-1.5.0-Starter.zip
And add that to your project templates directory
I had to log out/in to Windows (not just restart Visual Studio) before the CordovaStarter was listed under Installed Templates/Visual C#/Silver Light for Windows Phone.

Resources