Using WebMatrix.Data in Visual Studio with the facebook helpers - visual-studio-2010

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

Related

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

error C1083: cannot open include file: 'winsock2.h': No such file or directory

Visual Studio 2013 returns this error when I tried to build a Snare (http://www.intersectalliance.com/projects/BackLogNT/) project.
I installed the Windows SDK and I realized that I am supposed to include the SDK path into my project. Could anyone explain how to include the SDK path into a Visual Studio project?
The answer by user2644318 is quite hardcoded. An alternative is to try this:
- Open the Project properties
- Goto Configuration Properties -> General
- Set the Platform Toolset to v120_xp (Visual Studio 2013 - Windows XP)
- Recompile
Funnily enough I can mix toolsets for libraries; they link fine. Ofcourse, this only gets you XP interface capabilities.
I think answer of Ruud van Gaal is more correct.
What I did:
- install Windows SDK for Windows XP (7.1) from here
http://www.microsoft.com/en-us/download/details.aspx?id=8279
open the Project properties - Goto Configuration Properties -> General - Set the Platform Toolset to "Visual Studio 2013 - Windows XP (v120_xp)"
after this Include/Libraries paths were changed to correct folders
$(VC_IncludePath);$(WindowsSdk_71A_IncludePath);
$(VC_LibraryPath_x86);$(WindowsSdk_71A_LibraryPath_x86);
So I did NOT change them manually.
Only targeting correct tool set and everything started to work.
In Visual Studio 2013, under Solution Explorer, right click on the project -> Properties -> Configuration Properties -> VC++ Directories, then include (WindowsSDK_IncludePath_um); in Include and Library Directories. I was able to solve this issue with this approach.
I just downloaded and installed windows SDK 8.1 for my windows 7. VS2013 looks for winsock2.h header in C:\Program Files (x86)\Windows Kits\8.1 folder. This approach works for me.
If you are encountering the same problem in Visual Studio 2019, the problem might be that you started off with a completely blank project. It literally states that there are no starting files. So instead I created a new project based on any other than "Empty Project". Now I could find winsock-files in external dependencies.
It may sound like a lazy workaround, but it will save you from the startup headache of having to tamper with include paths.

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!

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.

Where are the Razor assemblies?

I'm playing around with WebMatrix and I'd just like to explore some of the razor stuff behind the scenes... but my Reflector skills (and my brain) are failing me. Does anyone know offhand what assembly I should start looking in (and/or a location for it)?
All the assemblies are installed into Program Files as well as into the GAC. The local folder is:
C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies

Resources