Enable full symbols for windows - #6853
Conversation
Plus CodeCoverage for windows
…ied) in build.psm1
| <DebugType>full</DebugType> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition=" '$(Configuration)' == 'Release' And '$(IsWindows)' == 'true' "> |
There was a problem hiding this comment.
true -> false
| Write-Verbose "Using configuration '$Configuration'" | ||
|
|
||
| $PowerShellDir = if ($Configuration -eq 'Linux') { | ||
| $PowerShellDir = if ($Environment.IsLinux -or $Environment.IsMacOS) { |
There was a problem hiding this comment.
can we do -not $Environment.IsWindows here as we elsewhere. Non-blocking.
| <DebugType>full</DebugType> | ||
| </PropertyGroup> | ||
|
|
||
|
|
There was a problem hiding this comment.
Extra line?
There was a problem hiding this comment.
We usually have a blank line between groups.
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition=" '$(Configuration)' == 'Release' And '$(IsWindows)' == 'true' "> | ||
| <!-- Define non-windows, release configuratio properties --> |
There was a problem hiding this comment.
typo configuratio -> configuration
509f48c to
81c795c
Compare
|
I filed an issue with dotnet for the issue encountered with optimizing non-windows platforms: https://github.com/dotnet/corefx/issues/29700 |
| <!-- Set-Date fails with optimize enabled in NonWindowsSetDate | ||
| Debugging the issues resolves the problem | ||
| --> | ||
| <Optimize>false</Optimize> |
There was a problem hiding this comment.
Travis Plunk (@TravisEz13) Should we set true because we fixed Set-Date?
There was a problem hiding this comment.
There is a tracking issue with all the steps: #6872 We still have some steps before we can change this.
The main purpose of this was to enable full symbols for windows release build. Also makes explicit where we are optimizing and where we are not optimizing due to https://github.com/dotnet/corefx/issues/29700
PR Summary
The main purpose of this was to enable full symbols for windows release build.
I discovered an additional issue when trying to fix this:
This PR addresses this my merging the Linux configuration into the release configuration and using a condition to add the build constant for unixUpdate: optimizing on mac and Linux cause crashes. An issue was filed to track this: https://github.com/dotnet/corefx/issues/29700
Before we merge, I should validate that the release build works for:
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests