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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions 10 build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ cmd.exe /C cd /d "$location" "&" "$($vcPath)\vcvarsall.bat" "$Arch" "&" cmake "$
$FilesToCopy = @('pwrshplugin.dll', 'pwrshplugin.pdb')
$dstPath = "$PSScriptRoot\src\powershell-win-core"
$FilesToCopy | ForEach-Object {
$srcPath = [IO.Path]::Combine((Get-Location), "bin", $Configuration, "CoreClr/$_")
$srcPath = [IO.Path]::Combine((Get-Location), "bin", $Configuration, "CoreClr/$_")

log " Copying $srcPath to $dstPath"
Copy-Item $srcPath $dstPath
Expand Down Expand Up @@ -364,7 +364,7 @@ function Start-PSBuild {
}

# Verify if the dotnet in-use is the required version
$dotnetCLIInstalledVersion = (dotnet --version)
$dotnetCLIInstalledVersion = (dotnet --version)
If ($dotnetCLIInstalledVersion -ne $dotnetCLIRequiredVersion) {
Write-Warning @"
The currently installed .NET Command Line Tools is not the required version.
Expand Down Expand Up @@ -674,13 +674,13 @@ function New-PSOptions {

# the valid root is the root of the filesystem and the folder PowerShell
$RootInfo['ValidPath'] = Join-Path -Path ([system.io.path]::GetPathRoot($RootInfo.RepoPath)) -ChildPath 'PowerShell'

if($RootInfo.RepoPath -ne $RootInfo.ValidPath)
{
$RootInfo['Warning'] = "Please ensure you repo is at the root of the file system and named 'PowerShell' (example: '$($RootInfo.ValidPath)'), when building and packaging for release!"
$RootInfo['IsValid'] = $false
}
else
else
{
$RootInfo['IsValid'] = $true
}
Expand Down Expand Up @@ -910,7 +910,7 @@ function Start-PSPester {
$count = ($lines | measure-object).Count
if ($count -eq 0)
{
sleep 1
Start-Sleep -Seconds 1
}
else
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.Management.Infrastructure.CimCmdlets project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Commands.Diagnostics project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Commands.Management project</Description>
Expand Down Expand Up @@ -45,7 +45,7 @@
<Compile Remove="gen\ManagementMshSnapInResources.cs" />
<Compile Remove="gen\ClearRecycleBinResources.cs" />
<Compile Remove="gen\ClipboardResources.cs" />

<EmbeddedResource Remove="resources\EventlogResources.resx" />
<EmbeddedResource Remove="resources\TransactionResources.resx" />
<EmbeddedResource Remove="resources\WebServiceResources.resx" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Commands.Utility project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Host</Description>
Expand All @@ -21,7 +21,7 @@
<Compile Remove="singleshell\installer\EngineInstaller.cs" />
<Compile Remove="singleshell\installer\MshHostMshSnapin.cs" />
<Compile Remove="gen\HostMshSnapinResources.cs" />

<EmbeddedResource Remove="resources\HostMshSnapinResources.resx" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.CoreCLR.AssemblyLoadContext project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.CoreCLR.Eventing project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.LocalAccounts project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell SDK metapackage</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.PowerShell.Security project</Description>
Expand All @@ -19,7 +19,7 @@
<ItemGroup>
<Compile Remove="singleshell\installer\MshSecurityMshSnapin.cs" />
<Compile Remove="gen\SecurityMshSnapinResources.cs" />

<EmbeddedResource Remove="resources\SecurityMshSnapinResources.resx" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.WSMan.Management project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's Microsoft.WSMan.Runtime project</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core's System.Management.Automation project</Description>
Expand Down Expand Up @@ -122,7 +122,7 @@
<Compile Remove="utils\perfCounters\PSPerfCountersMgr.cs" />
<Compile Remove="gen\CoreMshSnapinResources.cs" />
<Compile Remove="gen\ErrorPackageRemoting.cs" />

<EmbeddedResource Remove="resources\CoreMshSnapinResources.resx" />
<EmbeddedResource Remove="resources\ErrorPackageRemoting.resx" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions 4 src/powershell-unix/powershell-unix.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell top-level project with .NET CLI host</Description>
Expand All @@ -12,7 +12,7 @@
<ItemGroup>
<Compile Include="..\powershell\Program.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
<Content Include="..\Modules\Unix\**\*;..\Modules\Shared\**\*" Exclude="..\Modules\Shared\Pester\.git*;..\Modules\Shared\Pester\*.yml">
<Link>Modules\%(RecursiveDir)\%(FileName)%(Extension)</Link>
<Link>Modules\%(RecursiveDir)\%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
Expand Down
2 changes: 1 addition & 1 deletion 2 src/powershell-win-core/powershell-win-core.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\PowerShell.Common.props"/>
<Import Project="..\..\PowerShell.Common.props"/>

<PropertyGroup>
<Description>PowerShell Core on Windows top-level project</Description>
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.