Repository navigation
adding microsoft.powershell.diagnostics.dll to build - #1111
Conversation
There was a problem hiding this comment.
The resource file is missing here.
There was a problem hiding this comment.
There was 1 txt file with resources, but we didn't find is it used somewhere or not. We can add it later (better to avoid add stuff that we don't use).
There was a problem hiding this comment.
We should probably document this in the commit and known issues.
There was a problem hiding this comment.
sergei (@vors) The txt file resource is used in the dll. In SD, .resources file is generated out of the txt file and gets built in the dll. In the dll, the resource is used by
_resourceMgr = new ResourceManager("GetEventResources", typeof(GetWinEventCommand).GetTypeInfo().Assembly);
and places like
_resourceMgr.GetString("LogInfoUnavailable"),
So if we don't get the resource file built in the dll in PowerShell, it would fail at run time.
|
Chunqing Chen (@chunqingchen) Could you update the PR title? This isn't very specific:
But this follows the guidelines:
Which, by the way, is awesome 😄 The commits 1ff26b40997676aea326e2041c7d9f294e9772df, bdae84ec428ee583cf1957f18042e8aa4edd3015, and 195e4587f5c1f8f3c6102f251c9370fef72e5de6 don't seem to have the correct email, and the others' committer doesn't have a recognized email either. Not sure what's up with this, did you set |
There was a problem hiding this comment.
Where did this go? This is necessary for the resource bindings, and needs to be included for both frameworks.
There was a problem hiding this comment.
There are non currently
Commit 2e2daeaff52930d981a31e0030d7161c4b45cc48
…D:714215] Commit 2e2daeaff52930d981a31e0030d7161c4b45cc48
9d3c514 to
549eb64
Compare
|
sergei (@vors) this was not ready to be merged. |
adding microsoft.powershell.diagnostics.dll to build
adding microsoft.powershell.diagnostics.dll to build
this part of #1031