-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore stuck & can't build due to missing ProjectRestoreInfo #3408
Comments
@xen2 could you install this exentions and capture a verbose build log? |
Also, can you get a project system log as described here: #3027 (comment) |
Now loading the project with Build Logging + Here is the Build Logging pane result: I attached to all MSBuild.exe instances and checked their threads. None of them looks busy, so somehow maybe a build success/failure is not properly sent back to caller (DesignTimeBuild still in running state): Additional remarks of issues I had with with Build Logging + (1) When Visual Studio is opening solution, I get the following (maybe unrelated?) error: VsProjectFault_2ba8a90c-dcc7-484d-99ea-2bf2b784ec95.failure.txt (2) I also sometimes get lots of Hope that helps. |
@lifengl @jviau @adrianvmsft Any ideas here? |
I see DesignTimeBuildManagerService in the log, so it could be related to the new DTBB service. SET CPS_DesignTimeBuild=Cps |
@panopticoncentral do you know about the ProjectLogger code here? |
Actually, nevermind, I see it already calls the old design time build system |
Any progress here? What are next steps? |
The null ref is known is the ProjectLogger - so ignore that. |
@davkean - which nullref do you mean? The project fault looks like the logger is faulting the output group service dataflow is faulting because of null ref too:
@xen2 the project log looks like it's from a bit of an old build? What version of VS are you using? |
@xen2 Are you still running into this? I've not seen an update until March - we've significantly changed this code path in 15.7. Please retry with latest build, and comment if you are still running into issues and I'll reopen. |
This has begun on one of our solutions in |
Is this consistently after debugging or does it only happen with command line builds with |
Occurs at, or immediately after, open of solution in a fresh (escalated privileges, long story) instance of Visual Studio Professional 2017 15.7.2. There may have been Have not yet experimented with:
|
I have got exactly the same problem. After upgrading to latest VS 15.7.2 this issue started occurring. No idea what is causing it. |
Update: problem "solved" or temporarily quieted. Cleaned A coworker "solved" or temporarily quieted it by rolling back to previous revision of Visual Studio. |
Still happens with VS2017 Enterprise v15.7.5. As suggested |
Since we converted our project (Xenko) to new project system, we often (esp. after switching branches) end up in a broken state.
When trying to build, we end up with something like this in the log:
Build is totally stuck, i.e it stays like this:
Restarting VS & git clean (.vs) usually doesn't seem to fix the issue.
I can sometime (but not always) get out of the situation by:
(1) Killing all MSBuild process
(2) Doing a manual (command-line) nuget restore (maybe this is probably what helps fix it since VS doesn't need to restore anymore)
(3) Sometimes (random magic) git clean and/or VS restart might also be necessary
(4) If this doesn't work, I end up doing a new checkout (takes a while)
It happens quite easily on multiple separate PC and users, so not a local issue.
I investigated little bit and it seems
NominateProject
is not called on this specific project.Not sure if related, but here's what I noticed when debugging project-system:
Microsoft.Build.Exceptions.BuildAbortedException
exceptionSystem.OperationCanceledException
inMicrosoft.VisualStudio.Threading.dll
Sorry for the lack of easy repro, it is quite a big project that we can't share publicly yet.
This happens often and quite hard to get out, so quite a big blocker & slowing us down quite a lot.
The text was updated successfully, but these errors were encountered: