GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add Missing Assemblies to TPA List for Pwrshplugin.dll by mirichmo · Pull Request #4502 · PowerShell/PowerShell

Conversation

@mirichmo

@mirichmo Mike Richmond (mirichmo) commented Aug 4, 2017

Copy link
Copy Markdown
Member

This PR updates the TPA list for pwrshplugin.dll to reflect the recent additions to the DLL. It also adds support for VS 2017 compilation by adding a work-around for and include path that gets corrupted by VS 2017.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Mike Richmond (mirichmo) added 2 commits August 4, 2017 12:31
@mirichmo
Fix VS 2017 compilation
d2e263a
@mirichmo
Add missing assemblies to TPA list
29f72c4
@mirichmo Mike Richmond (mirichmo) added WG-Maintainers-Build specific to affecting the build WG-Remoting PSRP issues with any transport layer labels Aug 4, 2017
@mirichmo Mike Richmond (mirichmo) assigned Dongbo Wang (daxian-dbw) Aug 4, 2017
@mirichmo
Mike Richmond (mirichmo) requested a review from Dongbo Wang (daxian-dbw) August 4, 2017 19:34
@msftclas Microsoft Contribution License Agreements (msftclas) added the cla-not-required label Aug 4, 2017
@mirichmo Mike Richmond (mirichmo) mentioned this pull request Aug 4, 2017
Porting Enable-PSRemoting and its Tests #2671
Merged
daxian-dbw
Dongbo Wang (daxian-dbw) approved these changes Aug 4, 2017
View reviewed changes
daxian-dbw
Dongbo Wang (daxian-dbw) reviewed Aug 4, 2017
View reviewed changes
Comment thread src/powershell-native/nativemsh/pwrshcommon/CMakeLists.txt
# during compilation. We work around the problem by force-including the
# contents of the environment variable before it gets corrupted.
#
target_include_directories(pwrshcommon PUBLIC $ENV{INCLUDE})

@daxian-dbw Dongbo Wang (daxian-dbw) Aug 4, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume adding this would still work on a machine with VS15 installed only, right?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mirichmo Mike Richmond (mirichmo) Aug 4, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the scenario where I ran it. My system has VS 2015 and VS 2017 installed side-by-side. I have not verified it on a system that only has VS 2017. As long as vcvarsall.bat generates the correct INCLUDE environment variable, it should work though.

Additional search paths will not cause a working instance to fail, so it is a lower risk change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@daxian-dbw Dongbo Wang (daxian-dbw) Aug 7, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not verified it on a system that only has VS 2017.

I'm not worried about a system that only has VS 2017, but a system that only has VS 2015. Our current release build pipeline in VSTS only installs VS 2015. I want to make sure we don't break there.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@daxian-dbw Dongbo Wang (daxian-dbw) Aug 7, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. I checked out this PR and verified that it builds fine with VS 2015 installed only and the generated plugin binary works.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mirichmo
Bump up the version of psrp.windows
d823c1d
daxian-dbw
Dongbo Wang (daxian-dbw) approved these changes Aug 7, 2017
View reviewed changes
@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 24cf216 into PowerShell:master Aug 7, 2017
@mirichmo
Mike Richmond (mirichmo) deleted the mirichmo-add-missing-assemblies-to-tpa branch August 7, 2017 16:50
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
@mirichmo @daxian-dbw
Add Missing Assemblies to TPA List for Pwrshplugin.dll (PowerShell#4502)
99626a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@daxian-dbw Dongbo Wang (daxian-dbw) daxian-dbw approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@daxian-dbw Dongbo Wang (daxian-dbw)

Labels

WG-Maintainers-Build specific to affecting the build WG-Remoting PSRP issues with any transport layer

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mirichmo @daxian-dbw @msftclas
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.