Get the VisualStudio solution working#6546
Conversation
This reverts commit 9cbf601.
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}" |
There was a problem hiding this comment.
Want to change this one as well?
| {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 |
There was a problem hiding this comment.
This GUID points to powershell-win-core, so maybe Linux|Any is not needed.
There was a problem hiding this comment.
The whole solution has to support Linux... so I have to map it to a valid configuration for this project
| {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 |
There was a problem hiding this comment.
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" /> | |||
There was a problem hiding this comment.
I thought this file can be removed, not?
There was a problem hiding this comment.
no, it's used and a different resource.
| @@ -3,31 +3,33 @@ Microsoft Visual Studio Solution File, Format Version 12.00 | |||
| # Visual Studio 15 | |||
There was a problem hiding this comment.
Can we have a comment here pointing to https://github.com/dotnet/project-system/blob/master/docs/opening-with-new-project-system.md#project-type-guids ?
PR Summary
Forking from #5209
TargetFrameworknot required tobuild in Visual Studio for Windows (works on Mac without the change.)
powershell-unixproject so you can choose which one to build.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests