System.data.linq namespace not found - visual-studio-2010

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.

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

Could not load UI satellite dll 'FileTracker32UI.dll'

I've run in to an issue where I can't build a freshly created C++/CLI Class Library project in Visual Studio:
Even though I haven't made any changes I get an error when I try to compile:
Severity Code Description Project File Line Suppression State
Error Could not load UI satellite dll 'FileTracker32UI.dll'. Make
sure it exists in an LCID subdirectory of 'C:\Program Files
(x86)\MSBuild\14.0\bin\'. TestProject c:\Users\abcde\documents\visual
studio 2015\Projects\TestProject\TestProject\FileTracker 1
I've created C++/CLI Class Library projects in the past on the same computer using Visual Studio 2015 without encountering this problem. Any idea what has gone wrong?
I ran into this strange issue today without making any code change. I suspect it appeared due to overnight windows update.
In my case , I copied the two files FileTracker32UI.dll and FileTracker64UI.dll
From
C:\Program Files (x86)\MSBuild\15.0\FileTracker\3082\
To
C:\Program Files (x86)\MSBuild\14.0\Bin\3082\
and it worked. My visual studio version is
Microsoft Visual Studio Community 2015
Version 14.0.25123.00 Update 2
I am hoping the info helps someone.
I had the exactly same problem, after some windows update by my IT.
According to the information (https://forum.dlang.org/post/ezuohezwuzyitjdzpfdw#forum.dlang.org), I renamed the file "FileTrackerUI.dll" to "FileTracker32UI.dll" in the latest LCID folder (latest numbered folder in same location)
Then, it worked at my PC.
Good luck
In my case it was a path issue. Using another directory (shorter path without special characters) solved the problem

ionic2 with visual studio MSB3644 error when starting new project

Am using visual studio 2015 but whenever i begin a new ion ionic2 project an error
MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.0" were not found.
To resolve this, install the SDK or Targeting Pack for
this framework version or retarget your application to a version of the framework for
which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved
from the Global Assembly Cache (GAC) and will be used in place of reference assemblies.
Therefore your assembly may not be correctly targeted for the framework you intend.
After a research on the error i found out This link and This link but am using windows 10 on a 32 bit computer with program files folder and without the program filesx86 folder
Am not using any server and also a newbie to visual studio
I have also checked and
C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0. is there
I also found out you need to add
msbuild -p:FrameworkPathOverride="C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.
But am not sure where am supposed to add it
Can someone help me on this issue
But am not sure where am supposed to add it
Please run "Msbuild Command Prompt for VS2015"
Go to the folder of project
run the msbuild command
msbuild -p:FrameworkPathOverride="C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0"

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!

Adding reference to Windows Phone Toolkit in VS2010

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

Resources