Skip to content

Commit 63ff5a6

Browse files
committed
WIP: Builds but doesn't run
WIP: Builds but doesn't run
1 parent bb9e468 commit 63ff5a6

File tree

10 files changed

+649
-541
lines changed

10 files changed

+649
-541
lines changed

.gitignore

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,49 @@
1-
module/
2-
out/
3-
bin/
4-
obj/
1+
*.swp
2+
*.*~
3+
project.lock.json
4+
.DS_Store
5+
*.pyc
6+
nupkg/
7+
8+
# Rider
9+
.idea
10+
11+
# User-specific files
12+
*.suo
13+
*.user
14+
*.userosscache
15+
*.sln.docstates
16+
17+
# Build results
18+
[Dd]ebug/
19+
[Dd]ebugPublic/
20+
[Rr]elease/
21+
[Rr]eleases/
22+
x64/
23+
x86/
24+
build/
25+
bld/
26+
[Bb]in/
27+
[Oo]bj/
28+
[Oo]ut/
29+
msbuild.log
30+
msbuild.err
31+
msbuild.wrn
32+
533
publish/
6-
*.sln
34+
35+
#Module build
36+
module/
37+
38+
# Visual Studio 2015
39+
.vs/
40+
41+
# ingore downloaded .NET
42+
.dotnet
43+
44+
# Ignore package
45+
Microsoft.PowerShell.GraphicalTools.zip
46+
Microsoft.PowerShell.ConsoleGuiTools.zip
47+
48+
# git artifacts
49+
*.orig

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

ConsoleGuiTools.build.ps1

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ task Build {
2323

2424
Push-Location src/Microsoft.PowerShell.ConsoleGuiTools
2525
Invoke-BuildExec { & dotnet publish --configuration $Configuration --output publish }
26-
$Assets = $(
27-
"./publish/Microsoft.PowerShell.ConsoleGuiTools.dll",
28-
"./publish/Microsoft.PowerShell.ConsoleGuiTools.psd1",
29-
"./publish/Microsoft.PowerShell.OutGridView.Models.dll",
30-
"./publish/Terminal.Gui.dll",
31-
"./publish/NStack.dll")
32-
$Assets | ForEach-Object {
33-
Copy-Item -Force -Path $_ -Destination ../../module
26+
27+
# Copy all DLLs except PowerShell SDK dependencies (those are provided by PowerShell itself)
28+
Get-ChildItem "./publish/*.dll" | Where-Object {
29+
$_.Name -notlike "System.Management.Automation.dll" -and
30+
$_.Name -notlike "Microsoft.PowerShell.Commands.Diagnostics.dll" -and
31+
$_.Name -notlike "Microsoft.Management.Infrastructure.CimCmdlets.dll"
32+
} | ForEach-Object {
33+
Copy-Item -Force -Path $_.FullName -Destination ../../module
3434
}
35+
36+
# Copy the module manifest
37+
Copy-Item -Force -Path "./publish/Microsoft.PowerShell.ConsoleGuiTools.psd1" -Destination ../../module
3538
Pop-Location
3639

3740
$Assets = $(

Directory.Packages.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<ItemGroup>
33
<PackageVersion Include="Microsoft.PowerShell.SDK" Version="7.4.7" />
44
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
5-
<PackageVersion Include="Nstack.Core" Version="1.1.1" />
6-
<PackageVersion Include="Terminal.Gui" Version="1.17.1" />
5+
<PackageVersion Include="Terminal.Gui" Version="2.0.0-develop.4636" />
76
</ItemGroup>
87
</Project>

GraphicalTools.sln

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
6+
EndProject
7+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.PowerShell.ConsoleGuiTools", "src\Microsoft.PowerShell.ConsoleGuiTools\Microsoft.PowerShell.ConsoleGuiTools.csproj", "{C0749375-3F76-9F36-9A4D-6857B5504C9A}"
8+
EndProject
9+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.PowerShell.OutGridView.Models", "src\Microsoft.PowerShell.OutGridView.Models\Microsoft.PowerShell.OutGridView.Models.csproj", "{D5EDF10B-A646-FC2C-FF3C-B7F2C1814863}"
10+
EndProject
11+
Global
12+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
13+
Debug|Any CPU = Debug|Any CPU
14+
Release|Any CPU = Release|Any CPU
15+
EndGlobalSection
16+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17+
{C0749375-3F76-9F36-9A4D-6857B5504C9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{C0749375-3F76-9F36-9A4D-6857B5504C9A}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{C0749375-3F76-9F36-9A4D-6857B5504C9A}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{C0749375-3F76-9F36-9A4D-6857B5504C9A}.Release|Any CPU.Build.0 = Release|Any CPU
21+
{D5EDF10B-A646-FC2C-FF3C-B7F2C1814863}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22+
{D5EDF10B-A646-FC2C-FF3C-B7F2C1814863}.Debug|Any CPU.Build.0 = Debug|Any CPU
23+
{D5EDF10B-A646-FC2C-FF3C-B7F2C1814863}.Release|Any CPU.ActiveCfg = Release|Any CPU
24+
{D5EDF10B-A646-FC2C-FF3C-B7F2C1814863}.Release|Any CPU.Build.0 = Release|Any CPU
25+
EndGlobalSection
26+
GlobalSection(SolutionProperties) = preSolution
27+
HideSolutionNode = FALSE
28+
EndGlobalSection
29+
GlobalSection(NestedProjects) = preSolution
30+
{C0749375-3F76-9F36-9A4D-6857B5504C9A} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
31+
{D5EDF10B-A646-FC2C-FF3C-B7F2C1814863} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
32+
EndGlobalSection
33+
GlobalSection(ExtensibilityGlobals) = postSolution
34+
SolutionGuid = {7EA28E35-5572-47D2-B03E-5DB79D82BEBC}
35+
EndGlobalSection
36+
EndGlobal

0 commit comments

Comments
 (0)