W
W
wassalam2017-01-14 19:31:01
Hyper-V
wassalam, 2017-01-14 19:31:01

Build HyperVBackup VisualStudio C# solution?

Good time! I'm trying to compile an application from source, the application is written in C#. from these sources. github.com/ColiseoSoftware/hypervbackup/tree/v2.2
After I add the project sources and build the solution, all links to the DLL become absolute, for example, I build from C:\temp The studio itself hardcodes everything into this directory. Although all libraries are present in the solution folder, the program continues to look for them in C:\temp - for example, WHAT makes it impossible to run the program from another location or on another PC. Plus, she downloads the dll herself and puts them in the packages folder. Tell me how to compile correctly - I don’t understand much in this matter!
Before compilation a0bd6d917ee740e680e8627879f75014.jpg
After compilation2dbb836c7998470f9ab9b5a27028fe2e.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-01-15
@wassalam

all DLL references become absolute
That is, the project was compiled, launched, but if it is moved along with the DLL to another folder, then it stops?
You need to look at the project settings, dependencies, if it is not clear in Visual Studio, then you can manually open the project files with Notepad, look for the problem and edit.
Plus, she downloads the dll herself and puts them in the packages folder.
Are you downloading from NuGet? You should remove the NuGet dependencies and replace them with just links to libraries, this can also solve the main problem, it is better to avoid such "dynamic" dependencies, especially if they do not specify a specific version of the library, this is not reliable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question