Adding reference to Windows Phone Toolkit in VS2010 - visual-studio-2010

I'm busy with a windows phone app and need to use a expandable list control. After some searching I found that one can just download and add a reference to the Windows Phone Toolkit.
The instructions on what .dll file to use and add to your project seem to be a bit out dated. Or at least the instructions I'm finding. Apparently you have to add the dll file to you project located here:
C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Toolkit\Aug11\Bin\Microsoft.Phone.Controls.Toolkit.dll
But the directories in my PC is not the same. I can follow up to here:
C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\
Then there's no 'Toolkit' folder, etc. I just wanted to find out if someone can point out where to find this .dll that I have to reference on my project?
Thanks in advance!

you can download the latest toolkit and get more information on it from here http://silverlight.codeplex.com/releases/view/94435. I hope it helps

Related

How can I include windows WexTestClass.h in a c++ project

I've been trying to find this header file everywhere. This is part if Microsoft's Unit Test API, that doesn't seem to be very well documented.
All I know is that I need to download and install the Windows Driver Kit, which I have, but where do I find this header file and all associated include files for this project?
I have Visual Studio 2017 and Windows and Driver Kits 10.0.15063.468 respectively
I checked C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0 but that header is not there, it doesn't automatically get recognized by visual studio either.
Thanks
I found it under C:\Program Files (x86)\Windows Kits\10\Testing\Development\inc

Using Skype4COM with VC++

I am trying to use Skype4COM.dll to get the list of contacts for a Skype user and to send messages to a user. I have Visual Studio 2010 and the application I am trying to develop is a C++ based one.
I have issues with importing the Skype4COM.dll into the project. Following are steps I had done:
Downloaded the dll from http://developer.skype.com/accessories/skype4com
Register the dll using regsvr32 command
Created a Win32 Console Application in Visual Studio
Added Skype4COM.dll to the Additional Dependencies of the project
Tried - #import "Skype4COM.dll"
I get an error saying:
Error: cannot open source file "$(SolutionDir)/Debug/Skype4COM.tlh"
Can someone please help me with the problem.
Also it'll be great if someone can point me to a good article on how to use/configure Skype4COM with VC++
Thanks,
Raaja
Solved it by using C:\Program Files (x86)\Common Files\Skype\Skype4COM.dll instead of the one downloaded from the internet.
Thanks!

Moving MMC snap-in from VS2008 to 2010

This is not so much a question but rather a comment since I've found the answer already.
Problem:
I was moving a VS2008 project to VS2010, which uses the Microsoft.ManagementConsole namespace. The reference of the project targeted the DLL registered in the GAC, namely the file C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ManagementConsole\3.0.0.0__31bf3856ad364e35\Microsoft.ManagementConsole.dll. However VS2010 did not accept the reference anymore, even though I checked that the DLL was still in the GAC with the command gacutil /l.
Solution:
On MSDN: How-To Create a Hello World Snap-in I found a hint in a comment. Instead of linking the DLL in the GAC, I'd rather link the original DLL in the folder C:\Program Files\Reference Assemblies\Microsoft\mmc\v3.0\microsoft.managementconsole.dll. Builds like a charm.
Hope this helps somebody with the same problem!

System.data.linq namespace not found

I have visual studio 2010 express for windows phone installed on my system and i am not able to find System.data.linq namespace in references so i tried to download the the dll and copy in the C:\Program Files(x86)\ReferenceAssemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone location but it is saying it is a dll not built for windows phone can anyone help to add the correct dll as the reference..? thanks in advance
You may have to import the reference manually.
Mine is located here:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\system.data.linq.dll
That should fix this.
I had same problem. Your project should be minimum windows phone 7.1 version. Look what is written in your csproj file. There should be: <TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
but no
<TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
In my sutuation there was written just WindowsPhone and I corrected it to WindowsPhone71 and I got System.Data.Linq and mscorlib.extenstion libraries.

Using WebMatrix.Data in Visual Studio with the facebook helpers

I installed the facebook helper package in my Visual Studio 2010 MVC project. Using it currently breaks my site because it can't find the classes it uses from the WebMatrix.Data and WebMatrix.WebData libraries. I can use them in my cs files, but from the facebook.cshtml file they appear to be inaccessible.
Has anybody encountered this? I know this all beta but still.
Thanx
Rinze
Ok, the solution to this is copying the files to the bin folder.
Syg, see my answer on the similar question "ASP.NET MVC 3 - Issues with microsoft-web-helpers v1.1".
Copy the dll files to your site bin folder, which are in
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies
on my pc

Resources