Skip to content
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

Evaluation is Empty #389

Open
workgroupengineering opened this issue May 5, 2021 · 3 comments
Open

Evaluation is Empty #389

workgroupengineering opened this issue May 5, 2021 · 3 comments
Assignees

Comments

@workgroupengineering
Copy link

Describe the bug

When generate Build Logging in a solution that contains a project in SDK-Style format. If you open log Evalutotion is Empty.

How Reproduce

  1. Create new solution with Console Project target .net Core 3.1 or upper
  2. Start Build Logging
  3. Build the solution
  4. Stop Build Logging
  5. Open Log external tool

Workaround

Generate Binary log from command line with this options

MSBuild.exe TestBinlog.sln  /v:diag /nologo /clp:NoSummary;Verbosity=minimal /bl

Diagnosis

nothing

Environment

Visual Studio: Microsoft Visual Studio Community 2019 Build 16.9.4+31205.134
Project System Tools: 1.0.1.2010501

@KirillOsenkov KirillOsenkov changed the title Evalutotion is Empty Evaluation is Empty Aug 22, 2021
@KirillOsenkov KirillOsenkov self-assigned this Aug 22, 2021
@ryalanms
Copy link
Member

I'm seeing this on VS 2022 as well.

@ktaeleman
Copy link

I'm running into the same issue trying to debug msbuild when running from VS.
Is there a workaround that would allow me to create binlogs from MSbuild processes launched by Visual Studio ? (Environment variables, passing flags into devenv.exe, ..)

@ktaeleman
Copy link

Looks like there is a workaround by setting the MSBuildDebugEngine environment variable to 1.
More info here:
https://github.com/dotnet/msbuild/blob/e868d91a40fb59cd258844a8d31114c1c3fabf2a/documentation/wiki/Building-Testing-and-Debugging-on-Full-Framework-MSBuild.md#logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants