Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-2 votes
1 answer
63 views

Visual Studio C++: copy projects and solutions from one pc to another (github not working)

Visual Studio C++: copy projects and solutions from one pc to another (github not working): Can I just copy these files to another pc? Or will I mess things up (e.g. in github)? On the destination pc, ...
babipsylon's user avatar
1 vote
0 answers
144 views

Should I edit the solution generated by CMake? (Intended workflow with CMake on Windows)

Let's say I'm part of a team of developers working on an application. The application "lives" on GitHub and we have decided to use CMake because people use different operating systems and ...
Otto's user avatar
  • 39
2 votes
1 answer
474 views

Can I set a solution-wide macro from VS a project property sheet?

Short Version: I need to find a way allow a new VS solution to "override" a build macro used by existing C++ projects, but only for that solution, without affecting the value of that macro ...
Joe's user avatar
  • 6,738
0 votes
1 answer
842 views

Cannot Link between 2 projects in the same solution, and i dont have a .Lib File for additional dependencies

I have a main project and which there I implement some classes and functionality and also a main.cpp to run everything. Now I try to add another project to test my main project, so I create another ...
ItayD's user avatar
  • 1
0 votes
0 answers
117 views

Make Visual Studio C++ project with missing references link OK

Context: Visual Studio 2019. I have a suite of C++ projects that need to be compiled both into individual (plugin) DLLs, as well as be linked statically into a single application for testing purposes. ...
Carl Colijn's user avatar
  • 1,597
3 votes
2 answers
7k views

Include darknet Yolov3 for object detection

Unfortunately I am not very experienced with C++ and the handling of Visual Studio. I have to implement a C++ application, in which I can integrate yolo or darknet as a library and use it flexibly. I'...
f_3464gh's user avatar
  • 160
10 votes
0 answers
4k views

Visual Studio C++ Multiple Project Solution Setup

0. Disclaimer This question is only about Visual Studio C++ project/solution configuration and may involve subjectivity. However, the idea behind this post is to share our approaches to configure a ...
Adrien Givry's user avatar
0 votes
0 answers
43 views

How to use functions coming from two projects (static libraries) in a third project (executable)?

I have three projects within one solution. I am building two static libraries and trying to link them to my executable project (called ensemble). I have added both .lib file directories to my Linker/...
Ryanator13's user avatar
1 vote
2 answers
15k views

Where is Visual Studio source file directory change option

I've been trying for hours to change the source path. I couldn't find anything on project properties, and I couldn't find anything on the internet either. I want to put all my source files in a ...
aramok's user avatar
  • 65
0 votes
1 answer
1k views

MS Visual Studio solution combining unmanaged C++ project and C# projects

I am using MS Visual Studio 2017 and want to have a solution which contains all of my subprojects, and can build them and maintain dependency relationships among them. One of these projects is ...
Petr Kozelka's user avatar
  • 7,970
-3 votes
1 answer
80 views

LNK1124 error debugger cannot find .exe file

image of error I'm having an error with visual studio every time I'm trying to use cin to get the guess of the user without that it works fine. code console message with error
fernando peguero's user avatar
0 votes
2 answers
418 views

How to execute process before build multiple projects in a solution

I'm using VS2010 on Windows 7 Ultimate x64. I want to build multi-project in one solution automatically. For example : ) Solution StormSolution contains 4 projects. 1 : Storm_Module1 (output file ...
AleXelton's user avatar
  • 772
0 votes
1 answer
865 views

C++ Project not building. No output files are produced

I have a solution with multiple C# projects included, and a single C++ project. The C++ project is a .NET Framework bootstrapper that should produce a native executable file. I first built the ...
Michael's user avatar
  • 177
0 votes
2 answers
2k views

Creating class object defined in another project

I have a Visual C++ solution with 2 projects: rectangle and project3. In rectangle project I have rect.cpp and rect.h. rect.h #ifndef rect_h #define rect_h class Rect { public: Rect(); int ...
mbaros's user avatar
  • 845
2 votes
0 answers
63 views

Visual Studio 2010, jump to source code using IDE

Let me break down my problem. I have two visual studio 2010 solutions with multiple projects in them. Solution A Solution B Solution A generates libs that are added as dependency in Solution B. This ...
steve's user avatar
  • 21
0 votes
1 answer
740 views

What is the correct way to output compiled target in a different folder than dependencies DLLs?

I have a Visual Studio solution file with a few projects (mostly C++), most of them are configured in a pretty standard way, with Output directory set to a "bin" directory. Some of them need their ...
roalz's user avatar
  • 2,768
0 votes
2 answers
676 views

How open a C++ .SLN project in xamarin studio on Mac?

I have a .sln file that i want to open in Xamarin studio, the problem is that this file is in c ++, and when i open the project this message appear : "Xamarin studio don't allow this type of project" ...
RN Vi's user avatar
  • 68
0 votes
1 answer
2k views

Using header files with multiple projects in same solution

I'm using C++ and visual studio 2015. I've created 2 projects in 1 solution. The first project is a static library and the other a DLL. I want to include one header file from the static library to use ...
G. Penev's user avatar
2 votes
1 answer
458 views

c++ include from another solution

i have two VS2013 solutions A and B. My Solution B, containing multiple Projects, was originally compiled to be an executable, but i want to use its functions in solution A, so i changed its ...
infect's user avatar
  • 55
0 votes
1 answer
131 views

How to "sync" two project inside the same solution?

I've these project inside Visual Studio 2015: as you can see, they "share" the same classes (.cpp/.h). If I edit it inside DefaultProject-app, automatically it change within DefaultProject-vst2. Now,...
markzzz's user avatar
  • 47.8k
2 votes
2 answers
3k views

Is it possible to read/retrieve a c++ source code from a .sln file?

I sent a .sln file (instead of .cpp file) to a friend; will he be able to read the source code from it or is it just a file used from Visual Studio to load projects?
Alessandro's user avatar
  • 1,076
1 vote
0 answers
67 views

Visual studio stops responding when I try to create solution

I recently built a new PC with windows 7 about a month ago, everything has been working fine until I tried to install Visual Studio today. First I tried 2013 community edition, it seemed to install ...
BossLetsPlays's user avatar
0 votes
1 answer
747 views

JNI: C++ platform in VS2010

I am writing a C++ dll application via JNI interface to call Java program from C++. I am using Java8, C++, Visual Studio 2010 professional and Windows 7. I am currently setting Configuration as ACtive(...
wolf97084's user avatar
  • 280
0 votes
1 answer
197 views

Java Script while using ENVDTE - Add new project to existing solution and locate it in a specific sub-folder

I'm writing a Visual Studio extension of a new c++ project template on Visual Studio 2010. I 'm doing it by the method of .vsz template. I expanded the default.js code according to my needs. iN THE ...
user1835297's user avatar
  • 1,097
1 vote
1 answer
87 views

Visual Studio / C++: Build of non-dependant project built on launching debug mode

I have a visual studio solution which has several projects written in C++. Some of the projects build executables and some are libraries. They are all statically linked. Lets say the names of the ...
user824600's user avatar
3 votes
1 answer
2k views

Solution wide build configurations in Visual Studio?

I can chose build options like \MT or \MD in the project settings. But since I have a Visual Studio solution with multiple projects, I am looking for a way to define those options or add additional ...
danijar's user avatar
  • 34.1k
27 votes
3 answers
43k views

Visual Studio & C++: Use filters as directories

I Use Visual Studio 2012 Professional and C++. When creating so called 'filters' and adding source files to them, the files in the solution explorer are divided into sub directories, while on the file ...
bytecode77's user avatar
  • 14.8k
1 vote
2 answers
226 views

Qt/C++ project VS2010 svn-commit&update .sln

Using Tortoise-svn with C++ VS2010 project. I would like to know in which cases you are to commit .sln file. Some reasons I see for commiting .sln file: some projects were added to solution ...
kiriloff's user avatar
  • 26.3k
1 vote
2 answers
697 views

Multi-project solution in Visual Studio: spread the config of the main project

I have a C++ solution in Visual Studio (2012 Express) containing 15 projects. 1 is defined as the main project (the one that is first built as the whole solution is built). All the 15 projects have ...
tags's user avatar
  • 4,050
0 votes
1 answer
116 views

Linker option for multi-project solution

Good day to you all. There's one question I'd like to ask you. Actually, I quite acquainted with setting linker project for single-project solution, so the possibility of me looking at the wrong ...
Monceber's user avatar
  • 151
3 votes
1 answer
3k views

Accessing variable from one project to another in visual studio c++

I have a solution and it has two projects in it. When I got the code they told one project handles the visual part and the other has the logic part. Now I added one button to the window. To do that i ...
user1494936's user avatar
2 votes
1 answer
1k views

Importing a library in MS Visual Studio from the same solution

So I have my solution file here, which contains 4 projects. Project A is a library which gets compiled into a .lib. Project B is a program which becomes an .exe. I have set up Project A as ...
cfstras's user avatar
  • 1,848
2 votes
3 answers
704 views

Cleaning the Solutions for zipped email attachment

How do I 'clean' a Visual Studio 2010 C++ solution, so that it is small enough to be zipped up and sent as an email attachment? Is there any other way to send large MSVS C++ files over email?
user avatar
2 votes
1 answer
2k views

Converting 'makefile.vc' to a '.sln' solution file

I have a makefile.vc which I am using to compile via this .bat batch file: ECHO OFF CLS SET VSTools="E:\_ProgramFiles_\MS VStudio 10\VC" CALL "E:\_ProgramFiles_\Microsoft SDKs\Windows\v7.1\Bin\SetEnv....
mr bum's user avatar
  • 194
0 votes
1 answer
528 views

c++ visual studio 2008 issue with two projects in one solution

I have a solution created using visual studio 2008 named, "Solution", and i have two projects in that solution, project "A" and project "B". when i do a thing like below it shows fatal errors in the ...
12 votes
2 answers
2k views

VS2008: how to run two separate projects from the same solution

I have a single un-managed C++ console-app solution (.sln) with two projects (.vcproj) both are built as .exe. I want to run them both at the same time (one is a client and one is a server). How do I ...
sivabudh's user avatar
  • 32.6k
5 votes
1 answer
293 views

Shared Code Layout

I have two C++ projects in a solution both of which need to share two common classes. What I want to avoid is having two copies of the source files but I am reluctant to just include the source in one ...
Konrad's user avatar
  • 40.8k