Skip to content

Avoid picking implicit framework defines#3579

Merged
davkean merged 1 commit intodotnet:masterfrom
davkean:Properties
May 27, 2018
Merged

Avoid picking implicit framework defines#3579
davkean merged 1 commit intodotnet:masterfrom
davkean:Properties

Conversation

@davkean
Copy link
Copy Markdown
Member

@davkean davkean commented May 26, 2018

Fixes: #2720

The SDK automatically appends to DefineConstants with implicit constants after the project's definition of DefineConstant. When we attempt to read the value at the end of project file ("AfterContext") we think that user's value is set to include those and pick these up in the dialog which sets the property.

Instead move to reading the value at the point it was defined in the project file, which causes us to ignore framework implicit defines.

Fixes: dotnet#2720

The SDK automatically appends to DefineConstants with implicit constants after the project's definition of DefineConstants, when we read the value at the end of project file ("AfterContext") we think that user's value is set to include those when we re-read it.

Instead move to reading the value *at the point* it was defined in the project file, which causes us to ignore framework implicit defines.
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #3579 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3579   +/-   ##
=======================================
  Coverage   68.27%   68.27%           
=======================================
  Files         735      735           
  Lines       36793    36793           
  Branches     2146     2146           
=======================================
  Hits        25119    25119           
  Misses      11250    11250           
  Partials      424      424
Flag Coverage Δ
#debug 68.27% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78e8f20...61a29ed. Read the comment docs.

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

Successfully merging this pull request may close these issues.

3 participants