How to Target WP7.1 in Visual Studio 2013 - windows-phone-7

I have just upgraded to Windows 8.1 and installed Visual Studio 2013. I am trying to update a previous WP7.1 solution but when opening with VS2013 I am asked to update some things. I select yes, and everything seems to work except for the Windows Phone Toolkit I got from NuGet in my original solution (built in VS2012). After updating I had a migration report error saying Some NuGet packages were installed using a target framework different from the current target framework and may need to be reinstalled. For more information, visit http://docs.nuget.org/docs/workflows/reinstalling-packages. Packages affected: WPtoolkit. Since my app was built targeting WP7.1 in VS2012 I assumed that removing and redownloading the WPToolkit would work, but it targets WP80 by default. It seems I cannot create a Windows Phone app targeting 7.1 anymore? Is there a solution for this?

You can not create wp7.1 apps in vs2013. It is not supported by visual studio 2013.However you can upgrade your wp7 app to wp8 app in vs2013. just open it in vs2013 and do same manual changes

Goto Tools>Nuget Package Manager> Package Manager Console
Write the following command:
PM> Update-Package -reinstall SilverlightToolKitWP

Related

Visual Studio 2017 - Toolbox not loaded and hanging

I have just installed Visual Studio 2017 in my Windows 10.
I got error in initializing the Toolbox and it keep hanging.
Is there something I can do with?
I have launched the VS 2017 with Administrator, but this doesn't resolved the issue.
I had the same issue. I uninstalled Azure stuff and Clang/C2 and Toolset for Visual 2015.3 v140 and Xamarin stuff and added Apache Ant. After that it worked. So some of the above seams to resolve the issue. I will not do further investigation, because for me it is OK without that stuff.
Had the same problem. I did have Xamarin installed but not Android SDK, because I had it already installed for various other tools.
Turns out this is caused by Xamarin trying to access Android SDK, which isnt there. Solution seems to be to either remove Xamarin or install Android SDK, according to development community forum.
Unfortunatly, installing Xamarin and going into Xamarin/Android Settings to point to existing Android SDK (without it) also seems to hang VS2017.
HOWEVER...
If you want to keep Xamarin and use your own Android SDK/NDK, what you can do is:
Lauch Visual Studio 2017 Installer
Install Xamarin and Android SDK (dont need to install NDK as well)
Launch Visual Studio 2017
Go into Tools / Options / Xamarin / Android Settings (It wont hang
now)
Point to your existing Andoid SDK / NDK and Java runtime you want to
use
Close VS2017
Go back to Visual Studio Installer
Uninstall Android SDK
Before that I tried to define an ANDROID_HOME environment variable and tried to set the paths in registry, neither of those helped. This fixed the problem for me.
I tried all the voodoo solutions, removed every extension (xamarin included) and every package except the core .net and C# VS, which I updated to the latest version available v15.9.30. Same problem.
The solution for me was to uninstall an office plugin/tool from a previous visual studio.
The problem app was "Microsoft Visual Studio 2010 Tools For Office Runtime (x64)". After I uninstalled it, the problem was gone.

Unable to open Xamarin Studio on Windows 10

I Have been follow the steps in this video to install xamarin studio without visual studio
How to install Xamarin Studio in windows
and when i try to open it its not working,no message no anything
I try to run it as administrator and its doesnt work
If you look in the IDE log file, which is in the %AppData%\Local\Xamarin-Studio-6.0\Logs directory and you see an error similar to:
System.DllNotFoundException: Unable to load DLL 'libglib-2.0-0.dll': The specified module could not be found.
Then you may be able to fix this by installing an older version of GTK#. Full steps to do this are:
Stop Xamarin Studio.
Uninstall GTK#.
Install an older version of GTK# such as GTK# 2.12.30
Xamarin Studio on Windows 10 requires a bit of modification since we do not ship it in our Windows installer anymore:
https://www.xamarin.com/faq#xpq6
It is highly recommended to use Visual Studio on Windows as it is free with the Community Edition.

Visual Studio crashes when trying to associate Cordova app with store

I'm on the latest version of Visual Studio 2015 Community (14.0.24720.00 Update 1) on Windows 10. I'm currently developing a Cordova App for Windows 10, iOS and Android using the Visual Studio Tools.
When I right click on the Project, then go Store > Associate App with the Store, I can successfully log in, see my existing apps and select the one I want, but when I try to actually associate that app with my VS project, VS just crashes.
I've already tried repairing Visual Studio through Add or Remove Programs and also cleaning out my project/solution, but none of this worked.
Any advice?
Thanks!
I had the same issue. Apparently, this is a known problem with VS2015 Update 1 (with the latest Cordova tools support).
The current workaround is to choose "Create App Packages" instead of "Associate App with the store." When you do this, the proper association will be generated and you can test as usual. I was successful using this approach.
The fix in Visual Studio 2015 for this crash is now available in Visual Studio 2015 Update 2. Here's a link to the installer: http://go.microsoft.com/fwlink/?LinkId=691129

Creating a UWP project in Visual Studio 2015 results in a ".NETCore 5.0 missing" message

I installed Visual Studio Enterprise 2015 (version 14.0.23104.0 D14REL) with tools for building Universal Windows Apps. Every time I create or load a Windows Universal project (unit test, class library), I get the following error:
The download link unhelpfully goes to microsoft.com and I can't find a "framework SDK" download for .NET Core anywhere.
I tried installing the CoreCLR runtime using the DNX tool, but that didn't change anything.
What am I missing?
I had the same issue and I noticed that the v5.0 "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore" was missing. This issue only arose after I installed the vs2017 and uninstalled it (meaning it removed the v5.0 folder during the uninstall process). I tried everything from repairing to uninstalling/reinstalling vs2015 but none recreated that folder.
Here is my v5.0 zip try placing it in the above mentioned path (never tried it myself, i just reinstalled vs2017)
https://www.mediafire.com/?hmdt5k41kvsyqt6
Download and run the Windows 10 VS Tools Installer for Vs2015 Enterprise and select the Windows 10 Development tools. This reinstalls everything relates to Windows 10 development.

Targeting WP7 async powered projects in Visual Studio 2012

Is it possible to use async stuff in Windows Phone 8.0 SDK (Visual Studio 2012) and still targeting Windows Phone 7.1?
I installed Windows Phone 8.0 SDK and opened my WP7.1 project with references to AsyncCTP nuget package. The following compilation error occurs:
Cannot find all types required by the 'async' modifier. Are you targeting the wrong framework version, or missing a reference to an assembly?
I do not want to drop support of WP7.1, so upgrade to WP8 is not an option.
It is possible using the latest version of the async CTP. You can find it on NuGet at Microsoft.Bcl.Async.
More information on the BCL Team blog: http://blogs.msdn.com/b/bclteam/archive/2012/10/22/using-async-await-without-net-framework-4-5.aspx
Note: The installation of this NuGet package seems a bit random. I had to try twice to make it work.

Resources