Windows Phone 8 Debugging-Error using MVVM-Light portable in Express-Editions - mvvm-light

this is my first post her on stackoverflow. My english isn't so good, so i hope you understand my issue.
I'm using the Express-Editions of Visual Studio 2013 (Desktop, Web, Windows-Apps) and the Express Edition of Visual Studio 2012 for Windows Phone.
I created a Solution in Web-Developer 2013, created a class library and changed the project-file like mentioned in this post: https://stackoverflow.com/a/8146504/2912109
So now i have a portable class library in my solution. I followed the instructions in this tutorial:
http://blog.tattoocoder.com/2013/01/portable-mvvm-light-move-your-view.html
So in the solution there is a portable class library containing "MainViewModel" and "ViewModelLocator" class. After that i opened the vs 2012 express for windows phone and opened the solutions, add a wp8 project and did the steps mentioned in the tutorial.
In the designer i can see the "Hello"-Message on the MainPage.xaml. But when i try to debugg the wp8 project, i get an error that's saying something like this:
"There is no network connection to 169.254.70.217:8016 anymore. Debugging was canceld".
Anybody an idea what i could try to get this running? Or isn't it possible to run this with the different express editions of visual studio?

i have found the solution. :-)
The problem was, that in the Windows Phone project there was a wrong version of Microsoft.Practices.ServiceLocation.dll. The MVVM-Light Package by default installed there the v2.0 version of the dll. In the MVVM Light PCL project by defaukt it was the v4.0 version. So i changed the reference in WP8-project to the v4.0 and now it's debugging.
So if someone else runs in the same problem as me, here is the solution.
Greetings,
Daniel.

Related

IDEs version compatibility with ASP.NET Core

I am not able to find which IDEs are compatible with Asp.NET Core.
I want to develop an app and I donĀ“t know which are the possibilities.
Someone can list the compatible IDEs versions? Or some place where they are listed?
I am specially interested in Visual Studio versions
Visual Studio 2017. The Community edition is fully functional and free: Visual Studio 2017 Community Download
Visual Studio Code will also work and is cross platform. You can download it from here: VS Code Download
JetBrain's Rider will also work with ASP.NET Core: JetBrain's Rider, though it is not free.
Here's where MS tells you how to get started and what IDE you should use. Notice that the link to D/L the IDE takes you to a download of VS 2017 Community. This is the closest thing to an official "here's what's supported" you're going to get. .NET Core Getting Started.

Visual Studio 2015 Community version

there is a problem.
I've instaled VS 2015 Community version. I wanted to open the project from another computer and there is a problem with it.
Error:
1. Could not find SDK "SQLite.WP81, Version=3.12.2".
Warnings:
1. The referenced component 'SQLite for Windows Phone 8.1' could not be found.
2. Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed
project and projects that depend on it, have been disabled.
What should I do to work on this project on this computer ? How can I download missing SDK ?
P.s. Im going to work on widnows Phone application.
Thx for help!
Your project is missing SQLite For Windows Phone 8.1 library. Download an updated version of SQLite.WP8.1 here https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b.
Install it and relaunch Visual Studio.
Further information, including complete documentation, may be found at the official web site "http://www.sqlite.org/".

Visual studio 2015 - Azure Mobile Service project template not found

I can't find Azure Mobile Service Project template in my visual studio 2015 express edition. And I have just updated the Azure SDK to 2.8.1 but still not getting the template. I can see the azure mobile app template so is it the same one?
Screenshot of vs2015
please help me !!
Thanks,
Ravi.
You may resolve this issue by re-installing/Update the setup.
Restart the setup for VirtualStudio2015. Preview and select the required components to install.
After this you may see everything you want. You know, it's always better to select the features under 'Optional features to install' if you want to get what you want.

The custom tool 'msdiscocodegenerator' failed

I get this error when attempting to reference a Web Service in my Compact Framework application. Hunting through Google seems to indicate it's a common occurance, but there's been no useful suggestions as to what causes it, and how to fix it. I can successfully access the web service from a WinForms application by adding a Service Reference but the CF project only has the Web Reference option.
I am running Visual Studio 2008 on Vista.
Has anybody actually solved this problem after encountering it?
Thanks
Bill
Maybe yes... I forget as it was over a year ago. I needed to use a WCF service (presented as a web service) on CF 2.0 device. But I had issues with generating the wrapper.
What I think I did in the end was do it on the desktop and then copy that generated code into the device project. I had to remove a few bits to get CF compatability but it worked in the end.
Sorry for being so vague but my memory is like that sometimes. :)
This issue has been identified as BUG from Microsoft and fixed in latest version of visual studio. you can install VS 2013 and try. It was working properly after I upgrade my Visual Studio to 2013 version.

Visual Studio 2008 SP1 crash when opening MVC View

I have Visual Studio 2008 SP1 and ASP.NET MVC RC installed on a XP SP2 machine with .NET Framework 3.5 SP1. (That's a lot of SP's in one sentence!)
I've a ASP.NET MVC project that I can edit just fine with Visual Web Developer Express.
But opening a View page in Visual Studio 2008 SP1 makes Visual Studio to crash and vanish without even giving an error message.
Now, some bloggers have proposed that either Visual Studio Power Tools of TFS Power Tools could be causing this. However, I have neither installed.
Visual Studio can be started with /SafeMode option which solves the issue. But I'd like to know if there's more elegant solution available?
Pom
Microsoft have now released a hotfix to resolve this issue.
See https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827&wa=wsignin1.0
Phil Haack elaborates here - http://haacked.com/archive/2009/03/06/hotfix-for-installing-aspnetmvc.aspx
What solved it for me was clearing the Native Image Cache.
go to %windir%\assembly and delete the folders that start with NativeImages. I Have two... NativeImages_v2.0.50727_32 and NativeImages_v2.0.50727_64 because I'm running 64-bit Vista.
I had this same problem a few days back, and I removed all examples of Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll. I found the solution on google, and like you I'm not running PowerTools. I guess you're seeing
.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A035E00) (80131506)?
I renamed all examples of that DLL and rebooted, and now I can work again, don't know what I'll do when I have to unit test SilverLight again though.
Answering to myself here:
I eventually removed Visual Studio add-in called Ora. That seemed to stop MVC View related Visual Studio crashes.

Resources