Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Cuestion 1.- In VS 2017 I have a class called "Common" that includes various useful functions to the rest of the classes.

If I extract one of the functions and include it in a new class, when I try to compile the class "Common" it tells me that the class that I have extracted does not exist.
The extracted class can not be compiled if I do not compile the "Common" class first. Solution?

Cuestion 2.- In VS 2017 I have a project with different dlls. When compiling I want all the dlls to be included in the compiled as a single dll.

What I have tried:

All in the internet All in the internet All in the internet
Posted
Updated 25-May-19 5:16am

1 solution

Question 1: That's going to depend on where these classes are: if you are moving between projects then yes, you will need to compile projects before the revised assembly can be used in a different one. Think about it: if you are writing code for two assemblies at the same time, you don't want partial code halfway through.
So add you class to Assembly A, compile it, then edit Assembly B and it will use the revised version.
Question 2: That's not how it's meant to work: the DLLs are separate assemblies, and are intended to be separate files so that they can be used with just one copy installed on the machine and shared by many other apps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900