Normal builds still run under devenv.exe in VS 16.0 Pre2
See original GitHub issueFrom @jeromelaban on January 24, 2019 13:23
Steps to reproduce
When build this solution, and more specifically this project under visual studio, the following message appear:
1>------ Build started: Project: Uno.UI (Uno.UI\Uno.UI), Configuration: Debug Any CPU ------
1>Building target framework: xamarinmac20
1>Building target framework: xamarinios10
1>Building target framework: net46
1>Building target framework: netstandard2.0
1>src\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets(53,5): warning : The Uno.UI.Tasks build task is running under devenv.exe you will have to restart Visual Studio to rebuild it.
1>Done building project "Uno.UI.csproj".
1>src\SourceGenerators\Uno.UI.Tasks\Content\Uno.UI.Tasks.targets(77,5): warning : The Uno.UI.Tasks build task is running under devenv.exe you will have to restart Visual Studio to rebuild it.
1>Done building project "Uno.UI.csproj".
This message is produced by this task to warn the user of a devenv.exe locked task.
I tried reproducing using a smaller sample, but could not get it.
Environment data
msbuild /version
output:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview>msbuild /version
Microsoft (R) Build Engine version 16.0.360-preview+g9781d96883 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
16.0.360.33175
OS info:
Microsoft Windows [Version 10.0.17134.472]
(c) 2018 Microsoft Corporation. All rights reserved.
Copied from original issue: Microsoft/msbuild#4095
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Normal builds still run under devenv.exe in VS 16.0 Pre2
Tasks build task is running under devenv.exe you will have to restart Visual Studio to rebuild it. 1>Done building project "Uno.UI.csproj".
Read more >Devenv command line switches - Visual Studio (Windows)
Devenv lets you set various options for the IDE, build projects, debug projects, and deploy projects from the command line. Use these switches ......
Read more >Build specific Visual studio project under project solution ...
Navigate to solution folder when you run above command, or use ... Using devenv.exe directly prevents output from appearing on the console.
Read more >Why Doesn't My Visual Studio Solution Build? A ...
By all means try it but don't be surprised when the solution still stubbornly refuses to build.
Read more >Visual Studio 2019 command line /upgrade hangs
We use msbuild with a .build file that calls devenv - 10.6.6 hangs on build start if you don't run IDE on that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay, I’ve got it down to:
The original build request to build the project was run out-of-proc, but it appears to service the above request with an in-proc node that was running for something else. I would have expected this to respect the NodeAffinity of the original request. Started a thread with MSBuild folks.
Duplicate resources are a Xamarin issue, which is not happening all the time.
Adding
is likely to help.