[Workspaces] DocumentInfo never set IsGenerated value - #405
Conversation
|
Interesting. This change looks correct, but it brings up a few issues:
@DavidKarlas Are you able to address any of those issues? [Edited to fix hyperlinks] |
|
Determining whether or not a file is generated is problematic, which is probably why this field is never set. We should remove this property entirely until we actually have a design for identifying and handling generated files. |
|
I'm surprised that this value is not getting set on DocumentInfo. It was there for a purpose. I put it there. It actually solved a problem in the past. MSBuild was changing time stamps (or regenerating) a few files it would add to the project each time the build was run (which equated to each time the project was opened) and that would throw off the version stamp calculation. So either that behavior changed, or the features that relied on the version stamp changed. Either way, the information was critical at some point. |
|
Maybe check also references to IsGenerated property from VisualStudio source code (http://source.roslyn.codeplex.com/ covers only Roslyn) About 1,2,3 points...
|
|
Well, it's clearly wrong in its current state and the pull request fixes it. Any further issue with whether the property should exist or not is a separate issue. |
[Workspaces] DocumentInfo never set IsGenerated value
Fix package extraction in net452 builds
Looks like bug to me...
More baby steps :)