VS2017-Build fails because compiler don't wait until previous project dlls is generated
up vote
0
down vote
favorite
I have a solution with 11 projects with cross dependecies. Let's say I've p1 and p2, p2 needs the p1 dll to build. All projects have their compilation output path changed.
So, when I don't have the DLLs generated and I click Build Solution the compiler starts building all the projects in the correct order, but they fail because the compiler do not find the previous project DLL. The DLLs, in fact, are builded correctly, and if I make another build it works perfectly. But this first time it fails.
The compilation order is correct, the DLLs get generated and the second time I build it works... Someone have any ideas why it fails the first time?
EDIT: I want to remark that my compilation order is correct.
build visual-studio-2017 dependencies
add a comment |
up vote
0
down vote
favorite
I have a solution with 11 projects with cross dependecies. Let's say I've p1 and p2, p2 needs the p1 dll to build. All projects have their compilation output path changed.
So, when I don't have the DLLs generated and I click Build Solution the compiler starts building all the projects in the correct order, but they fail because the compiler do not find the previous project DLL. The DLLs, in fact, are builded correctly, and if I make another build it works perfectly. But this first time it fails.
The compilation order is correct, the DLLs get generated and the second time I build it works... Someone have any ideas why it fails the first time?
EDIT: I want to remark that my compilation order is correct.
build visual-studio-2017 dependencies
Possible duplicate of Visual Studio 2010: How to enforce build order of projects in a solution?
– itdoesntwork
Nov 22 at 16:21
No, it's not uplicated, my solution's compilation order is fine.
– Levinor
Nov 27 at 10:26
Are you on the absolute latest version (15.9.2 as we speak)? See docs.microsoft.com/en-us/visualstudio/releasenotes/…
– Peter B
Nov 27 at 10:35
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a solution with 11 projects with cross dependecies. Let's say I've p1 and p2, p2 needs the p1 dll to build. All projects have their compilation output path changed.
So, when I don't have the DLLs generated and I click Build Solution the compiler starts building all the projects in the correct order, but they fail because the compiler do not find the previous project DLL. The DLLs, in fact, are builded correctly, and if I make another build it works perfectly. But this first time it fails.
The compilation order is correct, the DLLs get generated and the second time I build it works... Someone have any ideas why it fails the first time?
EDIT: I want to remark that my compilation order is correct.
build visual-studio-2017 dependencies
I have a solution with 11 projects with cross dependecies. Let's say I've p1 and p2, p2 needs the p1 dll to build. All projects have their compilation output path changed.
So, when I don't have the DLLs generated and I click Build Solution the compiler starts building all the projects in the correct order, but they fail because the compiler do not find the previous project DLL. The DLLs, in fact, are builded correctly, and if I make another build it works perfectly. But this first time it fails.
The compilation order is correct, the DLLs get generated and the second time I build it works... Someone have any ideas why it fails the first time?
EDIT: I want to remark that my compilation order is correct.
build visual-studio-2017 dependencies
build visual-studio-2017 dependencies
edited Nov 27 at 10:26
asked Nov 22 at 16:13
Levinor
275
275
Possible duplicate of Visual Studio 2010: How to enforce build order of projects in a solution?
– itdoesntwork
Nov 22 at 16:21
No, it's not uplicated, my solution's compilation order is fine.
– Levinor
Nov 27 at 10:26
Are you on the absolute latest version (15.9.2 as we speak)? See docs.microsoft.com/en-us/visualstudio/releasenotes/…
– Peter B
Nov 27 at 10:35
add a comment |
Possible duplicate of Visual Studio 2010: How to enforce build order of projects in a solution?
– itdoesntwork
Nov 22 at 16:21
No, it's not uplicated, my solution's compilation order is fine.
– Levinor
Nov 27 at 10:26
Are you on the absolute latest version (15.9.2 as we speak)? See docs.microsoft.com/en-us/visualstudio/releasenotes/…
– Peter B
Nov 27 at 10:35
Possible duplicate of Visual Studio 2010: How to enforce build order of projects in a solution?
– itdoesntwork
Nov 22 at 16:21
Possible duplicate of Visual Studio 2010: How to enforce build order of projects in a solution?
– itdoesntwork
Nov 22 at 16:21
No, it's not uplicated, my solution's compilation order is fine.
– Levinor
Nov 27 at 10:26
No, it's not uplicated, my solution's compilation order is fine.
– Levinor
Nov 27 at 10:26
Are you on the absolute latest version (15.9.2 as we speak)? See docs.microsoft.com/en-us/visualstudio/releasenotes/…
– Peter B
Nov 27 at 10:35
Are you on the absolute latest version (15.9.2 as we speak)? See docs.microsoft.com/en-us/visualstudio/releasenotes/…
– Peter B
Nov 27 at 10:35
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53434812%2fvs2017-build-fails-because-compiler-dont-wait-until-previous-project-dlls-is-ge%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible duplicate of Visual Studio 2010: How to enforce build order of projects in a solution?
– itdoesntwork
Nov 22 at 16:21
No, it's not uplicated, my solution's compilation order is fine.
– Levinor
Nov 27 at 10:26
Are you on the absolute latest version (15.9.2 as we speak)? See docs.microsoft.com/en-us/visualstudio/releasenotes/…
– Peter B
Nov 27 at 10:35