I am trying to use a DLL in a Visual Studio 2010 C++ project . I followed the directions here but http://msdn.microsoft.com/en-us/library/ms235636(v=vs.80).aspx I cannot seem to add references to my project.
When I open add reference there is no way for me to add any references, as shown below.
What am I doing wrong here?
You are using the wrong version of the tutorial. It is created for Visual Studio 2005 and you are using Visual Studio 2010. This is the correct version.
The problem here (I think) is that you didn't "add to solution" when creating the project that will utilize the dll file.
edit: or you might have forgotten to compile your dll
Related
I'm looking for a way to update my visual studio 6.0 .sln file to a newer IDE like Visual Studio 2019. When I attempt to open it, it gives me the option of a one way upgrade, but I get errors such as:
"Unable to convert project. Please make sure this is a valid Visual C++ 6.0 project." on a .dsp file.
Is there a proper way to do this or do I need to re-install Visual Studio 2006 just to open this project? Thank you!
I am trying to extend some functionality using VSIX.
When I double click on the VSIX installer it, the following screen pops up. Visual studio 2013 is the only option it provides. But we use Visual studio 2010 for our development.
Can something suggest how to modify the manifest file and steps to make this VSIX 2010 compatible?
Thank you
No, you will most likely have to get the source code of the existing extension, and then build a new one for vs 2010 using the 2010 sdk
As ErikEJ already said, you need to use VSIX Manifest Version 1.
I did it using the instructions here. There is documentation of VSIX Manifest Version 1 here.
You must target Framework Version 4, but there is no need to build with Visual Studio 2010.
After installing Visual Studio C++ 2010 Express, I have not been able to create any projects. Visual Studio Basic 2010 Express was previously installed.
I constantly am getting the error after putting the name into my project and selecting the type;
Creating project "project-name" . . . project creation failed.
I did check the settings for the project templates and items, they seem to be pointing to my documents folder instead of my ProgramFiles, but I am sure that it did not work even there.
Another question similar to this one:
Project Creation Failed Microsoft Visual C++ 2010 Express and Visual Studio 2010
Any suggestion is thanked, I have been trying to find a solution to this for a very long time, but have not been able to find anything helpful.
Many thanks,
Jim
I need to program some .Net Gadgeteer modules for a big project on visual studio 2012.
Unfortunately I can't find the templates for Gadgeteer.
All the tutorial I have found says I have to use visual c# or visual studio 2012.
Do you know if some suitable templates exist?
The templates can be found at the codeplex project. https://gadgeteer.codeplex.com/
Here is a detailed tutorial of setting up the environment. http://gadgeteerguy.com/Tutorials/TutorialView/tabid/147/ArticleId/23/Getting-Started-Guide.aspx
Does anyone know how to add a reference to "C:\Windows\SysWOW64\mqoa30.tlb" in Visual Studio 2010 like you can in Visual Studio 2008?
If I go to Add Reference, and browse to this file: "C:\Windows\SysWOW64\mqoa30.tlb" these are the different results:
Visual Studio 2008
Added Just fine
And creates the Interop stuff
Visual Studio 2010
The error message in clear text for SEO:
Could not add a reference to C:\Windows\SysWOW64\mqoa30.tlb
Could not load file or assembly 'mqoa30.tlb' or one of its dependencies. The module was expected to contain an assembly manifest.
This file may not be a managed assembly.
Cannot add from the Add Reference Dialog and "Microsoft Messaging Queue 3.0 Type Library" is not listed already in the COM Type Libraries.
(Note: I have MSMQ installed and working fine (via NServiceBus). I am running Windows 7.)
If you know how to add the reference can you please tell me?
This is what it looks like on my version of VS2010, works fine. No clue what your screenshot might represent, some sort of add-on I guess.