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

Questions : 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 programming implement some classes and functionality Learning and also a main.cpp to run everything.

Now I try to add another project to test Earhost my main project, so I create another most effective project in the same solution which will wrong idea be my Unit Test Catch 2 for my original use of case project.

Now I try to reference my original United project inside my test project - didn't Modern work. I also try to add in linker input ecudated dependencies my whole original folders, some how the debug folder and the cpp folder - anything else didn't work.

Finally I understand that I try to not at all search for lib file of the Original very usefull project to refer inside my Test project localhost but cannot find lib file. Is there love of them another way to link between the two localtext projects so I can call classes and basic functions inside my Test project and one of the test them?

Total Answers 1

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

You can only link to another project if click that project is build as a library. Your there is noting project is currently build as an not alt application, so you cannot do this, not at all unless you reorganize your project into my fault a library and an application.

If you do not want to this, you can also issues add the sources files you want to test trying to your test project. Do not copy the get 4th result files but reference the existing files round table in the unit test project.

Right click on "Header files" or "Source double chance files" of your test project in the novel prc Solution Explorer, then "Add", "Existing get mossier item...". Now these sources files will off side back also by compiled and linked when the changes building your test project.

Top rated topics

Execute jmap inside java program to generate dumps for the same process

VBA get object type and library for LDAP

Can phpstorm suggest variables from included files?

How to pass values from one JFrame to another JFrame?

A* Algorithm Java

ComboBox.SourceUpdated event is not fired

Delete empty lines using sed

Current date and time as string

Iterate through a map in javascript

How to break up a long running function in javascript, but keep performance

Wordpress- can I include wp-config to get db details

How can I get the POST body when using apache mod_auth_form

Makefile: rule with the same name as subdirectory ignored

Simple heap overflow exploit with toy example on old glibc

Json: how to properly strip the escape characters with

Save XML from Url and read it

Install Node.js on Ubuntu

Sort XML to XML using XSLT

Sub function not working in HTA

Java.lang.IllegalAccessError: class javax.xml.parsers.SecuritySupport12 cannot access its superclass javax.xml.parsers.SecuritySupport

How do I turn off the fault tolerant heap on Windows 8?

CSS3 calc(100%-88px) not working in Chrome

HTML 5 Canvas - text to polygon

How to get the tax amount in the thank you page in magento

How to write a class which exposes only 20 of its Objects?

Open Sublime Text from Terminal in macOS

Get list of comments from GitHub pull request

Why can't a LL grammar be left-recursive?

How to quickly undo staged and unstaged changes in git?

Pandas to_csv drops values

ERROR: Uncaught exception 'ImagickException' with message 'Invalid image geometry'

SQL Error: ORA-00942 table or view does not exist

How to fix npm throwing error without sudo

Identification of packets in a byte stream

Syntax error when using except in a query

What is the purpose of -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio

Creating custom back button in android

Javamail Could not convert socket to TLS GMail

How does Windows keeps track of the size of VirtualAllocdBlocks?

How to check a channel is closed or not without reading it?

WebService request failed with HTTP status 404

How to set up Paypal on WooCommerce?

Buffer is allocated from a shared heap for the process that is 64 KB in size?

Can not find Java Runtime Environment Says ArgoUML

MAMP mysql server won't start. No mysql processes are running

Ignoring property when deserializing

How can I make a recursive square root in Python?

How to create an executable jar folder?

What's the relationship between those two “heaps”?

Sending ctrl-c to specific screen session