Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Get the VisualStudio solution working#6546

Merged
TravisEz13 merged 9 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
TravisEz13:vs-csprojTravisEz13/PowerShell:vs-csprojCopy head branch name to clipboard
Apr 3, 2018
Merged

Get the VisualStudio solution working#6546
TravisEz13 merged 9 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
TravisEz13:vs-csprojTravisEz13/PowerShell:vs-csprojCopy head branch name to clipboard

Conversation

@TravisEz13

@TravisEz13 TravisEz13 commented Apr 3, 2018

Copy link
Copy Markdown
Member

PR Summary

Forking from #5209

  • Changing the project type GUID. This should make the TargetFramework not required to
    build in Visual Studio for Windows (works on Mac without the change.)
  • Add the powershell-unix project so you can choose which one to build.
  • remove a resource that wasn't used and fails in VS from two resource files.

PR Checklist

Comment thread PowerShell-Win.sln Outdated
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.WSMan.Runtime", "src\Microsoft.WSMan.Runtime\Microsoft.WSMan.Runtime.csproj", "{D9CCCB67-4EBE-4854-AB52-C0129DC5BAE4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.WSMan.Runtime", "src\Microsoft.WSMan.Runtime\Microsoft.WSMan.Runtime.csproj", "{D9CCCB67-4EBE-4854-AB52-C0129DC5BAE4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "powershell-unix", "src\powershell-unix\powershell-unix.csproj", "{73EA0BE6-C0C5-4B56-A5AA-DADA4C01D690}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Want to change this one as well?

Comment thread PowerShell-Win.sln
{8359D422-E0C4-4A0D-94EB-3C9DD16B7932}.Linux|Any CPU.ActiveCfg = Linux|Any CPU
{8359D422-E0C4-4A0D-94EB-3C9DD16B7932}.Linux|Any CPU.Build.0 = Linux|Any CPU
{8359D422-E0C4-4A0D-94EB-3C9DD16B7932}.Linux|Any CPU.ActiveCfg = Release|Any CPU
{8359D422-E0C4-4A0D-94EB-3C9DD16B7932}.Linux|Any CPU.Build.0 = Release|Any CPU

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This GUID points to powershell-win-core, so maybe Linux|Any is not needed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The whole solution has to support Linux... so I have to map it to a valid configuration for this project

Comment thread PowerShell-Win.sln
{D9CCCB67-4EBE-4854-AB52-C0129DC5BAE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D9CCCB67-4EBE-4854-AB52-C0129DC5BAE4}.Release|Any CPU.Build.0 = Release|Any CPU
{73EA0BE6-C0C5-4B56-A5AA-DADA4C01D690}.Linux|Any CPU.ActiveCfg = Linux|Any CPU
{73EA0BE6-C0C5-4B56-A5AA-DADA4C01D690}.Linux|Any CPU.Build.0 = Linux|Any CPU

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Linux|Any CPU

Should this be changed to Release|Any CPU?

@@ -124,10 +124,6 @@
{1} is a placeholder for a server name. Example: "localhost".</comment>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I thought this file can be removed, not?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

no, it's used and a different resource.

Comment thread PowerShell-Win.sln
@@ -3,31 +3,33 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@TravisEz13 TravisEz13 merged commit a267ca5 into PowerShell:master Apr 3, 2018
@TravisEz13 TravisEz13 deleted the vs-csproj branch April 3, 2018 18:32
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.