Merge branch 'develop' into dev/208-select-string-pester

This commit is contained in:
Andrew Schwartzmeyer 2015-10-01 14:59:26 -07:00
commit e31b3b5f3b
67 changed files with 805 additions and 3953 deletions

3
.gitignore vendored
View file

@ -1,4 +1,6 @@
.idea
.config/
.nuget\\packages\\/
CMakeCache.txt
CMakeFiles/
Makefile
@ -6,3 +8,4 @@ Makefile
cmake_install.cmake
externals
scripts/xunittests.xml
/scripts/powershell.inc

View file

@ -1,30 +1,21 @@
# global configuration needed by some of the included makefiles
PSRC = ../src/monad/monad/src
MONAD_EXT=../src/monad-ext
.PHONY: all
# this variable is needed by module specific include makefiles below
ADMIN_GIT_ROOT=../src/monad
phony_all: all
# include all the external makefiles
# these should go away with the makefile restructuring
# this should go away and be automatically generated
include assembly-load-context.mk
# main references to the CoreCLR reference assemblies
include coreref.mk
# make file which adds things that are necessary for the platform we are building for
include platform.mk
# builds unit tests
include tests.mk
MONAD_EXT=../src/monad-ext
TARGETING_PACK=$(MONAD_EXT)/coreclr/TargetingPack
COREREF=$(addprefix -r:, $(shell ls $(TARGETING_PACK)/*.dll))
CORECLR_ASSEMBLY_BASE=$(MONAD_EXT)/coreclr/Release
# powershell-run is the main powershell executable
include powershell-run.mk
# These are the main PS dlls:
# this variable is needed by module specific include makefiles below
ADMIN_GIT_ROOT=../src/monad
# these are automatically generated from the PowerShell build sytem
# - System.Management.Automation.dll (the main PS dll)
# - commands/modules (they contain cmdlets): management and utility
# - Microsoft.Management.Infrastructure.dll (the first dll in the remoting code paths)
@ -46,45 +37,43 @@ PRODUCT_MI_REFS=$(COREREF) $(MI_NATIVE_REF)
PRODUCT_PS_REFS=$(COREREF) $(MI_REF) -r:dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET)
PRODUCT_COMMANDS_REFS=$(COREREF) -r:dotnetlibs/System.Management.Automation.dll
MCSOPTS_BASE=-unsafe -nostdlib -noconfig -define:CORECLR -define:_CORECLR
MCSOPTS_MI=$(MCSOPTS_BASE) -target:library
MCSOPTS_LIB=$(MCSOPTS_BASE) -target:library
MCSOPTS_PS=$(STRING_RESOURCES_ORIG) $(MCSOPTS_BASE) -target:library
SRCS_ALL=$(STRING_RESOURCES) $(SRCS)
# compilers
# - Roslyn's csc is used for all the PS code
# - Mono's mcs is used for build helper tools
CSC=mono buildtemp/Microsoft.Net.ToolsetCompilers.*/tools/csc.exe
MCS=mcs
RUN_TARGETS=$(POWERSHELL_RUN_TARGETS) dotnetlibs/Microsoft.PowerShell.Commands.Management.dll dotnetlibs/Microsoft.PowerShell.Commands.Utility.dll dotnetlibs/Microsoft.PowerShell.Security.dll dotnetlibs/api-ms-win-core-registry-l1-1-0.dll dotnetlibs/host_cmdline
CSCOPTS_BASE=-noconfig -nostdlib
CSCOPTS_LIB=$(CSCOPTS_BASE) -target:library
CSCOPTS_LIB_PS=$(CSCOPTS_LIB) -unsafe -define:CORECLR -define:_CORECLR /nowarn:CS1701,CS1702
RUN_TARGETS=$(POWERSHELL_RUN_TARGETS) $(addprefix dotnetlibs/, Microsoft.PowerShell.Commands.Management.dll Microsoft.PowerShell.Commands.Utility.dll Microsoft.PowerShell.Security.dll api-ms-win-core-registry-l1-1-0.dll host_cmdline)
all: dotnetlibs/System.Management.Automation.dll $(RUN_TARGETS) dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET)
# this is the build rule for SMA.dll
dotnetlibs/System.Management.Automation.dll: $(SYS_AUTO_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.dll ../src/assembly-info/System.Management.Automation.assembly-info.cs dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) $(PLATFORM_SRCS) $(SYS_AUTO_RES_SRCS) $(SYS_AUTO_RES_CS_SRCS)
$(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_PS_REFS) $(SYS_AUTO_SRCS) $(SYS_AUTO_RES_REF) $(SYS_AUTO_RES_CS_SRCS) $(PLATFORM_SRCS) ../src/assembly-info/System.Management.Automation.assembly-info.cs
dotnetlibs/System.Management.Automation.dll: $(SYS_AUTO_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.dll ../src/assembly-info/System.Management.Automation.assembly-info.cs dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) $(SYS_AUTO_RES_SRCS) $(SYS_AUTO_RES_CS_SRCS)
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_PS_REFS) $(SYS_AUTO_SRCS) $(SYS_AUTO_RES_REF) $(SYS_AUTO_RES_CS_SRCS) ../src/assembly-info/System.Management.Automation.assembly-info.cs
# this is the build rule for MMI.dll
dotnetlibs/Microsoft.Management.Infrastructure.dll: $(MAN_INFRA_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.Native.dll ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs $(MAN_INFRA_RES_SRCS) $(MAN_INFRA_RES_CS_SRCS)
$(CSC) -out:$@ $(MCSOPTS_MI) $(PRODUCT_MI_REFS) $(MAN_INFRA_SRCS) $(MAN_INFRA_RES_REF) $(MAN_INFRA_RES_CS_SRCS) ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_MI_REFS) $(MAN_INFRA_SRCS) $(MAN_INFRA_RES_REF) $(MAN_INFRA_RES_CS_SRCS) ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs
# Commands
dotnetlibs/Microsoft.PowerShell.Commands.Management.dll: $(COMMANDS_MANAGEMENT_SRCS) dotnetlibs/System.Management.Automation.dll dotnetlibs/Microsoft.PowerShell.Security.dll $(COMMANDS_MANAGEMENT_RES_SRCS) $(COMMANDS_MANAGEMENT_RES_CS_SRCS) $(MI_ASSEMBLY)
$(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_MANAGEMENT_SRCS) $(COMMANDS_MANAGEMENT_RES_CS_SRCS) $(COMMANDS_MANAGEMENT_RES_REF) $(MI_REF) -r:dotnetlibs/Microsoft.PowerShell.Security.dll
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_MANAGEMENT_SRCS) $(COMMANDS_MANAGEMENT_RES_CS_SRCS) $(COMMANDS_MANAGEMENT_RES_REF) $(MI_REF) -r:dotnetlibs/Microsoft.PowerShell.Security.dll
dotnetlibs/Microsoft.PowerShell.Commands.Utility.dll: $(COMMANDS_UTILITY_SRCS) dotnetlibs/System.Management.Automation.dll $(COMMANDS_UTILITY_RES_SRCS) $(COMMANDS_UTILITY_RES_CS_SRCS)
$(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_UTILITY_SRCS) $(COMMANDS_UTILITY_RES_CS_SRCS) $(COMMANDS_UTILITY_RES_REF)
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_UTILITY_SRCS) $(COMMANDS_UTILITY_RES_CS_SRCS) $(COMMANDS_UTILITY_RES_REF)
dotnetlibs/Microsoft.PowerShell.Security.dll: $(SECURITY_SRCS) $(SECURITY_RES_SRCS) $(SECURITY_RES_CS_SRCS)
$(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_COMMANDS_REFS) $(SECURITY_SRCS) $(SECURITY_RES_CS_SRCS) $(SECURITY_RES_REF)
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_COMMANDS_REFS) $(SECURITY_SRCS) $(SECURITY_RES_CS_SRCS) $(SECURITY_RES_REF)
# assembly load context
dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET): $(ASSEMBLY_LOAD_CONTEXT_SRCS)
$(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_BASE_REFS) $(ASSEMBLY_LOAD_CONTEXT_SRCS)
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_BASE_REFS) $(ASSEMBLY_LOAD_CONTEXT_SRCS)
# this will copy whatever the first version of the dll in the globber is
buildtemp/System.Reflection.Metadata.dll: buildtemp/System.Reflection.Metadata.*/lib/portable-net45+win8/System.Reflection.Metadata.dll
@ -96,17 +85,28 @@ buildtemp/System.Collections.Immutable.dll: buildtemp/System.Collections.Immutab
# this one is built from stubs
dotnetlibs/Microsoft.Management.Infrastructure.Native.dll: ../src/stubs/Microsoft.Management.Infrastructure.Native-stub.cs ../src/stubs/Microsoft.Management.Infrastructure.Native-stub-assembly-info.cs
$(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_BASE_REFS) $^
$(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_BASE_REFS) $^
MPATH=/usr/lib/mono/4.5/Facades
buildtemp/TypeCatalogGen.exe: ../src/monad/monad/nttargets/assemblies/core/PSAssemblyLoadContext/TypeCatalogGen/TypeCatalogGen.cs buildtemp/System.Reflection.Metadata.dll buildtemp/System.Collections.Immutable.dll
$(MCS) -out:$@ -target:exe $(NUGETREF) -pkg:dotnet -r:$(MPATH)/System.Runtime.dll -r:$(MPATH)/System.Reflection.Primitives.dll -r:$(MPATH)/System.IO.dll $<
# this generates the necessary file of CoreCLR references that is an artifact of the Windows build process
# since we don't have Make 4.1, we can't use $(file), and using @echo makes the escaping tricky
# the list of references MUST be line-by-line, to match '^\$\(PS_PROFILE_REF_PATH\)\\(.+);\s*\\$'
REFERENCE_ASSEMBLIES=$(notdir $(shell ls $(TARGETING_PACK)/*.dll))
PROFILE_REFERENCES=$(addsuffix ;\\\n, $(addprefix $$(PS_PROFILE_REF_PATH)\, $(REFERENCE_ASSEMBLIES)))
powershell.inc:
@echo 'PROFILE_REF_PATH=$$(SDK_REF_PATH)\Profiles' > $@
@echo 'PS_PROFILE_REF_PATH=$$(PROFILE_REF_PATH)\PowerShell' >> $@
@echo 'PROFILE_REFERENCES=\\' >> $@
@echo '$(PROFILE_REFERENCES)' >> $@
# generate the Core PS type catalog
# this comes from: ../src/monad/monad/nttargets/assemblies/core/PSAssemblyLoadContext/makefile.inc
CorePsTypeCatalog.cs: powershell-linux.inc buildtemp/TypeCatalogGen.exe buildtemp/System.Reflection.Metadata.dll buildtemp/System.Collections.Immutable.dll
LD_LIBRARY_PATH=. mono buildtemp/TypeCatalogGen.exe powershell-linux.inc $@ $(MONAD_EXT)/coreclr/TargetingPack
CorePsTypeCatalog.cs: powershell.inc buildtemp/TypeCatalogGen.exe buildtemp/System.Reflection.Metadata.dll buildtemp/System.Collections.Immutable.dll
LD_LIBRARY_PATH=. mono buildtemp/TypeCatalogGen.exe $< $@ $(MONAD_EXT)/coreclr/TargetingPack
# the pinvoke library libps.so
@ -133,12 +133,16 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co
# this is the manual step that will install some stuff using nuget and do other things that can't be dependency
# tracked that easily
NUGET_INSTALL=cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version
prepare:
rm -rf buildtemp/System.Reflection.Metadata.* buildtemp/System.Collections.Immutable.* buildtemp/Microsoft.Net.ToolsetCompilers.* buildtemp/nuget.exe
cp $(MONAD_EXT)/nuget/nuget.exe buildtemp/nuget.exe
cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.0.21 System.Reflection.Metadata
cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.1.36 System.Collections.Immutable
cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers
$(NUGET_INSTALL) 1.0.21 System.Reflection.Metadata
$(NUGET_INSTALL) 1.1.36 System.Collections.Immutable
$(NUGET_INSTALL) 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers
# this is the execution environment from which all managed code is run
APP_BASE=exec_env/app_base
# this is an internal target, it's not intended to be called manually
#
@ -152,17 +156,17 @@ prepare:
# release CoreCLR depends on the actual run target.
internal-prepare-exec_env: runps.sh $(POWERSHELL_RUN_TARGETS)
rm -rf exec_env
mkdir -p exec_env/app_base/Modules
mkdir -p $(APP_BASE)/Modules
mkdir -p exec_env/coreclr
cp ../src/monad/monad/miscfiles/display/*.ps1xml exec_env/app_base
cp ../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml exec_env/app_base
cp -r ../src/monad/monad/miscfiles/modules/* exec_env/app_base/Modules
cp -r dotnetlibs/*.dll exec_env/app_base
cp -r dotnetlibs/*.exe exec_env/app_base
cp -r dotnetlibs/*.so exec_env/app_base
cp dotnetlibs/host_cmdline exec_env/app_base
cp -r ../ext-src/pester exec_env/app_base/Modules/Pester
cp runps*.sh exec_env/app_base
cp ../src/monad/monad/miscfiles/display/*.ps1xml $(APP_BASE)
cp ../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml $(APP_BASE)
cp -r ../src/monad/monad/miscfiles/modules/* $(APP_BASE)/Modules
cp -r dotnetlibs/*.dll $(APP_BASE)
cp -r dotnetlibs/*.exe $(APP_BASE)
cp -r dotnetlibs/*.so $(APP_BASE)
cp dotnetlibs/host_cmdline $(APP_BASE)
cp -r ../ext-src/pester $(APP_BASE)/Modules/Pester
cp runps*.sh $(APP_BASE)
internal-prepare-release-clr:
cp -r $(MONAD_EXT)/coreclr/Release/* exec_env/coreclr/
@ -173,51 +177,62 @@ internal-prepare-debug-clr:
run: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
# execute a cmdlet, this will auto-load the utility module and print a, b and c in 3 lines
exec_env/app_base/runps-simple.sh '"a","b","c","a","a" | Select-Object -Unique'
$(APP_BASE)/runps-simple.sh '"a","b","c","a","a" | Select-Object -Unique'
run-interactive: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
exec_env/app_base/runps.sh
$(APP_BASE)/runps.sh
run-file: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
exec_env/app_base/runps.sh --file $(PSSCRIPT)
$(APP_BASE)/runps.sh --file $(PSSCRIPT)
# easy way to run individual PowerShell scripts, `make script.ps1` where the path is relative to monad-linux/scripts (with TEMP set for Pester)
%.ps1: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
TEMP=/tmp exec_env/app_base/runps.sh --file ../../$@
TEMP=/tmp $(APP_BASE)/runps.sh --file ../../$@
run-debugclr: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-debug-clr
PAL_DBG_CHANNELS="+LOADER.TRACE" exec_env/app_base/runps-simple.sh get-location
PAL_DBG_CHANNELS="+LOADER.TRACE" $(APP_BASE)/runps-simple.sh get-location
native-tests: dotnetlibs/monad_native
# execute the native C++ tests
cd dotnetlibs && ./monad_native
xunit-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr $(addprefix $(TESTRUN_FOLDER)/, ps_test.dll xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll)
# xUnit tests
TEST_FOLDER=../src/ps_test
TEST_SRCS=$(addprefix $(TEST_FOLDER)/, test_*.cs)
$(APP_BASE)/xunit%: $(MONAD_EXT)/xunit/xunit%
cp -f $^ $@
$(APP_BASE)/ps_test.dll: $(TEST_SRCS) $(addprefix $(APP_BASE)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET))
$(CSC) $(CSCOPTS_LIB) -out:$@ $(addprefix -r:$(APP_BASE)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) $(COREREF) $(TEST_SRCS)
xunit-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr $(addprefix $(APP_BASE)/, ps_test.dll xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll)
# execute the xUnit runner, with XML output
exec_env/app_base/runps-test.sh ps_test.dll -xml ../../xunittests.xml
$(APP_BASE)/runps-test.sh ps_test.dll -xml ../../xunittests.xml
pester-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
# execute the Pester tests, which needs a TEMP environment variable to be set
exec_env/app_base/runps-simple.sh 'cd ../../../src/pester-tests; $$env:TEMP="/tmp"; invoke-pester'
$(APP_BASE)/runps-simple.sh 'cd ../../../src/pester-tests; $$env:TEMP="/tmp"; invoke-pester'
hashbang-tests:
# execute the 3rdparty/hashbang example
PATH=$(PATH):$(shell pwd)/exec_env/app_base $(shell pwd)/3rdparty/hashbang/script.ps1
PATH=$(PATH):$(shell pwd)/$(APP_BASE) $(shell pwd)/3rdparty/hashbang/script.ps1
test: native-tests xunit-tests pester-tests hashbang-tests
trace: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
exec_env/app_base/runps-simple-trace.sh get-location
$(APP_BASE)/runps-simple-trace.sh get-location
debug: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
# quoting here is a bit special if strings are passed in, because lldb seems to forward arguments strangely
exec_env/app_base/runps-simple-debug.sh get-location
$(APP_BASE)/runps-simple-debug.sh get-location
clean:
rm -rf dotnetlibs/*
rm -rf exec_env
rm -rf buildtemp/libps-build
rm -rf dotnetlibs/*
rm -f xunittests.xml powershell.inc
# clean built stuff + prepare step
cleanall: clean

28
scripts/build-run.sh Executable file
View file

@ -0,0 +1,28 @@
#!/usr/bin/env sh
CUID=$(id -u)
CUSER=$(id -un)
CGID=$(id -g)
CGROUP=$(id -gn)
DIR=/opt/monad-linux
VOLUME=$(dirname $(pwd))/:$DIR
# creates new user in container matching the local user so that
# artifacts will be owned by the local user; set IMPERSONATE to false
# to disable and run as root, defaults to true
if [[ ! $IMPERSONATE ]]; then IMPERSONATE=true; fi
impersonate()
{
if ! $IMPERSONATE; then return; fi
echo \
groupadd -g $CGID $CGROUP '&&' \
useradd -u $CUID -g $CGID -d $DIR $CUSER '&&' \
sudo --set-home -u $CUSER -g $CGROUP
}
docker run --rm \
--volume $VOLUME \
--workdir $DIR/scripts \
$DOCKERFLAGS \
andschwa/magrathea:latest \
bash -c "$(impersonate) $*"

5
scripts/build-tty.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
# Runs with a pseudo tty so that interactive shells can be opened
export DOCKERFLAGS="--interactive --tty"
./build-run.sh "$*"

View file

@ -1,9 +1,5 @@
#!/usr/bin/env sh
# Docker requires the volume path to be absolute... so we resolve it ourselves.
docker run --rm --interactive --tty \
--volume $(dirname $(pwd))/:/opt/monad \
--workdir /opt/monad/scripts \
andschwa/magrathea:latest \
bash -c "/opt/fakelogin; $*"
# we use $* over $@ so that multi-word parameters aren't split up
# Runs by non-interactively, just attaches output
export DOCKERFLAGS="--attach STDOUT --attach STDERR"
./build-run.sh "$*"

View file

@ -1,295 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class CmdletizationResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal CmdletizationResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CmdletizationResources", typeof(CmdletizationResources).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The cmdlet does not fully support the Inquire action for debug messages. Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch or $DebugPreference variable, and try again..
/// </summary>
internal static string CimCmdletAdapter_DebugInquire {
get {
return ResourceManager.GetString("CimCmdletAdapter_DebugInquire", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0}: A CimSession to the CIM server uses the DCOM protocol, which does not support the {1} switch..
/// </summary>
internal static string CimCmdletAdapter_RemoteDcomDoesntSupportExtendedSemantics {
get {
return ResourceManager.GetString("CimCmdletAdapter_RemoteDcomDoesntSupportExtendedSemantics", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The cmdlet does not fully support the Inquire action for warnings. Cmdlet operation will continue during the prompt. Select a different action preference via -WarningAction parameter or $WarningPreference variable, and try again..
/// </summary>
internal static string CimCmdletAdapter_WarningInquire {
get {
return ResourceManager.GetString("CimCmdletAdapter_WarningInquire", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The cmdlet does not fully support the Stop action for warnings. Cmdlet operation will be stopped with a delay. Select a different action preference via -WarningAction parameter or $WarningPreference variable, and try again..
/// </summary>
internal static string CimCmdletAdapter_WarningStop {
get {
return ResourceManager.GetString("CimCmdletAdapter_WarningStop", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CIM intrinsic type.
/// </summary>
internal static string CimConversion_CimIntrinsicValue {
get {
return ResourceManager.GetString("CimConversion_CimIntrinsicValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to WQL literal.
/// </summary>
internal static string CimConversion_WqlQuery {
get {
return ResourceManager.GetString("CimConversion_WqlQuery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CIM query for enumerating instances of the {0} class on the {1} CIM server, that are associated with the following instance: {2}.
/// </summary>
internal static string CimJob_AssociationDescription {
get {
return ResourceManager.GetString("CimJob_AssociationDescription", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot connect to CIM server. {0}.
/// </summary>
internal static string CimJob_BrokenSession {
get {
return ResourceManager.GetString("CimJob_BrokenSession", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0}: {1}.
/// </summary>
internal static string CimJob_ComputerNameConcatenationTemplate {
get {
return ResourceManager.GetString("CimJob_ComputerNameConcatenationTemplate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CIM method returned the following error code: {0}.
/// </summary>
internal static string CimJob_ErrorCodeFromMethod {
get {
return ResourceManager.GetString("CimJob_ErrorCodeFromMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to run {1}. {0}.
/// </summary>
internal static string CimJob_GenericCimFailure {
get {
return ResourceManager.GetString("CimJob_GenericCimFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find the {0} class on the {1} CIM server. Verify the value of the ClassName xml attribute in Cmdlet Definition XML and retry. Valid class name example: ROOT\cimv2\Win32_Process..
/// </summary>
internal static string CimJob_InvalidClassName {
get {
return ResourceManager.GetString("CimJob_InvalidClassName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find the {2} output parameter of the {1} method of the {0} CIM object. Verify the value of the ParameterName attribute in Cmdlet Definition XML and retry..
/// </summary>
internal static string CimJob_InvalidOutputParameterName {
get {
return ResourceManager.GetString("CimJob_InvalidOutputParameterName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CIM method {1} on the {0} CIM object.
/// </summary>
internal static string CimJob_MethodDescription {
get {
return ResourceManager.GetString("CimJob_MethodDescription", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type of {0} property ({1}) doesn&apos;t match the CIM type ({2}) associated with the type declared in Cmdlet Definition XML..
/// </summary>
internal static string CimJob_MismatchedTypeOfPropertyReturnedByQuery {
get {
return ResourceManager.GetString("CimJob_MismatchedTypeOfPropertyReturnedByQuery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No matching {1} objects found by {0}. Verify query parameters and retry..
/// </summary>
internal static string CimJob_NotFound_ComplexCase {
get {
return ResourceManager.GetString("CimJob_NotFound_ComplexCase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No {2} objects found with property &apos;{0}&apos; equal to &apos;{1}&apos;. Verify the value of the property and retry..
/// </summary>
internal static string CimJob_NotFound_SimpleGranularCase_Equality {
get {
return ResourceManager.GetString("CimJob_NotFound_SimpleGranularCase_Equality", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No {2} objects found with property &apos;{0}&apos; matching &apos;{1}&apos;. Verify the value of the property and retry..
/// </summary>
internal static string CimJob_NotFound_SimpleGranularCase_Wildcard {
get {
return ResourceManager.GetString("CimJob_NotFound_SimpleGranularCase_Wildcard", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CIM query for enumerating associated instance of the {0} class on the {1} CIM server.
/// </summary>
internal static string CimJob_SafeAssociationDescription {
get {
return ResourceManager.GetString("CimJob_SafeAssociationDescription", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The {2} CIM method exposed by the {0} class on the {1} CIM server.
/// </summary>
internal static string CimJob_SafeMethodDescription {
get {
return ResourceManager.GetString("CimJob_SafeMethodDescription", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CIM query for instances of the {0} class on the {1} CIM server: {2}.
/// </summary>
internal static string CimJob_SafeQueryDescription {
get {
return ResourceManager.GetString("CimJob_SafeQueryDescription", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The {0} command cannot complete, because the {1} server is currently busy. The command will be automatically resumed in {2:f2} seconds..
/// </summary>
internal static string CimJob_SleepAndRetryVerboseMessage {
get {
return ResourceManager.GetString("CimJob_SleepAndRetryVerboseMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Running the following operation: {0}..
/// </summary>
internal static string CimJob_VerboseExecutionMessage {
get {
return ResourceManager.GetString("CimJob_VerboseExecutionMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CIM cmdlets do not support the {0} parameter together with the AsJob parameter. Remove one of these parameters and retry..
/// </summary>
internal static string SessionBasedWrapper_ShouldProcessVsJobConflict {
get {
return ResourceManager.GetString("SessionBasedWrapper_ShouldProcessVsJobConflict", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
///&lt;!-- ##################################################################
///Copyright (c) Microsoft Corporation. All rights reserved.
///################################################################### --&gt;
///&lt;!DOCTYPE schema [
/// &lt;!ENTITY csharpIdentifierLetterCharacterRegex &quot;\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}&quot;&gt;
/// &lt;!ENTITY csharpIdentifierFirstCharacterRegex &quot;&amp;csharpIdentifierLetterCharacterRegex;_&quot;&gt;
/// &lt;!ENTITY csharpIdentifierOtherCharacterRegex &quot;&amp;csharpIdentifierL [rest of string was truncated]&quot;;.
/// </summary>
internal static string Xml_cmdletsOverObjectsXsd {
get {
return ResourceManager.GetString("Xml_cmdletsOverObjectsXsd", resourceCulture);
}
}
}

View file

@ -1,279 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class NavigationResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal NavigationResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NavigationResources", typeof(NavigationResources).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Add Content.
/// </summary>
internal static string AddContentAction {
get {
return ResourceManager.GetString("AddContentAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Path: {0}.
/// </summary>
internal static string AddContentTarget {
get {
return ResourceManager.GetString("AddContentTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Commit.
/// </summary>
internal static string CommitAction {
get {
return ResourceManager.GetString("CommitAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot copy because the specified destination already exists. Do you want to overwrite the existing content?.
/// </summary>
internal static string CopyToExistingPrompt {
get {
return ResourceManager.GetString("CopyToExistingPrompt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Begin.
/// </summary>
internal static string CreateAction {
get {
return ResourceManager.GetString("CreateAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified path is a container that has child items. Do you want to delete this container and its child items?.
/// </summary>
internal static string DeleteHasChildrenPrompt {
get {
return ResourceManager.GetString("DeleteHasChildrenPrompt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do you want to delete the specified item?.
/// </summary>
internal static string DeletePrompt {
get {
return ResourceManager.GetString("DeletePrompt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An object at the specified path {0} does not exist, or has been filtered by the -Include or -Exclude parameter..
/// </summary>
internal static string ItemNotFound {
get {
return ResourceManager.GetString("ItemNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot move item because the item at &apos;{0}&apos; does not exist..
/// </summary>
internal static string MoveItemDoesntExist {
get {
return ResourceManager.GetString("MoveItemDoesntExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot move item because the item at &apos;{0}&apos; is in use..
/// </summary>
internal static string MoveItemInUse {
get {
return ResourceManager.GetString("MoveItemInUse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New drive.
/// </summary>
internal static string NewDriveConfirmAction {
get {
return ResourceManager.GetString("NewDriveConfirmAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Provider: {1} Root: {2}.
/// </summary>
internal static string NewDriveConfirmResourceTemplate {
get {
return ResourceManager.GetString("NewDriveConfirmResourceTemplate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot parse path because path &apos;{0}&apos; does not have a qualifier specified..
/// </summary>
internal static string ParsePathFormatError {
get {
return ResourceManager.GetString("ParsePathFormatError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remove Drive.
/// </summary>
internal static string RemoveDriveConfirmAction {
get {
return ResourceManager.GetString("RemoveDriveConfirmAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Provider: {1} Root: {2}.
/// </summary>
internal static string RemoveDriveConfirmResourceTemplate {
get {
return ResourceManager.GetString("RemoveDriveConfirmResourceTemplate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot remove drive &apos;{0}&apos; because it is in use..
/// </summary>
internal static string RemoveDriveInUse {
get {
return ResourceManager.GetString("RemoveDriveInUse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot remove the item at &apos;{0}&apos; because it is in use..
/// </summary>
internal static string RemoveItemInUse {
get {
return ResourceManager.GetString("RemoveItemInUse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The item at {0} has children and the Recurse parameter was not specified. If you continue, all children will be removed with the item. Are you sure you want to continue?.
/// </summary>
internal static string RemoveItemWithChildren {
get {
return ResourceManager.GetString("RemoveItemWithChildren", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot rename the item at &apos;{0}&apos; because it is in use..
/// </summary>
internal static string RenamedItemInUse {
get {
return ResourceManager.GetString("RenamedItemInUse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot rename because item at &apos;{0}&apos; does not exist..
/// </summary>
internal static string RenameItemDoesntExist {
get {
return ResourceManager.GetString("RenameItemDoesntExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Rollback.
/// </summary>
internal static string RollbackAction {
get {
return ResourceManager.GetString("RollbackAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Set Content.
/// </summary>
internal static string SetContentAction {
get {
return ResourceManager.GetString("SetContentAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Path: {0}.
/// </summary>
internal static string SetContentTarget {
get {
return ResourceManager.GetString("SetContentTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Current transaction.
/// </summary>
internal static string TransactionResource {
get {
return ResourceManager.GetString("TransactionResource", resourceCulture);
}
}
}

View file

@ -1,314 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class ProcessResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal ProcessResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ProcessResources", typeof(ProcessResources).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run completely because the system cannot find all the information required..
/// </summary>
internal static string CannotStarttheProcess {
get {
return ResourceManager.GetString("CannotStarttheProcess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Are you sure you want to perform the Stop-Process operation on the following item: {0}({1})?.
/// </summary>
internal static string ConfirmStopProcess {
get {
return ResourceManager.GetString("ConfirmStopProcess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameters &quot;{0}&quot; and &quot;{1}&quot; cannot be specified at the same time..
/// </summary>
internal static string ContradictParametersSpecified {
get {
return ResourceManager.GetString("ContradictParametersSpecified", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot enumerate the file version information of the &quot;{0}&quot; process..
/// </summary>
internal static string CouldnotEnumerateFileVer {
get {
return ResourceManager.GetString("CouldnotEnumerateFileVer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot enumerate the modules and the file version information of the &quot;{0}&quot; process..
/// </summary>
internal static string CouldnotEnumerateModuleFileVer {
get {
return ResourceManager.GetString("CouldnotEnumerateModuleFileVer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot enumerate the modules of the &quot;{0}&quot; process..
/// </summary>
internal static string CouldnotEnumerateModules {
get {
return ResourceManager.GetString("CouldnotEnumerateModules", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot stop process &quot;{0} ({1})&quot; because of the following error: {2}.
/// </summary>
internal static string CouldNotStopProcess {
get {
return ResourceManager.GetString("CouldNotStopProcess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot attach the debugger to the process due to {0} because no default debugger is available..
/// </summary>
internal static string DebuggerError {
get {
return ResourceManager.GetString("DebuggerError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because &quot;{0}&quot; and &quot;{1}&quot; are same. Give different inputs and Run your command again..
/// </summary>
internal static string DuplicateEntry {
get {
return ResourceManager.GetString("DuplicateEntry", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;IncludeUserName&apos; parameter requires elevated user rights. Try running the command again in a session that has been opened with elevated user rights (that is, Run as Administrator)..
/// </summary>
internal static string IncludeUserNameRequiresElevation {
get {
return ResourceManager.GetString("IncludeUserNameRequiresElevation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because the input &quot;{0}&quot; is not a valid Application. Give a valid application and run your command again..
/// </summary>
internal static string InvalidApplication {
get {
return ResourceManager.GetString("InvalidApplication", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because either the parameter &quot;{0}&quot; has a value that is not valid or cannot be used with this command. Give a valid input and Run your command again..
/// </summary>
internal static string InvalidInput {
get {
return ResourceManager.GetString("InvalidInput", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run due to the error: {0}..
/// </summary>
internal static string InvalidStartProcess {
get {
return ResourceManager.GetString("InvalidStartProcess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run due to error 1783. The possible cause of this error can be using of a non-existing user &quot;{0}&quot;. Please give a valid user and run your command again..
/// </summary>
internal static string InvalidUserError {
get {
return ResourceManager.GetString("InvalidUserError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error adding &apos;{0}&apos; to the network: {1}.
/// </summary>
internal static string JoinNetworkFailed {
get {
return ResourceManager.GetString("JoinNetworkFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Exception getting &quot;Modules&quot; or &quot;FileVersion&quot;: &quot;This feature is not supported for remote computers.&quot;..
/// </summary>
internal static string NoComputerNameWithFileVersion {
get {
return ResourceManager.GetString("NoComputerNameWithFileVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because the debugger cannot be attached to the process &quot;{0} ({1})&quot;. Specify another process and Run your command..
/// </summary>
internal static string NoDebuggerFound {
get {
return ResourceManager.GetString("NoDebuggerFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find a process with the process identifier {1}..
/// </summary>
internal static string NoProcessFoundForGivenId {
get {
return ResourceManager.GetString("NoProcessFoundForGivenId", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find a process with the name &quot;{0}&quot;. Verify the process name and call the cmdlet again..
/// </summary>
internal static string NoProcessFoundForGivenName {
get {
return ResourceManager.GetString("NoProcessFoundForGivenName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command stopped operation of &quot;{0} ({1})&quot; because of the following error: {2}..
/// </summary>
internal static string Process_is_not_terminated {
get {
return ResourceManager.GetString("Process is not terminated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0} ({1}).
/// </summary>
internal static string ProcessNameForConfirmation {
get {
return ResourceManager.GetString("ProcessNameForConfirmation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command stopped operation because process &quot;{0} ({1})&quot; is not stopped in the specified time-out..
/// </summary>
internal static string ProcessNotTerminated {
get {
return ResourceManager.GetString("ProcessNotTerminated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because Redirection parameters cannot be used with UseShellExecute parameter.
/// </summary>
internal static string RedirectionParams {
get {
return ResourceManager.GetString("RedirectionParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error removing &apos;{0}&apos; from the network: {1}.
/// </summary>
internal static string RemoveFailed {
get {
return ResourceManager.GetString("RemoveFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error renaming &apos;{0}&apos;: {1}.
/// </summary>
internal static string RenameFailed {
get {
return ResourceManager.GetString("RenameFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified path is not a valid win32 application. Try again with the UseShellExecute..
/// </summary>
internal static string UseShell {
get {
return ResourceManager.GetString("UseShell", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command stopped operation because it cannot wait on &apos;System Idle&apos; process. Specify another process and Run your command again..
/// </summary>
internal static string WaitOnIdleProcess {
get {
return ResourceManager.GetString("WaitOnIdleProcess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command stopped operation because it cannot wait on itself. Specify another process and Run your command again..
/// </summary>
internal static string WaitOnItself {
get {
return ResourceManager.GetString("WaitOnItself", resourceCulture);
}
}
}

View file

@ -1,179 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AddMember {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AddMember() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AddMember", typeof(AddMember).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The member referenced by this alias should not be null or empty..
/// </summary>
internal static string AliasReferenceShouldNotBeNullOrEmpty {
get {
return ResourceManager.GetString("AliasReferenceShouldNotBeNullOrEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot add a member with type &quot;{0}&quot;. Specify a different type for the MemberTypes parameter..
/// </summary>
internal static string CannotAddMemberType {
get {
return ResourceManager.GetString("CannotAddMemberType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot force the member with name &quot;{0}&quot; and type &quot;{1}&quot; to be added. A member with that name and type already exists, and the existing member is not an instance extension..
/// </summary>
internal static string CannotRemoveTypeDataMember {
get {
return ResourceManager.GetString("CannotRemoveTypeDataMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter NotePropertyName cannot take values that could be converted to the type {0}. To define the name of a member with those values, use Add-Member, and specify the member type..
/// </summary>
internal static string InvalidValueForNotePropertyName {
get {
return ResourceManager.GetString("InvalidValueForNotePropertyName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot add a member with the name &quot;{0}&quot; because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command..
/// </summary>
internal static string MemberAlreadyExists {
get {
return ResourceManager.GetString("MemberAlreadyExists", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The name for a NoteProperty member should not be null or an empty string..
/// </summary>
internal static string NotePropertyNameShouldNotBeNull {
get {
return ResourceManager.GetString("NotePropertyNameShouldNotBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The TypeName parameter should not be null, empty, or contain only white spaces..
/// </summary>
internal static string TypeNameShouldNotBeEmpty {
get {
return ResourceManager.GetString("TypeNameShouldNotBeEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Both Value and SecondValue parameters should not be null for a member of type &quot;{0}&quot;. Specify a non-null value for one of the two parameters..
/// </summary>
internal static string Value1AndValue2AreNotBothNull {
get {
return ResourceManager.GetString("Value1AndValue2AreNotBothNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Value parameter is required for a member of type &quot;{0}&quot;. Specify the Value parameter when adding members of this type..
/// </summary>
internal static string Value1Prompt {
get {
return ResourceManager.GetString("Value1Prompt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Value parameter should not be null for a member of type &quot;{0}&quot;. Specify a non-null value for the Value parameter when adding members of this type..
/// </summary>
internal static string Value1ShouldNotBeNull {
get {
return ResourceManager.GetString("Value1ShouldNotBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The SecondValue parameter should not be null for a member of type &quot;{0}&quot;. Specify a non-null value for the SecondValue parameter when adding members of this type..
/// </summary>
internal static string Value2ShouldNotBeNull {
get {
return ResourceManager.GetString("Value2ShouldNotBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The SecondValue parameter is not necessary for a member of type &quot;{0}&quot;, and should not be specified. Do not specify the SecondValue parameter when you add members of this type..
/// </summary>
internal static string Value2ShouldNotBeSpecified {
get {
return ResourceManager.GetString("Value2ShouldNotBeSpecified", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to To add a member, only one member type can be specified. The member types specified are: &quot;{0}&quot;.
/// </summary>
internal static string WrongMemberCount {
get {
return ResourceManager.GetString("WrongMemberCount", resourceCulture);
}
}
}

View file

@ -1,234 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AliasCommandStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AliasCommandStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AliasCommandStrings", typeof(AliasCommandStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Cannot open file {0} to export the alias. {1}.
/// </summary>
internal static string ExportAliasFileOpenFailed {
get {
return ResourceManager.GetString("ExportAliasFileOpenFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Date/Time : {0:F}.
/// </summary>
internal static string ExportAliasHeaderDate {
get {
return ResourceManager.GetString("ExportAliasHeaderDate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Computer : {0}.
/// </summary>
internal static string ExportAliasHeaderMachine {
get {
return ResourceManager.GetString("ExportAliasHeaderMachine", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alias File.
/// </summary>
internal static string ExportAliasHeaderTitle {
get {
return ResourceManager.GetString("ExportAliasHeaderTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Exported by : {0}.
/// </summary>
internal static string ExportAliasHeaderUser {
get {
return ResourceManager.GetString("ExportAliasHeaderUser", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot export the aliases because path &apos;{0}&apos; contains wildcard characters that resolved to multiple paths. Aliases can be exported to only one file. Change the value of the Path parameter to a path that resolves to a single file..
/// </summary>
internal static string ExportAliasPathResolvedToMultiple {
get {
return ResourceManager.GetString("ExportAliasPathResolvedToMultiple", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot export the aliases because path &apos;{0}&apos; referred to a &apos;{1}&apos; provider path. Change the Path parameter to a file system path..
/// </summary>
internal static string ExportAliasToFileSystemOnly {
get {
return ResourceManager.GetString("ExportAliasToFileSystemOnly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Import Alias.
/// </summary>
internal static string ImportAliasAction {
get {
return ResourceManager.GetString("ImportAliasAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot import an alias. Line number {1} in the file &apos;{0}&apos; is not a properly-formatted, comma-separated values (CSV) line for aliases. Change the line to contain four values separated by commas. If the value text itself contains a comma, then the value must be contained in quotation marks..
/// </summary>
internal static string ImportAliasFileInvalidFormat {
get {
return ResourceManager.GetString("ImportAliasFileInvalidFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot open file {0} to import the alias. {1}.
/// </summary>
internal static string ImportAliasFileOpenFailed {
get {
return ResourceManager.GetString("ImportAliasFileOpenFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot import the alias because the specified path &apos;{0}&apos; referred to a &apos;{1}&apos; provider path. Change the value of the Path parameter to a file system path..
/// </summary>
internal static string ImportAliasFromFileSystemOnly {
get {
return ResourceManager.GetString("ImportAliasFromFileSystemOnly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot import the alias because line number {1} in the file &apos;{0}&apos; contains an option that is not recognized for aliases. Change the file to contain valid options..
/// </summary>
internal static string ImportAliasOptionsError {
get {
return ResourceManager.GetString("ImportAliasOptionsError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot import alias because path &apos;{0}&apos; contains wildcard characters that resolve to multiple paths. Aliases can be imported from only one file. Change the value of the Path parameter to a path that resolves to a single file..
/// </summary>
internal static string ImportAliasPathResolvedToMultiple {
get {
return ResourceManager.GetString("ImportAliasPathResolvedToMultiple", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Value: {1}.
/// </summary>
internal static string ImportAliasTarget {
get {
return ResourceManager.GetString("ImportAliasTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New Alias.
/// </summary>
internal static string NewAliasAction {
get {
return ResourceManager.GetString("NewAliasAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Value: {1}.
/// </summary>
internal static string NewAliasTarget {
get {
return ResourceManager.GetString("NewAliasTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot find a matching alias because an alias with the {0} &apos;{1}&apos; does not exist..
/// </summary>
internal static string NoAliasFound {
get {
return ResourceManager.GetString("NoAliasFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Set Alias.
/// </summary>
internal static string SetAliasAction {
get {
return ResourceManager.GetString("SetAliasAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Value: {1}.
/// </summary>
internal static string SetAliasTarget {
get {
return ResourceManager.GetString("SetAliasTarget", resourceCulture);
}
}
}

View file

@ -1,81 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class ConvertFromStringData {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal ConvertFromStringData() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ConvertFromStringData", typeof(ConvertFromStringData).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Data item &apos;{1}&apos; in line &apos;{0}&apos; is already defined. .
/// </summary>
internal static string DataItemAlreadyDefined {
get {
return ResourceManager.GetString("DataItemAlreadyDefined", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Data line &apos;{0}&apos; is not in &apos;name=value&apos; format. .
/// </summary>
internal static string InvalidDataLine {
get {
return ResourceManager.GetString("InvalidDataLine", resourceCulture);
}
}
}

View file

@ -1,90 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class CsvCommandStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal CsvCommandStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CsvCommandStrings", typeof(CsvCommandStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Cannot append CSV content to the following file: {1}. The appended object does not have a property that corresponds to the following column: {0}. To continue with mismatched properties, add the -Force parameter, and then retry the command..
/// </summary>
internal static string CannotAppendCsvWithMismatchedPropertyNames {
get {
return ResourceManager.GetString("CannotAppendCsvWithMismatchedPropertyNames", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You must specify either the -Path or -LiteralPath parameters, but not both..
/// </summary>
internal static string CannotSpecifyPathAndLiteralPath {
get {
return ResourceManager.GetString("CannotSpecifyPathAndLiteralPath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to One or more headers were not specified. Default names starting with &quot;H&quot; have been used in place of any missing headers..
/// </summary>
internal static string UseDefaultNameForUnspecifiedHeader {
get {
return ResourceManager.GetString("UseDefaultNameForUnspecifiedHeader", resourceCulture);
}
}
}

View file

@ -1,234 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Debugger {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Debugger() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Debugger", typeof(Debugger).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to There is no breakpoint with ID &apos;{0}&apos;..
/// </summary>
internal static string BreakpointIdNotFound {
get {
return ResourceManager.GetString("BreakpointIdNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot set breakpoint. The language mode for this session is incompatible with the system-wide language mode..
/// </summary>
internal static string CannotSetBreakpointInconsistentLanguageMode {
get {
return ResourceManager.GetString("CannotSetBreakpointInconsistentLanguageMode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wait-Debugger called on line {0} in {1}..
/// </summary>
internal static string DebugBreakMessage {
get {
return ResourceManager.GetString("DebugBreakMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File &apos;{0}&apos; does not exist..
/// </summary>
internal static string FileDoesNotExist {
get {
return ResourceManager.GetString("FileDoesNotExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Line cannot be less than 1..
/// </summary>
internal static string LineLessThanOne {
get {
return ResourceManager.GetString("LineLessThanOne", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to persist debug options for Process {0}..
/// </summary>
internal static string PersistDebugPreferenceFailure {
get {
return ResourceManager.GetString("PersistDebugPreferenceFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Debugging is not supported on remote sessions..
/// </summary>
internal static string RemoteDebuggerNotSupported {
get {
return ResourceManager.GetString("RemoteDebuggerNotSupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Breakpoints cannot be set in the remote session because remote debugging is not supported by the current host..
/// </summary>
internal static string RemoteDebuggerNotSupportedInHost {
get {
return ResourceManager.GetString("RemoteDebuggerNotSupportedInHost", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You cannot debug the default host Runspace using this cmdlet. To debug the default Runspace use the normal debugging commands from the host..
/// </summary>
internal static string RunspaceDebuggingCannotDebugDefaultRunspace {
get {
return ResourceManager.GetString("RunspaceDebuggingCannotDebugDefaultRunspace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to To end the debugging session type the &apos;Detach&apos; command at the debugger prompt, or type &apos;Ctrl+C&apos; otherwise..
/// </summary>
internal static string RunspaceDebuggingEndSession {
get {
return ResourceManager.GetString("RunspaceDebuggingEndSession", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot debug Runspace. There is no host or host UI. The debugger requires a host and host UI for debugging..
/// </summary>
internal static string RunspaceDebuggingNoHost {
get {
return ResourceManager.GetString("RunspaceDebuggingNoHost", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot debug Runspace. The host has no debugger. Try debugging the Runspace inside the Windows PowerShell console or the Windows PowerShell ISE, both of which have built-in debuggers..
/// </summary>
internal static string RunspaceDebuggingNoHostRunspaceOrDebugger {
get {
return ResourceManager.GetString("RunspaceDebuggingNoHostRunspaceOrDebugger", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No Runspace was found..
/// </summary>
internal static string RunspaceDebuggingNoRunspaceFound {
get {
return ResourceManager.GetString("RunspaceDebuggingNoRunspaceFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command or script completed..
/// </summary>
internal static string RunspaceDebuggingScriptCompleted {
get {
return ResourceManager.GetString("RunspaceDebuggingScriptCompleted", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Debugging Runspace: {0}.
/// </summary>
internal static string RunspaceDebuggingStarted {
get {
return ResourceManager.GetString("RunspaceDebuggingStarted", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to More than one Runspace was found. Only one Runspace can be debugged at a time..
/// </summary>
internal static string RunspaceDebuggingTooManyRunspacesFound {
get {
return ResourceManager.GetString("RunspaceDebuggingTooManyRunspacesFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot set debug options on Runspace {0} because it is not in the Opened state..
/// </summary>
internal static string RunspaceOptionInvalidRunspaceState {
get {
return ResourceManager.GetString("RunspaceOptionInvalidRunspaceState", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No debugger was found for Runspace {0}..
/// </summary>
internal static string RunspaceOptionNoDebugger {
get {
return ResourceManager.GetString("RunspaceOptionNoDebugger", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot set breakpoint on file &apos;{0}&apos;; only *.ps1 and *.psm1 files are valid..
/// </summary>
internal static string WrongExtension {
get {
return ResourceManager.GetString("WrongExtension", resourceCulture);
}
}
}

View file

@ -1,144 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class EventingStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal EventingStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EventingStrings", typeof(EventingStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Action must be specified for non-forwarded events..
/// </summary>
internal static string ActionMandatoryForLocal {
get {
return ResourceManager.GetString("ActionMandatoryForLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event with identifier &apos;{0}&apos; does not exist..
/// </summary>
internal static string EventIdentifierNotFound {
get {
return ResourceManager.GetString("EventIdentifierNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event &apos;{0}&apos;.
/// </summary>
internal static string EventResource {
get {
return ResourceManager.GetString("EventResource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event subscription &apos;{0}&apos;.
/// </summary>
internal static string EventSubscription {
get {
return ResourceManager.GetString("EventSubscription", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event subscription with identifier &apos;{0}&apos; does not exist..
/// </summary>
internal static string EventSubscriptionNotFound {
get {
return ResourceManager.GetString("EventSubscriptionNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event subscription with source identifier &apos;{0}&apos; does not exist..
/// </summary>
internal static string EventSubscriptionSourceNotFound {
get {
return ResourceManager.GetString("EventSubscriptionSourceNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remove.
/// </summary>
internal static string Remove {
get {
return ResourceManager.GetString("Remove", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event with source identifier &apos;{0}&apos; does not exist..
/// </summary>
internal static string SourceIdentifierNotFound {
get {
return ResourceManager.GetString("SourceIdentifierNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unsubscribe.
/// </summary>
internal static string Unsubscribe {
get {
return ResourceManager.GetString("Unsubscribe", resourceCulture);
}
}
}

View file

@ -1,72 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class GetMember {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal GetMember() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GetMember", typeof(GetMember).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to You must specify an object for the Get-Member cmdlet..
/// </summary>
internal static string NoObjectSpecified {
get {
return ResourceManager.GetString("NoObjectSpecified", resourceCulture);
}
}
}

View file

@ -1,90 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class GetRandomCommandStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal GetRandomCommandStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GetRandomCommandStrings", typeof(GetRandomCommandStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to &apos;maxValue&apos; must be greater than zero..
/// </summary>
internal static string MaxMustBeGreaterThanZeroApi {
get {
return ResourceManager.GetString("MaxMustBeGreaterThanZeroApi", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Minimum value ({0}) cannot be greater than or equal to the Maximum value ({1})..
/// </summary>
internal static string MinGreaterThanOrEqualMax {
get {
return ResourceManager.GetString("MinGreaterThanOrEqualMax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to &apos;minValue&apos; cannot be greater than maxValue..
/// </summary>
internal static string MinGreaterThanOrEqualMaxApi {
get {
return ResourceManager.GetString("MinGreaterThanOrEqualMaxApi", resourceCulture);
}
}
}

View file

@ -1,81 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class HostStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal HostStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HostStrings", typeof(HostStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Cannot process the color because {0} is not a valid color..
/// </summary>
internal static string InvalidColorErrorTemplate {
get {
return ResourceManager.GetString("InvalidColorErrorTemplate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot evaluate the error because a string is not specified..
/// </summary>
internal static string NoStringToEvalulateError {
get {
return ResourceManager.GetString("NoStringToEvalulateError", resourceCulture);
}
}
}

View file

@ -1,137 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class ImportLocalizedDataStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal ImportLocalizedDataStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ImportLocalizedDataStrings", typeof(ImportLocalizedDataStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Cannot import localized data. The definition of additional supported commands is not allowed in this language mode..
/// </summary>
internal static string CannotDefineSupportedCommand {
get {
return ResourceManager.GetString("CannotDefineSupportedCommand", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find the Windows PowerShell data file &apos;{0}&apos; in directory &apos;{1}&apos;, or in any parent culture directories..
/// </summary>
internal static string CannotFindPsd1File {
get {
return ResourceManager.GetString("CannotFindPsd1File", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The following error occurred while Windows PowerShell was loading the &apos;{0}&apos; script data file:
///{1}..
/// </summary>
internal static string ErrorLoadingDataFile {
get {
return ResourceManager.GetString("ErrorLoadingDataFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The following error occurred while Windows PowerShell was opening the data file &apos;{0}&apos;:
///{1}..
/// </summary>
internal static string ErrorOpeningFile {
get {
return ResourceManager.GetString("ErrorOpeningFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The argument for the FileName parameter should not contain a path..
/// </summary>
internal static string FileNameParameterCannotHavePath {
get {
return ResourceManager.GetString("FileNameParameterCannotHavePath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The data file &apos;{0}&apos; cannot be found. .
/// </summary>
internal static string FileNotExist {
get {
return ResourceManager.GetString("FileNotExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The BindingVariable name &apos;{0}&apos; is invalid..
/// </summary>
internal static string IncorrectVariableName {
get {
return ResourceManager.GetString("IncorrectVariableName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The FileName parameter was not specified. The FileName parameter is required when Import-LocalizedData is not called from a script file..
/// </summary>
internal static string NotCalledFromAScriptFile {
get {
return ResourceManager.GetString("NotCalledFromAScriptFile", resourceCulture);
}
}
}

View file

@ -1,90 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class MeasureObjectStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal MeasureObjectStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MeasureObjectStrings", typeof(MeasureObjectStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Input object &quot;{0}&quot; is not numeric..
/// </summary>
internal static string NonNumericInputObject {
get {
return ResourceManager.GetString("NonNumericInputObject", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property &quot;{0}&quot; is not numeric..
/// </summary>
internal static string NonNumericProperty {
get {
return ResourceManager.GetString("NonNumericProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The property &quot;{0}&quot; cannot be found in the input for any objects..
/// </summary>
internal static string PropertyNotFound {
get {
return ResourceManager.GetString("PropertyNotFound", resourceCulture);
}
}
}

View file

@ -1,144 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class NewObjectStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal NewObjectStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NewObjectStrings", typeof(NewObjectStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create type. Only core types are supported in this language mode..
/// </summary>
internal static string CannotCreateTypeConstrainedLanguage {
get {
return ResourceManager.GetString("CannotCreateTypeConstrainedLanguage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A constructor was not found. Cannot find an appropriate constructor for type {0}..
/// </summary>
internal static string CannotFindAppropriateCtor {
get {
return ResourceManager.GetString("CannotFindAppropriateCtor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Creating instances of attribute and delegated Windows RT types is not supported..
/// </summary>
internal static string CannotInstantiateWinRTType {
get {
return ResourceManager.GetString("CannotInstantiateWinRTType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot load COM type {0}..
/// </summary>
internal static string CannotLoadComObjectType {
get {
return ResourceManager.GetString("CannotLoadComObjectType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The object written to the pipeline is an instance of the type &quot;{0}&quot; from the component&apos;s primary interoperability assembly. If this type exposes different members than the IDispatch members, scripts that are written to work with this object might not work if the primary interoperability assembly is not installed..
/// </summary>
internal static string ComInteropLoaded {
get {
return ResourceManager.GetString("ComInteropLoaded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create the COM object. COM object is not supported in OneCore PowerShell..
/// </summary>
internal static string ComObjectNotSupportedInOneCorePowerShell {
get {
return ResourceManager.GetString("ComObjectNotSupportedInOneCorePowerShell", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The value supplied is not valid, or the property is read-only. Change the value, and then try again..
/// </summary>
internal static string InvalidValue {
get {
return ResourceManager.GetString("InvalidValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The member &quot;{1}&quot; was not found for the specified {2} object..
/// </summary>
internal static string MemberNotFound {
get {
return ResourceManager.GetString("MemberNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find type [{0}]: verify that the assembly containing this type is loaded..
/// </summary>
internal static string TypeNotFound {
get {
return ResourceManager.GetString("TypeNotFound", resourceCulture);
}
}
}

View file

@ -1,108 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class SelectObjectStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal SelectObjectStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SelectObjectStrings", typeof(SelectObjectStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to The property cannot be processed because the property &quot;{0}&quot; already exists..
/// </summary>
internal static string AlreadyExistingProperty {
get {
return ResourceManager.GetString("AlreadyExistingProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A property is an empty script block and does not provide a name..
/// </summary>
internal static string EmptyScriptBlockAndNoName {
get {
return ResourceManager.GetString("EmptyScriptBlockAndNoName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Multiple properties cannot be expanded..
/// </summary>
internal static string MutlipleExpandProperties {
get {
return ResourceManager.GetString("MutlipleExpandProperties", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property &quot;{0}&quot; cannot be found..
/// </summary>
internal static string PropertyNotFound {
get {
return ResourceManager.GetString("PropertyNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot rename multiple results..
/// </summary>
internal static string RenamingMultipleResults {
get {
return ResourceManager.GetString("RenamingMultipleResults", resourceCulture);
}
}
}

View file

@ -1,72 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class SortObjectStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal SortObjectStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SortObjectStrings", typeof(SortObjectStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to &quot;Sort-Object&quot; - &quot;{0}&quot; cannot be found in &quot;InputObject&quot;..
/// </summary>
internal static string PropertyNotFound {
get {
return ResourceManager.GetString("PropertyNotFound", resourceCulture);
}
}
}

View file

@ -1,180 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class UtilityCommonStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal UtilityCommonStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UtilityCommonStrings", typeof(UtilityCommonStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because &apos;{0}&apos; is empty or blank. Please specify CSSUri and then run the command..
/// </summary>
internal static string EmptyCSSUri {
get {
return ResourceManager.GetString("EmptyCSSUri", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because the file path &apos;{0}&apos; is not valid. Please provide a valid file path and then run the command..
/// </summary>
internal static string FileNotFound {
get {
return ResourceManager.GetString("FileNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot open the file because the current provider ({0}) cannot open files..
/// </summary>
internal static string FileOpenError {
get {
return ResourceManager.GetString("FileOpenError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The file &apos;{0}&apos; cannot be read: {1}.
/// </summary>
internal static string FileReadError {
get {
return ResourceManager.GetString("FileReadError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The command cannot be run because using the AsHashTable parameter with more than one property requires adding the AsString parameter..
/// </summary>
internal static string GroupObjectSingleProperty {
get {
return ResourceManager.GetString("GroupObjectSingleProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The command cannot be run because the AsString parameter requires that you specify the AsHashtable parameter..
/// </summary>
internal static string GroupObjectWithHashTable {
get {
return ResourceManager.GetString("GroupObjectWithHashTable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The objects grouped by this property cannot be expanded because there is a key duplication. Provide a valid value for the property, and then try again..
/// </summary>
internal static string InvalidOperation {
get {
return ResourceManager.GetString("InvalidOperation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {2} has one or more exceptions that are not valid..
/// </summary>
internal static string Invalidpath {
get {
return ResourceManager.GetString("Invalidpath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There are no matching results found for {2}..
/// </summary>
internal static string NoMatchFound {
get {
return ResourceManager.GetString("NoMatchFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The command is not supported on this operating system..
/// </summary>
internal static string NotSupported {
get {
return ResourceManager.GetString("NotSupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find path &apos;{0}&apos; because it does not exist..
/// </summary>
internal static string PathDoesNotExist {
get {
return ResourceManager.GetString("PathDoesNotExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use tag &apos;{0}&apos;. The &apos;PS&apos; prefix is reserved..
/// </summary>
internal static string PSPrefixReservedInInformationTag {
get {
return ResourceManager.GetString("PSPrefixReservedInInformationTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because the prefix value in the Namespace parameter is null. Provide a valid value for the prefix, and then run the command again..
/// </summary>
internal static string SearchXMLPrefixNullError {
get {
return ResourceManager.GetString("SearchXMLPrefixNullError", resourceCulture);
}
}
}

View file

@ -1,153 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class VariableCommandStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal VariableCommandStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("VariableCommandStrings", typeof(VariableCommandStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Add variable.
/// </summary>
internal static string AddVariableAction {
get {
return ResourceManager.GetString("AddVariableAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0}.
/// </summary>
internal static string AddVariableTarget {
get {
return ResourceManager.GetString("AddVariableTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Clear variable.
/// </summary>
internal static string ClearVariableAction {
get {
return ResourceManager.GetString("ClearVariableAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0}.
/// </summary>
internal static string ClearVariableTarget {
get {
return ResourceManager.GetString("ClearVariableTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New variable.
/// </summary>
internal static string NewVariableAction {
get {
return ResourceManager.GetString("NewVariableAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Value: {1}.
/// </summary>
internal static string NewVariableTarget {
get {
return ResourceManager.GetString("NewVariableTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remove variable.
/// </summary>
internal static string RemoveVariableAction {
get {
return ResourceManager.GetString("RemoveVariableAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0}.
/// </summary>
internal static string RemoveVariableTarget {
get {
return ResourceManager.GetString("RemoveVariableTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Set variable.
/// </summary>
internal static string SetVariableAction {
get {
return ResourceManager.GetString("SetVariableAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name: {0} Value: {1}.
/// </summary>
internal static string SetVariableTarget {
get {
return ResourceManager.GetString("SetVariableTarget", resourceCulture);
}
}
}

View file

@ -1,90 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class WriteProgressResourceStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal WriteProgressResourceStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WriteProgressResourceStrings", typeof(WriteProgressResourceStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Text to describe the activity for which progress is being reported..
/// </summary>
internal static string ActivityParameterHelpMessage {
get {
return ResourceManager.GetString("ActivityParameterHelpMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Processing.
/// </summary>
internal static string Processing {
get {
return ResourceManager.GetString("Processing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Text to describe the current state of the activity for which progress is being reported..
/// </summary>
internal static string StatusParameterHelpMessage {
get {
return ResourceManager.GetString("StatusParameterHelpMessage", resourceCulture);
}
}
}

View file

@ -54,6 +54,7 @@ COMMANDS_UTILITY_SRCS_WIN=\
../../../jws/pswin/admin/monad/src/commands/utility/WriteProgressCmdlet.cs \
../../../jws/pswin/admin/monad/src/commands/utility/Update-Data.cs \
../../../jws/pswin/admin/monad/src/commands/utility/Update-TypeData.cs \
../../../jws/pswin/admin/monad/src/commands/utility/AddAssembly.cs \
../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs \
../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs \
../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/format-list/Format-List.cs \
@ -126,6 +127,7 @@ COMMANDS_UTILITY_SRCS=\
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/WriteProgressCmdlet.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/Update-Data.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/Update-TypeData.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/AddAssembly.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/format-list/Format-List.cs \
@ -171,6 +173,7 @@ COMMANDS_UTILITY_RESX_SRCS=\
../../../jws/pswin/admin/monad/src/commands/utility/resources/UpdateDataStrings.resx \
../../../jws/pswin/admin/monad/src/commands/utility/resources/ImportLocalizedDataStrings.resx \
../../../jws/pswin/admin/monad/src/commands/utility/resources/WriteProgressResourceStrings.resx \
../../../jws/pswin/admin/monad/src/commands/utility/resources/AddAssemblyStrings.resx \
../../../jws/pswin/admin/monad/src/commands/utility/resources/AliasCommandStrings.resx \
@ -195,6 +198,7 @@ COMMANDS_UTILITY_RES_SRCS=\
gen/COMMANDS_UTILITY/UpdateDataStrings.resources \
gen/COMMANDS_UTILITY/ImportLocalizedDataStrings.resources \
gen/COMMANDS_UTILITY/WriteProgressResourceStrings.resources \
gen/COMMANDS_UTILITY/AddAssemblyStrings.resources \
gen/COMMANDS_UTILITY/AliasCommandStrings.resources \
@ -219,6 +223,7 @@ COMMANDS_UTILITY_RES_CS_SRCS=\
gen/COMMANDS_UTILITY/UpdateDataStrings.cs \
gen/COMMANDS_UTILITY/ImportLocalizedDataStrings.cs \
gen/COMMANDS_UTILITY/WriteProgressResourceStrings.cs \
gen/COMMANDS_UTILITY/AddAssemblyStrings.cs \
gen/COMMANDS_UTILITY/AliasCommandStrings.cs \
@ -243,6 +248,7 @@ COMMANDS_UTILITY_RES_REF=\
-resource:gen/COMMANDS_UTILITY/UpdateDataStrings.resources \
-resource:gen/COMMANDS_UTILITY/ImportLocalizedDataStrings.resources \
-resource:gen/COMMANDS_UTILITY/WriteProgressResourceStrings.resources \
-resource:gen/COMMANDS_UTILITY/AddAssemblyStrings.resources \
-resource:gen/COMMANDS_UTILITY/AliasCommandStrings.resources \

View file

@ -1,10 +0,0 @@
# this depends on the MONAD_EXT variable to be correctly set
TARGETING_PACK=$(MONAD_EXT)/coreclr/TargetingPack
COREREF=$(addprefix -r:, $(shell ls $(TARGETING_PACK)/*.dll))
# COREREF_2 is here for dev/testing purposes, it should not be used anywhere (instead use the reference assemblies stored in COREREF)
CORECLR_ASSEMBLY_BASE=$(MONAD_EXT)/coreclr/Release
COREREF_2=$(addprefix -r:, $(shell ls $(CORECLR_ASSEMBLY_BASE)/*.dll))

View file

@ -1,72 +1,72 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class WriteErrorStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal WriteErrorStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WriteErrorStrings", typeof(WriteErrorStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to &quot;The Write-Error cmdlet reported an error.&quot;.
/// </summary>
internal static string WriteErrorException {
get {
return ResourceManager.GetString("WriteErrorException", resourceCulture);
}
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AddAssemblyStrings {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AddAssemblyStrings() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AddAssemblyStrings", typeof(AddAssemblyStrings).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Cannot load the assembly because path &apos;{0}&apos; referred to a &apos;{1}&apos; provider path. Change the path to a file system path..
/// </summary>
internal static string SupportFileSystemOnly {
get {
return ResourceManager.GetString("SupportFileSystemOnly", resourceCulture);
}
}
}

Binary file not shown.

View file

@ -61,6 +61,15 @@ internal class NewObjectStrings {
}
}
/// <summary>
/// Looks up a localized string similar to {0} Please note that Single-Threaded Apartment is not supported in OneCore PowerShell..
/// </summary>
internal static string ApartmentNotSupported {
get {
return ResourceManager.GetString("ApartmentNotSupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create type. Only core types are supported in this language mode..
/// </summary>
@ -106,15 +115,6 @@ internal class NewObjectStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create the COM object. COM object is not supported in OneCore PowerShell..
/// </summary>
internal static string ComObjectNotSupportedInOneCorePowerShell {
get {
return ResourceManager.GetString("ComObjectNotSupportedInOneCorePowerShell", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The value supplied is not valid, or the property is read-only. Change the value, and then try again..
/// </summary>

View file

@ -70,6 +70,15 @@ internal class UtilityCommonStrings {
}
}
/// <summary>
/// Looks up a localized string similar to The file &apos;{0}&apos; could not be parsed as a PowerShell Data File..
/// </summary>
internal static string CouldNotParseAsPowerShellDataFile {
get {
return ResourceManager.GetString("CouldNotParseAsPowerShellDataFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This command cannot be run because &apos;{0}&apos; is empty or blank. Please specify CSSUri and then run the command..
/// </summary>

View file

@ -268,6 +268,15 @@ internal class AutomationExceptions {
}
}
/// <summary>
/// Looks up a localized string similar to Cannot process argument because the value of argument &quot;{0}&quot; is not valid. Valid values are &quot;Global&quot;, &quot;Local&quot;, or &quot;Script&quot;, or a number relative to the current scope (0 through the number of scopes where 0 is the current scope and 1 is its parent). Change the value of the &quot;{0}&quot; argument and run the operation again..
/// </summary>
internal static string InvalidScopeIdArgument {
get {
return ResourceManager.GetString("InvalidScopeIdArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot perform operation because operation &quot;{0}&quot; is not implemented..
/// </summary>

View file

@ -89,7 +89,7 @@ internal class DebuggerStrings {
}
/// <summary>
/// Looks up a localized string similar to The line count must be a positive integer no greater than {0}..
/// Looks up a localized string similar to The line count must be a positive integer..
/// </summary>
internal static string BadCountFormat {
get {

View file

@ -196,6 +196,15 @@ internal class FileSystemProviderStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Destination folder &apos;{0}&apos; does not exist..
/// </summary>
internal static string CopyItemDirectoryNotFound {
get {
return ResourceManager.GetString("CopyItemDirectoryNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Destination path {0} is a file that already exists on the target destination..
/// </summary>
@ -206,7 +215,7 @@ internal class FileSystemProviderStrings {
}
/// <summary>
/// Looks up a localized string similar to Cannot copy a directory &apos;{0}&apos; to file {0}&apos;.
/// Looks up a localized string similar to Cannot copy a directory &apos;{0}&apos; to file &apos;{0}&apos;.
/// </summary>
internal static string CopyItemRemotelyDestinationIsFile {
get {

View file

@ -764,6 +764,51 @@ internal class Modules {
}
}
/// <summary>
/// Looks up a localized string similar to The module to process &apos;{0}&apos;, listed in field &apos;{1}&apos; of module manifest &apos;{2}&apos; was not processed. {3}.
/// </summary>
internal static string ManifestMemberNotValid {
get {
return ResourceManager.GetString("ManifestMemberNotValid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified MaximumVersion &apos;{0}&apos; was incorrect. If you are using &apos;*&apos;, MaximumVersion only supports one &apos;*&apos; and should always be placed at the end of MaximumVersion..
/// </summary>
internal static string MaximumVersionFormatIncorrect {
get {
return ResourceManager.GetString("MaximumVersionFormatIncorrect", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified module &apos;{0}&apos; with MaximumVersion &apos;{1}&apos; was not loaded because no valid module file was found in any module directory..
/// </summary>
internal static string MaximumVersionNotFound {
get {
return ResourceManager.GetString("MaximumVersionNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The MinimumVersion &apos;{0}&apos; should not be greater than MaximumVersion &apos;{1}&apos;..
/// </summary>
internal static string MinimumVersionAndMaximumVersionInvalidRange {
get {
return ResourceManager.GetString("MinimumVersionAndMaximumVersionInvalidRange", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified module &apos;{0}&apos; with MinimumVersion &apos;{1}&apos; and MaximumVersion &apos;{2}&apos; was not loaded because no valid module file was found in any module directory..
/// </summary>
internal static string MinimumVersionAndMaximumVersionNotFound {
get {
return ResourceManager.GetString("MinimumVersionAndMaximumVersionNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Some commands from module {0} cannot be imported over a CimSession. To get all the commands, verify that the remote server has Windows PowerShell remote management enabled, and then try adding the PSSession parameter to an Import-Module cmdlet..
/// </summary>
@ -1224,7 +1269,7 @@ internal class Modules {
}
/// <summary>
/// Looks up a localized string similar to The &apos;ModuleVersion&apos; and &apos;RequiredVersion&apos; members do not exist in the hashtable that describes this module. One of these two members must exist, and be assigned a version number in the format &apos;n.n.n.n&apos;..
/// Looks up a localized string similar to The &apos;ModuleVersion&apos;, &apos;MaximumVersion&apos; and &apos;RequiredVersion&apos; members do not exist in the hashtable that describes this module. One of these three members must exist, and be assigned a version number in the format &apos;n.n.n.n&apos;..
/// </summary>
internal static string RequiredModuleMissingModuleVersion {
get {
@ -1268,6 +1313,24 @@ internal class Modules {
}
}
/// <summary>
/// Looks up a localized string similar to The required module &apos;{1}&apos; with MaximumVersion &apos;{2}&apos; is not loaded. Load the module or remove the module from &apos;RequiredModules&apos; in the file &apos;{0}&apos;..
/// </summary>
internal static string RequiredModuleNotLoadedWrongMaximumVersion {
get {
return ResourceManager.GetString("RequiredModuleNotLoadedWrongMaximumVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The required module &apos;{1}&apos; with MinimumVersion &apos;{2}&apos; and MaximumVersion &apos;{3}&apos; is not loaded. Load the module or remove the module from &apos;RequiredModules&apos; in the file &apos;{0}&apos;..
/// </summary>
internal static string RequiredModuleNotLoadedWrongMinimumVersionAndMaximumVersion {
get {
return ResourceManager.GetString("RequiredModuleNotLoadedWrongMinimumVersionAndMaximumVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The required module &apos;{1}&apos; with version &apos;{2}&apos; is not loaded. Load the module or remove the module from &apos;RequiredModules&apos; in the file &apos;{0}&apos;..
/// </summary>

View file

@ -342,6 +342,15 @@ internal class ParserStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create type. Only core types are supported in this language mode..
/// </summary>
internal static string CannotCreateTypeConstrainedLanguage {
get {
return ResourceManager.GetString("CannotCreateTypeConstrainedLanguage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find an appropriate constructor to instantiate the custom attribute object for type &apos;{0}&apos;..
/// </summary>
@ -425,7 +434,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to Cannot run a document in OneCore powershell: {0}..
/// Looks up a localized string similar to Cannot run a document in OneCore PowerShell: {0}..
/// </summary>
internal static string CantActivateDocumentOnOneCore {
get {
@ -551,7 +560,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to Configuration keyword is not supported in OneCore powershell..
/// Looks up a localized string similar to Configuration keyword is not supported in OneCore PowerShell..
/// </summary>
internal static string ConfigurationNotSupportedOnOneCore {
get {
@ -676,6 +685,15 @@ internal class ParserStrings {
}
}
/// <summary>
/// Looks up a localized string similar to PartialConfiguration &apos;{0}&apos; has a Refresh Mode set to Disabled which is not a valid mode for Partial Configurations. Use Pull or Push refresh mode. .
/// </summary>
internal static string DisabledRefreshModeNotValidForPartialConfig {
get {
return ResourceManager.GetString("DisabledRefreshModeNotValidForPartialConfig", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find an overload for &quot;{0}&quot; and the argument count: &quot;{1}&quot;.
/// </summary>
@ -1272,7 +1290,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to The format of the resource reference &apos;{0}&apos; in the Requires list for resource &apos;{1}&apos; is not valid. A required resource name should be in the format &apos;[&lt;typename&gt;]&lt;name&gt;&apos;, with no spaces..
/// Looks up a localized string similar to The format of the resource reference &apos;{0}&apos; in the Requires list for resource &apos;{1}&apos; is not valid. A required resource name should be in the format &apos;[&lt;typename&gt;]&lt;name&gt;&apos;, with alphanumeric characters, spaces, &apos;_&apos;, &apos;-&apos;, &apos;.&apos; and &apos;\&apos;..
/// </summary>
internal static string GetBadlyFormedRequiredResourceId {
get {
@ -1289,6 +1307,15 @@ internal class ParserStrings {
}
}
/// <summary>
/// Looks up a localized string similar to The PartialConfiguration &apos;{0}&apos; is set to pull mode which requires a ConfigurationSource property..
/// </summary>
internal static string GetPullModeNeedConfigurationSource {
get {
return ResourceManager.GetString("GetPullModeNeedConfigurationSource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There is no Runspace available to get and run the SteppablePipeline in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to get SteppablePipeline from was: {0}.
/// </summary>
@ -1476,7 +1503,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to The default AssemblyLoadContext in use is invalid. The default AssemblyLoadContext for OneCore powershell should be of type &apos;PowerShellAssemblyLoadContext&apos;..
/// Looks up a localized string similar to The default AssemblyLoadContext in use is invalid. The default AssemblyLoadContext for OneCore PowerShell should be of type &apos;PowerShellAssemblyLoadContext&apos;..
/// </summary>
internal static string InvalidAssemblyLoadContextInUse {
get {
@ -2584,7 +2611,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to The DSC engine could not load the module &apos;{0}&apos;. It was not found on the system..
/// Looks up a localized string similar to Could not find the module &apos;{0}&apos;..
/// </summary>
internal static string ModuleNotFoundDuringParse {
get {
@ -2593,25 +2620,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to Unable to load module &apos;{0}&apos; : {1}.
/// </summary>
internal static string ModuleNotFoundDuringParseDueToException {
get {
return ResourceManager.GetString("ModuleNotFoundDuringParseDueToException", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The DSC engine could not load the module &lt;{0}, {1}&gt;. It was not found on the system..
/// </summary>
internal static string ModuleWithVersionNotFoundDuringParse {
get {
return ResourceManager.GetString("ModuleWithVersionNotFoundDuringParse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Multiple versions of the module &apos;{0}&apos; were found. You can run &apos;Get-DscResource -Module {0}&apos; to see available versions on the system, and then use the fully qualified name in the following command to specify the desired version: &apos;Import-DscResource ModuleName @{{ModuleName=&quot;{0}&quot;;ModuleVersion=&quot;Version&quot;}}&apos;..
/// Looks up a localized string similar to Multiple versions of the module &apos;{0}&apos; were found. You can run &apos;Get-Module -ListAvailable -FullyQualifiedName {0}&apos; to see available versions on the system, and then use the fully qualified name &apos;@{{ModuleName=&quot;{0}&quot;; RequiredVersion=&quot;Version&quot;}}&apos;..
/// </summary>
internal static string MultipleModuleEntriesFoundDuringParse {
get {
@ -2898,15 +2907,6 @@ internal class ParserStrings {
}
}
/// <summary>
/// Looks up a localized string similar to The parameter attribute is not allowed on a method parameter..
/// </summary>
internal static string ParameterAttributeNotAllowedInMethod {
get {
return ResourceManager.GetString("ParameterAttributeNotAllowedInMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter {0} cannot have an argument..
/// </summary>
@ -3946,7 +3946,7 @@ internal class ParserStrings {
}
/// <summary>
/// Looks up a localized string similar to Workflow is not supported in OneCore powershell..
/// Looks up a localized string similar to Workflow is not supported in OneCore PowerShell..
/// </summary>
internal static string WorkflowNotSupportedOnOneCore {
get {

View file

@ -250,15 +250,6 @@ internal class RemotingErrorIdStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Failed to find vmcompute.dll. The Hyper-V role may not be enabled on this machine..
/// </summary>
internal static string CannotFindVmComputeDll {
get {
return ResourceManager.GetString("CannotFindVmComputeDll", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The call to Windows API GetStdHandle to get the Standard Error handle resulted in an error code: {0}..
/// </summary>
@ -548,11 +539,38 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Could not find the toolkit, &apos;{0}&apos;. The toolkit must be a file named &apos;{1}&apos; within a &apos;Toolkits&apos; directory in a module in the current module path..
/// Looks up a localized string similar to The Containers feature may not be enabled on this machine..
/// </summary>
internal static string CouldNotFindToolkit {
internal static string ContainersFeatureNotEnabled {
get {
return ResourceManager.GetString("CouldNotFindToolkit", resourceCulture);
return ResourceManager.GetString("ContainersFeatureNotEnabled", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not find the role capability, &apos;{0}&apos;. The role capability must be a file named &apos;{1}&apos; within a &apos;RoleCapabilities&apos; directory in a module in the current module path..
/// </summary>
internal static string CouldNotFindRoleCapability {
get {
return ResourceManager.GetString("CouldNotFindRoleCapability", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not grant remote access to &apos;{0}&apos;: &apos;{1}&apos;. The session configuration has been registered, but this group does not have access. To resolve this error, provide a valid group name and register the session configuration again..
/// </summary>
internal static string CouldNotResolveRoleDefinitionPrincipal {
get {
return ResourceManager.GetString("CouldNotResolveRoleDefinitionPrincipal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not resolve username &apos;{0}&apos;. Verify the username and try again..
/// </summary>
internal static string CouldNotResolveUsername {
get {
return ResourceManager.GetString("CouldNotResolveUsername", resourceCulture);
}
}
@ -750,7 +768,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Aliases defined in this session configuration.
/// Looks up a localized string similar to Aliases to be defined when applied to a session.
/// </summary>
internal static string DISCAliasDefinitionsComment {
get {
@ -759,7 +777,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Assemblies that will be loaded in this session configuration.
/// Looks up a localized string similar to Assemblies to load when applied to a session.
/// </summary>
internal static string DISCAssembliesToLoadComment {
get {
@ -768,7 +786,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Author of this session configuration.
/// Looks up a localized string similar to Author of this document.
/// </summary>
internal static string DISCAuthorComment {
get {
@ -777,7 +795,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Version of the CLR used by this session configuration.
/// Looks up a localized string similar to Version of the CLR to use when applied to a session.
/// </summary>
internal static string DISCCLRVersionComment {
get {
@ -795,7 +813,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Company associated with this session configuration.
/// Looks up a localized string similar to Company associated with this document.
/// </summary>
internal static string DISCCompanyNameComment {
get {
@ -804,7 +822,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Copyright statement for this session configuration.
/// Looks up a localized string similar to Copyright statement for this document.
/// </summary>
internal static string DISCCopyrightComment {
get {
@ -813,7 +831,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Description of the functionality provided by this session configuration.
/// Looks up a localized string similar to Description of the functionality provided by these settings.
/// </summary>
internal static string DISCDescriptionComment {
get {
@ -822,7 +840,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Environment variables defined in this session configuration.
/// Looks up a localized string similar to Environment variables to define when applied to a session.
/// </summary>
internal static string DISCEnvironmentVariablesComment {
get {
@ -840,7 +858,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Specifies the execution policy for this session configuration.
/// Looks up a localized string similar to Execution policy to apply when applied to a session.
/// </summary>
internal static string DISCExecutionPolicyComment {
get {
@ -849,7 +867,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Format files (.ps1xml) that will be loaded in this session configuration..
/// Looks up a localized string similar to Format files (.ps1xml) to load when applied to a session.
/// </summary>
internal static string DISCFormatsToProcessComment {
get {
@ -858,7 +876,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Functions defined in this session configuration.
/// Looks up a localized string similar to Functions to define when applied to a session.
/// </summary>
internal static string DISCFunctionDefinitionsComment {
get {
@ -867,7 +885,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to ID used to uniquely identify this session configuration..
/// Looks up a localized string similar to ID used to uniquely identify this document.
/// </summary>
internal static string DISCGUIDComment {
get {
@ -876,7 +894,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Initial state of this session configuration.
/// Looks up a localized string similar to Session type defaults to apply for this session configuration.
/// </summary>
internal static string DISCInitialSessionStateComment {
get {
@ -912,7 +930,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Modules that will be imported.
/// Looks up a localized string similar to Language mode to apply when applied to a session.
/// </summary>
internal static string DISCLanguageModeComment {
get {
@ -930,7 +948,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Modules that will be imported..
/// Looks up a localized string similar to Modules to import when applied to a session.
/// </summary>
internal static string DISCModulesToImportComment {
get {
@ -966,7 +984,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Version of the Windows PowerShell engine used by this session configuration.
/// Looks up a localized string similar to Version of the Windows PowerShell engine to use when applied to a session.
/// </summary>
internal static string DISCPowerShellVersionComment {
get {
@ -975,7 +993,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Processor architecture used by this session configuration.
/// Looks up a localized string similar to Processor architecture to use when applied to a session.
/// </summary>
internal static string DISCProcessorArchitectureComment {
get {
@ -984,7 +1002,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to User roles (security groups), and the additional configuration settings that should be applied to them.
/// Looks up a localized string similar to User roles (security groups), and the role capabilities that should be applied to them when applied to a session.
/// </summary>
internal static string DISCRoleDefinitionsComment {
get {
@ -993,7 +1011,25 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Version number of the schema used for this configuration file.
/// Looks up a localized string similar to Whether to run this session configuration as the machine&apos;s (virtual) administrator account.
/// </summary>
internal static string DISCRunAsVirtualAccountComment {
get {
return ResourceManager.GetString("DISCRunAsVirtualAccountComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Groups associated with machine&apos;s (virtual) administrator account.
/// </summary>
internal static string DISCRunAsVirtualAccountGroupsComment {
get {
return ResourceManager.GetString("DISCRunAsVirtualAccountGroupsComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Version number of the schema used for this document.
/// </summary>
internal static string DISCSchemaVersionComment {
get {
@ -1002,7 +1038,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Specifies the scripts to run after the session is configured.
/// Looks up a localized string similar to Scripts to run when applied to a session.
/// </summary>
internal static string DISCScriptsToProcessComment {
get {
@ -1011,20 +1047,11 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Toolkits to apply to this session configuration. This toolkit must be defined as a session configuration file named after that toolkit within a &apos;Toolkits&apos; directory in a module in the current module path..
/// Looks up a localized string similar to Directory to place session transcripts for this session configuration.
/// </summary>
internal static string DISCToolkitsToLoadComment {
internal static string DISCTranscriptDirectoryComment {
get {
return ResourceManager.GetString("DISCToolkitsToLoadComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Specifies the transport options for this session configuration.
/// </summary>
internal static string DISCTransportOptionsComment {
get {
return ResourceManager.GetString("DISCTransportOptionsComment", resourceCulture);
return ResourceManager.GetString("DISCTranscriptDirectoryComment", resourceCulture);
}
}
@ -1110,7 +1137,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Types to add to this session configuration.
/// Looks up a localized string similar to Types to add when applied to a session.
/// </summary>
internal static string DISCTypesToAddComment {
get {
@ -1119,7 +1146,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Type files (.ps1xml) that will be loaded in this session configuration.
/// Looks up a localized string similar to Type files (.ps1xml) to load when applied to a session.
/// </summary>
internal static string DISCTypesToProcessComment {
get {
@ -1128,7 +1155,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Variables defined in this session configuration.
/// Looks up a localized string similar to Variables to define when applied to a session.
/// </summary>
internal static string DISCVariableDefinitionsComment {
get {
@ -1146,7 +1173,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Aliases visible in this session configuration.
/// Looks up a localized string similar to Aliases to make visible when applied to a session.
/// </summary>
internal static string DISCVisibleAliasesComment {
get {
@ -1155,7 +1182,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Cmdlets visible in this session configuration.
/// Looks up a localized string similar to Cmdlets to make visible when applied to a session.
/// </summary>
internal static string DISCVisibleCmdletsComment {
get {
@ -1164,7 +1191,16 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Functions visible in this session configuration.
/// Looks up a localized string similar to External commands (scripts and applications) to make visible when applied to a session.
/// </summary>
internal static string DISCVisibleExternalCommandsComment {
get {
return ResourceManager.GetString("DISCVisibleExternalCommandsComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Functions to make visible when applied to a session.
/// </summary>
internal static string DISCVisibleFunctionsComment {
get {
@ -1173,7 +1209,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to Providers visible in this session configuration.
/// Looks up a localized string similar to Providers to make visible when applied to a session.
/// </summary>
internal static string DISCVisibleProvidersComment {
get {
@ -1657,7 +1693,7 @@ internal class RemotingErrorIdStrings {
}
/// <summary>
/// Looks up a localized string similar to PSSession Configuration File path &apos;{0}&apos; is not valid. The path argument must resolve to a single file in the file system with a &apos;.pssc&apos; extension. Please fix the path specification and try again..
/// Looks up a localized string similar to PSSession Configuration file path &apos;{0}&apos; is not valid. The path argument must resolve to a single file in the file system with a &apos;.pssc&apos; extension. Please fix the path specification and try again..
/// </summary>
internal static string InvalidPSSessionConfigurationFilePath {
get {
@ -1674,6 +1710,24 @@ internal class RemotingErrorIdStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Role Capability file path &apos;{0}&apos; is not valid. The path argument must resolve to a single file in the file system with a &apos;.psrc&apos; extension. Please fix the path specification and try again..
/// </summary>
internal static string InvalidRoleCapabilityFilePath {
get {
return ResourceManager.GetString("InvalidRoleCapabilityFilePath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The key &apos;{0}&apos; is not valid in a role capability or role definition..
/// </summary>
internal static string InvalidRoleCapabilityKey {
get {
return ResourceManager.GetString("InvalidRoleCapabilityKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The &apos;Roles&apos; entry must be a hashtable, but was a {0}..
/// </summary>
@ -1683,15 +1737,6 @@ internal class RemotingErrorIdStrings {
}
}
/// <summary>
/// Looks up a localized string similar to The key &apos;{0}&apos; is not valid in a toolkit or role definition..
/// </summary>
internal static string InvalidRoleToolkitKey {
get {
return ResourceManager.GetString("InvalidRoleToolkitKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not convert the value of the &apos;{0}&apos; role entry to a hashtable. The &apos;Roles&apos; entry must be a hashtable with group names for keys, where the value associated with each key is another hashtable of session configuration properties for that role..
/// </summary>
@ -2250,6 +2295,15 @@ internal class RemotingErrorIdStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Unable to start named pipe server while in server mode..
/// </summary>
internal static string NamedPipeServerCannotStart {
get {
return ResourceManager.GetString("NamedPipeServerCannotStart", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to &quot;The named pipe target process has ended.&quot;.
/// </summary>
@ -3521,6 +3575,15 @@ internal class RemotingErrorIdStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Could not get the session capabilities for the session configuration &apos;{0}&apos;: this configuration was not registered with a session configuration file (.pssc), such as one created by the New-PSSessionConfigurationFile cmdlet..
/// </summary>
internal static string SessionConfigurationMustBeFileBased {
get {
return ResourceManager.GetString("SessionConfigurationMustBeFileBased", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A failure occurred while attempting to connect the PSSession..
/// </summary>

View file

@ -376,15 +376,6 @@ internal class SessionStateStrings {
}
}
/// <summary>
/// Looks up a localized string similar to The remote path &apos;{0}&apos; is not valid..
/// </summary>
internal static string CopyItemRemotelyPathIsNotValid {
get {
return ResourceManager.GetString("CopyItemRemotelyPathIsNotValid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to &apos;{0}&apos; parameter cannot be null or empty..
/// </summary>

View file

@ -1,4 +0,0 @@
# platform specifics
PLATFORM_SRCS=../src/monad/monad/src/CoreCLR/CorePsPlatform.cs

View file

@ -1,136 +0,0 @@
#
# This file includes OneCore powershell CoreCLR references. Do not import this file directly. It is automatically imported
# when MANAGED_PROFILE=PowerShell is specified in sources file.
#
# This file is also depended on by the tool 'TypeCatalogGen.exe'. The tool tries to parse this file to get the list of reference
# assemblies used by OneCore powershell, and then use that list to generate the CSharp code for initializing the CoreCLR type
# catalog cache. That CSharp code will be compiled into 'Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll' during the build.
# For more information about 'TypeCatalogGen.exe', see its source code under 'PSAssemblyLoadContext\TypeCatalogGen'.
#
# The parsing rule of this file in 'TypeCatalogGen.exe' is very simple:
# - Read each line of this file and trim it;
# - Skip comment lines;
# - Match the line with the regular expression pattern '^\$\(PS_PROFILE_REF_PATH\)\\(.+);\s*\\$'
# So when adding new reference assembly entries, please make sure the new lines match the above pattern.
#
PROFILE_REF_PATH=$(SDK_REF_PATH)\Profiles
PS_PROFILE_REF_PATH=$(PROFILE_REF_PATH)\PowerShell
PROFILE_REFERENCES=\
$(PS_PROFILE_REF_PATH)\Microsoft.CSharp.dll;\
$(PS_PROFILE_REF_PATH)\Microsoft.VisualBasic.dll;\
$(PS_PROFILE_REF_PATH)\Microsoft.Win32.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\Microsoft.Win32.Registry.AccessControl.dll;\
$(PS_PROFILE_REF_PATH)\Microsoft.Win32.Registry.dll;\
$(PS_PROFILE_REF_PATH)\System.AppContext.dll;\
$(PS_PROFILE_REF_PATH)\System.Collections.Concurrent.dll;\
$(PS_PROFILE_REF_PATH)\System.Collections.dll;\
$(PS_PROFILE_REF_PATH)\System.Collections.NonGeneric.dll;\
$(PS_PROFILE_REF_PATH)\System.Collections.Specialized.dll;\
$(PS_PROFILE_REF_PATH)\System.ComponentModel.Annotations.dll;\
$(PS_PROFILE_REF_PATH)\System.ComponentModel.dll;\
$(PS_PROFILE_REF_PATH)\System.ComponentModel.EventBasedAsync.dll;\
$(PS_PROFILE_REF_PATH)\System.ComponentModel.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\System.ComponentModel.TypeConverter.dll;\
$(PS_PROFILE_REF_PATH)\System.Console.dll;\
$(PS_PROFILE_REF_PATH)\System.Data.Common.dll;\
$(PS_PROFILE_REF_PATH)\System.Data.SqlClient.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.Contracts.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.Debug.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.FileVersionInfo.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.Process.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.TextWriterTraceListener.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.Tools.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.TraceSource.dll;\
$(PS_PROFILE_REF_PATH)\System.Diagnostics.Tracing.dll;\
$(PS_PROFILE_REF_PATH)\System.Dynamic.Runtime.dll;\
$(PS_PROFILE_REF_PATH)\System.Globalization.Calendars.dll;\
$(PS_PROFILE_REF_PATH)\System.Globalization.dll;\
$(PS_PROFILE_REF_PATH)\System.Globalization.Extensions.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.Compression.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.Compression.ZipFile.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.AccessControl.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.DriveInfo.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.Watcher.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.MemoryMappedFiles.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.Pipes.dll;\
$(PS_PROFILE_REF_PATH)\System.IO.UnmanagedMemoryStream.dll;\
$(PS_PROFILE_REF_PATH)\System.Linq.dll;\
$(PS_PROFILE_REF_PATH)\System.Linq.Expressions.dll;\
$(PS_PROFILE_REF_PATH)\System.Linq.Parallel.dll;\
$(PS_PROFILE_REF_PATH)\System.Linq.Queryable.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.Http.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.Http.WinHttpHandler.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.NameResolution.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.NetworkInformation.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.Security.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.Sockets.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.Utilities.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.WebHeaderCollection.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.WebSockets.Client.dll;\
$(PS_PROFILE_REF_PATH)\System.Net.WebSockets.dll;\
$(PS_PROFILE_REF_PATH)\System.ObjectModel.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.DispatchProxy.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.Emit.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.Emit.ILGeneration.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.Emit.Lightweight.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.Extensions.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\System.Reflection.TypeExtensions.dll;\
$(PS_PROFILE_REF_PATH)\System.Resources.ReaderWriter.dll;\
$(PS_PROFILE_REF_PATH)\System.Resources.ResourceManager.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.CompilerServices.VisualC.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Extensions.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Handles.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.InteropServices.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.InteropServices.WindowsRuntime.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Loader.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Numerics.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Json.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Xml.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.AccessControl.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Claims.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.DeriveBytes.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encoding.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encryption.Aes.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encryption.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Hashing.Algorithms.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Hashing.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.RandomNumberGenerator.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.RSA.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.X509Certificates.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Principal.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.Principal.Windows.dll;\
$(PS_PROFILE_REF_PATH)\System.Security.SecureString.dll;\
$(PS_PROFILE_REF_PATH)\System.ServiceModel.Duplex.dll;\
$(PS_PROFILE_REF_PATH)\System.ServiceModel.Http.dll;\
$(PS_PROFILE_REF_PATH)\System.ServiceModel.NetTcp.dll;\
$(PS_PROFILE_REF_PATH)\System.ServiceModel.Primitives.dll;\
$(PS_PROFILE_REF_PATH)\System.ServiceModel.Security.dll;\
$(PS_PROFILE_REF_PATH)\System.ServiceProcess.ServiceController.dll;\
$(PS_PROFILE_REF_PATH)\System.Text.Encoding.CodePages.dll;\
$(PS_PROFILE_REF_PATH)\System.Text.Encoding.dll;\
$(PS_PROFILE_REF_PATH)\System.Text.Encoding.Extensions.dll;\
$(PS_PROFILE_REF_PATH)\System.Text.RegularExpressions.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.AccessControl.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.Overlapped.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.Tasks.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.Tasks.Parallel.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.Thread.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.ThreadPool.dll;\
$(PS_PROFILE_REF_PATH)\System.Threading.Timer.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.ReaderWriter.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.XDocument.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.XmlDocument.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.XmlSerializer.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.XPath.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.XPath.XDocument.dll;\
$(PS_PROFILE_REF_PATH)\System.Xml.XPath.XmlDocument.dll;\

View file

@ -1,86 +0,0 @@
#
# This file includes OneCore powershell CoreCLR references. Do not import this file directly. It is automatically imported
# when MANAGED_PROFILE=PowerShell is specified in sources file.
#
# This file is also depended on by the tool 'TypeCatalogGen.exe'. The tool tries to parse this file to get the list of reference
# assemblies used by OneCore powershell, and then use that list to generate the CSharp code for initializing the CoreCLR type
# catalog cache. That CSharp code will be compiled into 'Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll' during the build.
# For more information about 'TypeCatalogGen.exe', see its source code under 'PSAssemblyLoadContext\TypeCatalogGen'.
#
# The parsing rule of this file in 'TypeCatalogGen.exe' is very simple:
# - Read each line of this file and trim it;
# - Skip comment lines;
# - Match the line with the regular expression pattern '^\$\(PS_PROFILE_REF_PATH\)\\(.+);\s*\\$'
# So when adding new reference assembly entries, please make sure the new lines match the above pattern.
#
PROFILE_REF_PATH=$(SDK_REF_PATH)\Profiles
PS_PROFILE_REF_PATH=$(PROFILE_REF_PATH)\PowerShell
PROFILE_REFERENCES=\
$(PS_PROFILE_REF_PATH)\Microsoft.CSharp.metadata_dll; \
$(PS_PROFILE_REF_PATH)\Microsoft.Win32.Registry.metadata_dll; \
$(PS_PROFILE_REF_PATH)\Microsoft.Win32.Primitives.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.collections.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Collections.NonGeneric.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.collections.concurrent.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Collections.Specialized.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.ComponentModel.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.ComponentModel.EventBasedAsync.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.ComponentModel.TypeConverter.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.dynamic.runtime.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.globalization.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.diagnostics.debug.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Diagnostics.FileVersionInfo.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.diagnostics.tools.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Diagnostics.TraceSource.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.diagnostics.contracts.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Diagnostics.Process.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.io.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.IO.Pipes.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.io.filesystem.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.DriveInfo.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.io.filesystem.primitives.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.IO.FileSystem.Watcher.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.linq.expressions.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.linq.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.net.primitives.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.reflection.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.reflection.primitives.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.reflection.emit.lightweight.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Reflection.Emit.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.reflection.extensions.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Reflection.TypeExtensions.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.reflection.emit.ilgeneration.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.resources.resourcemanager.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.runtime.interopservices.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Runtime.Handles.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Runtime.Loader.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.runtime.numerics.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.runtime.serialization.primitives.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Xml.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.runtime.extensions.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Runtime.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.text.encoding.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Text.Encoding.Extensions.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.text.regularexpressions.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.threading.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.threading.tasks.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.threading.tasks.parallel.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.threading.timer.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.threading.thread.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.threading.threadpool.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.xml.readerwriter.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Xml.XmlDocument.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Xml.XmlSerializer.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Xml.XPath.XmlDocument.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Xml.XPath.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encoding.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.RandomNumberGenerator.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.X509Certificates.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encryption.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.security.securestring.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.security.principal.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.objectmodel.metadata_dll; \
$(PS_PROFILE_REF_PATH)\system.console.metadata_dll; \
$(PS_PROFILE_REF_PATH)\System.Net.NetworkInformation.metadata_dll;\
$(PS_PROFILE_REF_PATH)\mscorlib.metadata_dll;\

View file

@ -102,9 +102,19 @@ SYS_AUTO_SRCS_WIN=\
../../../jws/pswin/admin/monad/src/engine/MshMemberInfo.cs \
../../../jws/pswin/admin/monad/src/engine/MshObject.cs \
../../../jws/pswin/admin/monad/src/engine/TypeTable.cs \
../../../jws/pswin/admin/monad/src/engine/Types_Ps1Xml.generated.cs \
../../../jws/pswin/admin/monad/src/engine/TypesV3_Ps1Xml.generated.cs \
../../../jws/pswin/admin/monad/src/engine/GetEvent_Types_Ps1Xml.generated.cs \
../../../jws/pswin/admin/monad/src/engine/ExtendedTypeSystemException.cs \
../../../jws/pswin/admin/monad/src/engine/MshReference.cs \
../../../jws/pswin/admin/monad/src/engine/WinRT/IInspectable.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComAdapter.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComDispatch.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComInvoker.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComMethod.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComProperty.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComTypeInfo.cs \
../../../jws/pswin/admin/monad/src/engine/COM/ComUtil.cs \
../../../jws/pswin/admin/monad/src/help/CabinetAPI.cs \
../../../jws/pswin/admin/monad/src/help/CabinetNativeApi.cs \
../../../jws/pswin/admin/monad/src/help/MamlUtil.cs \
@ -300,6 +310,7 @@ SYS_AUTO_SRCS_WIN=\
../../../jws/pswin/admin/monad/src/engine/Utils.cs \
../../../jws/pswin/admin/monad/src/engine/regex.cs \
../../../jws/pswin/admin/monad/src/engine/serialization.cs \
../../../jws/pswin/admin/monad/src/CoreCLR/CorePsPlatform.cs \
../../../jws/pswin/admin/monad/src/engine/DataStoreAdapter.cs \
../../../jws/pswin/admin/monad/src/engine/DataStoreAdapterProvider.cs \
../../../jws/pswin/admin/monad/src/namespaces/ContainerProviderBase.cs \
@ -523,6 +534,8 @@ SYS_AUTO_SRCS_WIN=\
../../../jws/pswin/admin/monad/src/utils/PInvokeDllNames.cs \
../../../jws/pswin/admin/monad/src/utils/PlatformInvokes.cs \
../../../jws/pswin/admin/monad/src/utils/ClrFacade.cs \
../../../jws/pswin/admin/monad/src/utils/PSTelemetryWrapper.cs \
../../../jws/pswin/admin/monad/src/utils/PSTelemetryMethods.cs \
../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/Utilities/MshObjectUtil.cs \
../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/Utilities/Mshexpression.cs \
../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/DisplayDatabase/XmlLoaderBase.cs \
@ -667,9 +680,19 @@ SYS_AUTO_SRCS=\
$(ADMIN_GIT_ROOT)/monad/src/engine/MshMemberInfo.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/MshObject.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/TypeTable.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/Types_Ps1Xml.generated.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/TypesV3_Ps1Xml.generated.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/GetEvent_Types_Ps1Xml.generated.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/ExtendedTypeSystemException.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/MshReference.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/WinRT/IInspectable.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComAdapter.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComDispatch.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComInvoker.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComMethod.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComProperty.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComTypeInfo.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/COM/ComUtil.cs \
$(ADMIN_GIT_ROOT)/monad/src/help/CabinetAPI.cs \
$(ADMIN_GIT_ROOT)/monad/src/help/CabinetNativeApi.cs \
$(ADMIN_GIT_ROOT)/monad/src/help/MamlUtil.cs \
@ -865,6 +888,7 @@ SYS_AUTO_SRCS=\
$(ADMIN_GIT_ROOT)/monad/src/engine/Utils.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/regex.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/serialization.cs \
$(ADMIN_GIT_ROOT)/monad/src/CoreCLR/CorePsPlatform.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/DataStoreAdapter.cs \
$(ADMIN_GIT_ROOT)/monad/src/engine/DataStoreAdapterProvider.cs \
$(ADMIN_GIT_ROOT)/monad/src/namespaces/ContainerProviderBase.cs \
@ -1088,6 +1112,8 @@ SYS_AUTO_SRCS=\
$(ADMIN_GIT_ROOT)/monad/src/utils/PInvokeDllNames.cs \
$(ADMIN_GIT_ROOT)/monad/src/utils/PlatformInvokes.cs \
$(ADMIN_GIT_ROOT)/monad/src/utils/ClrFacade.cs \
$(ADMIN_GIT_ROOT)/monad/src/utils/PSTelemetryWrapper.cs \
$(ADMIN_GIT_ROOT)/monad/src/utils/PSTelemetryMethods.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/Utilities/MshObjectUtil.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/Utilities/Mshexpression.cs \
$(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/DisplayDatabase/XmlLoaderBase.cs \

View file

@ -1,9 +0,0 @@
TEST_FOLDER=../src/ps_test
TESTRUN_FOLDER=exec_env/app_base
TEST_SRCS=$(addprefix $(TEST_FOLDER)/, test_*.cs)
$(TESTRUN_FOLDER)/xunit%: $(MONAD_EXT)/xunit/xunit%
cp -f $^ $@
$(TESTRUN_FOLDER)/ps_test.dll: $(TEST_SRCS) $(addprefix $(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET))
$(CSC) -out:$@ -noconfig -nostdlib -target:library $(addprefix -r:$(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) $(COREREF) $(TEST_SRCS)

View file

@ -1,37 +0,0 @@
cmake_minimum_required(VERSION 2.8.4)
project(linux)
set(CMAKE_CXX_COMPILER /usr/bin/clang++)
# generic settings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++")
# include folders from PS for Linux
include_directories(${PROJECT_SOURCE_DIR}/stubs)
# add coreclr
# - PLATFORM_UNIX is for pal headers
# - PAL_IMPLEMENTATION is for pal headers to define required function implementations (required for coreclr)
# - __LINUX__ defines the pal headers correctly define stuff for linux
# - COM_NO_WINDOWS_H defines that coreclr headers are not used on windows
# - CORECRL required for PowerShell code to enable CoreCRL support
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPLATFORM_UNIX -DPAL_IMPLEMENTATION -D__LINUX__ -DCOM_NO_WINDOWS_H -DCORECLR")
include_directories(${PROJECT_SOURCE_DIR}/../coreclr/src/pal/inc)
#include_directories(${PROJECT_SOURCE_DIR}/../coreclr/src/pal/prebuilt/inc)
# include folders from PS
include_directories(${PROJECT_SOURCE_DIR}/../monad/monad/nttargets/assemblies/nativemsh/pwrshcommon)
set(SOURCE_FILES main.cpp
test/test_pal.cpp
#../monad/monad/nttargets/assemblies/nativemsh/pwrshexe/CssMainEntry.cpp
)
add_executable(linux ${SOURCE_FILES})
# add cppunit
include_directories(${PROJECT_SOURCE_DIR}/../../externals/cppunit/include)
find_library(LIB_CPPUNIT cppunit ${PROJECT_SOURCE_DIR}/../../externals/cppunit/lib)
target_link_libraries(linux ${LIB_CPPUNIT})
message(STATUS "cppunit lib: ${LIB_CPPUNIT}")

View file

@ -1,38 +0,0 @@
#include <iostream>
#include <cppunit/BriefTestProgressListener.h>
#include <cppunit/CompilerOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/TestResult.h>
#include <cppunit/TestResultCollector.h>
#include <cppunit/TestRunner.h>
int runTests()
{
// Create the event manager and test controller
CPPUNIT_NS::TestResult controller;
// Add a listener that collects test result
CPPUNIT_NS::TestResultCollector result;
controller.addListener(&result);
// Add a listener that prints status update dots while the tests run
CPPUNIT_NS::BriefTestProgressListener progress;
controller.addListener(&progress);
// Add the top suite to the test runner
CPPUNIT_NS::TestRunner runner;
runner.addTest(CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest());
runner.run(controller);
// Print test in a compiler compatible format.
CPPUNIT_NS::CompilerOutputter outputter(&result,CPPUNIT_NS::stdCOut());
outputter.write();
return result.wasSuccessful() ? 0 : 1;
}
int main(int, char**) {
std::cout << "Hello, World!" << std::endl;
return runTests();
}

View file

@ -1,17 +0,0 @@
// pal.h will provide everything windows.h otherwise would
#include "pal.h"
#include "rt/palrt.h"
// SAL annotations
#define _In_
#define _Reserved_
#define _Out_
#define _In_opt_
#define __deref_out_opt
#define __deref_out_ecount(COUNT)
#define __inout_ecount(COUNT)
#define __out_ecount(COUNT)
#define _Success_(VALUE)
#define _In_z_

View file

@ -1,175 +0,0 @@
#pragma once
#include "pal.h"
#include "rt/palrt.h"
//!
//! This header pulls in actual items from the original mscoree.h and also
//! defines stub classes and functions.
//!
typedef /* [public][public] */
enum __MIDL___MIDL_itf_mscoree_0000_0000_0002
{
STARTUP_CONCURRENT_GC = 0x1,
STARTUP_LOADER_OPTIMIZATION_MASK = ( 0x3 << 1 ) ,
STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN = ( 0x1 << 1 ) ,
STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN = ( 0x2 << 1 ) ,
STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST = ( 0x3 << 1 ) ,
STARTUP_LOADER_SAFEMODE = 0x10,
STARTUP_LOADER_SETPREFERENCE = 0x100,
STARTUP_SERVER_GC = 0x1000,
STARTUP_HOARD_GC_VM = 0x2000,
STARTUP_SINGLE_VERSION_HOSTING_INTERFACE = 0x4000,
STARTUP_LEGACY_IMPERSONATION = 0x10000,
STARTUP_DISABLE_COMMITTHREADSTACK = 0x20000,
STARTUP_ALWAYSFLOW_IMPERSONATION = 0x40000,
STARTUP_TRIM_GC_COMMIT = 0x80000,
STARTUP_ETW = 0x100000,
STARTUP_ARM = 0x400000,
STARTUP_SINGLE_APPDOMAIN = 0x800000,
STARTUP_APPX_APP_MODEL = 0x1000000,
STARTUP_DISABLE_RANDOMIZED_STRING_HASHING = 0x2000000
} STARTUP_FLAGS;
// other datatypes
typedef HRESULT ( __stdcall *FExecuteInAppDomainCallback )(
void *cookie);
// interfaces
class IUnknown
{
public:
ULONG AddRef()
{
return 0;
}
ULONG Release()
{
return 0;
}
HRESULT QueryInterface(
REFIID riid,
void **ppvObject
)
{
return S_OK;
}
};
struct IActivationFactory
{};
class IHostControl : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetHostManager(
/* [in] */ REFIID riid,
/* [out] */ void **ppObject) = 0;
virtual HRESULT STDMETHODCALLTYPE SetAppDomainManager(
/* [in] */ DWORD dwAppDomainID,
/* [in] */ IUnknown *pUnkAppDomainManager) = 0;
};
class ICLRControl : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetCLRManager(
/* [in] */ REFIID riid,
/* [out] */ void **ppObject) = 0;
virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType(
/* [in] */ LPCWSTR pwzAppDomainManagerAssembly,
/* [in] */ LPCWSTR pwzAppDomainManagerType) = 0;
};
class ICLRRuntimeHost : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
virtual HRESULT STDMETHODCALLTYPE SetHostControl(
/* [in] */ IHostControl *pHostControl) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCLRControl(
/* [out] */ ICLRControl **pCLRControl) = 0;
virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain(
/* [in] */ DWORD dwAppDomainId,
/* [in] */ BOOL fWaitUntilDone) = 0;
virtual HRESULT STDMETHODCALLTYPE ExecuteInAppDomain(
/* [in] */ DWORD dwAppDomainId,
/* [in] */ FExecuteInAppDomainCallback pCallback,
/* [in] */ void *cookie) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCurrentAppDomainId(
/* [out] */ DWORD *pdwAppDomainId) = 0;
virtual HRESULT STDMETHODCALLTYPE ExecuteApplication(
/* [in] */ LPCWSTR pwzAppFullName,
/* [in] */ DWORD dwManifestPaths,
/* [in] */ LPCWSTR *ppwzManifestPaths,
/* [in] */ DWORD dwActivationData,
/* [in] */ LPCWSTR *ppwzActivationData,
/* [out] */ int *pReturnValue) = 0;
virtual HRESULT STDMETHODCALLTYPE ExecuteInDefaultAppDomain(
/* [in] */ LPCWSTR pwzAssemblyPath,
/* [in] */ LPCWSTR pwzTypeName,
/* [in] */ LPCWSTR pwzMethodName,
/* [in] */ LPCWSTR pwzArgument,
/* [out] */ DWORD *pReturnValue) = 0;
};
class ICLRRuntimeHost2 : public ICLRRuntimeHost
{
public:
virtual HRESULT STDMETHODCALLTYPE CreateAppDomainWithManager(
/* [in] */ LPCWSTR wszFriendlyName,
/* [in] */ DWORD dwFlags,
/* [in] */ LPCWSTR wszAppDomainManagerAssemblyName,
/* [in] */ LPCWSTR wszAppDomainManagerTypeName,
/* [in] */ int nProperties,
/* [in] */ LPCWSTR *pPropertyNames,
/* [in] */ LPCWSTR *pPropertyValues,
/* [out] */ DWORD *pAppDomainID) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDelegate(
/* [in] */ DWORD appDomainID,
/* [in] */ LPCWSTR wszAssemblyName,
/* [in] */ LPCWSTR wszClassName,
/* [in] */ LPCWSTR wszMethodName,
/* [out] */ INT_PTR *fnPtr) = 0;
virtual HRESULT STDMETHODCALLTYPE Authenticate(
/* [in] */ ULONGLONG authKey) = 0;
virtual HRESULT STDMETHODCALLTYPE RegisterMacEHPort( void) = 0;
virtual HRESULT STDMETHODCALLTYPE SetStartupFlags(
/* [in] */ STARTUP_FLAGS dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE DllGetActivationFactory(
/* [in] */ DWORD appDomainID,
/* [in] */ LPCWSTR wszTypeName,
/* [out] */ IActivationFactory **factory) = 0;
virtual HRESULT STDMETHODCALLTYPE ExecuteAssembly(
/* [in] */ DWORD dwAppDomainId,
/* [in] */ LPCWSTR pwzAssemblyPath,
/* [in] */ int argc,
/* [in] */ LPCWSTR *argv,
/* [out] */ DWORD *pReturnValue) = 0;
};

View file

View file

@ -1,10 +0,0 @@
#pragma once
#include "pal.h"
DWORD WINAPI ExpandEnvironmentStringsW(
PCWSTR lpSrc,
PWSTR lpDst,
DWORD nSize
);

View file

@ -1,89 +0,0 @@
#include "pal.h"
#include "test_pal.h"
// pull in some more headers
#include "NativeMshConstants.h"
#include "ClrHostWrapper.h"
#include "IPwrshCommonOutput.h"
#include "ConfigFileReader.h"
#include "NativeMsh.h"
#include "SystemCallFacade.h"
#include "WinSystemCallFacade.h"
namespace Microsoft {
CPPUNIT_TEST_SUITE_REGISTRATION(PalTestSuite);
// this unit test is used to test if stuff from different headers was pulled in correctly
// this is for porting compatbility tests, not really functional tests
void PalTestSuite::testHeaders() {
// check NativeMshConstants.h
CPPUNIT_ASSERT_EQUAL(NativeMsh::g_MISSING_COMMAND_LINE_ARGUMENT,1);
// check ClrHostWrapper.h
NativeMsh::ICLRRuntimeHost2Wrapper clrHostWrapper;
}
void PalTestSuite::testDatatypes() {
// check basic pointer lengths
CPPUNIT_ASSERT_EQUAL(sizeof(void*), sizeof(PVOID));
// windows datatypes
CPPUNIT_ASSERT_EQUAL(sizeof(WORD),(std::size_t)2);
CPPUNIT_ASSERT_EQUAL(sizeof(DWORD),(std::size_t)4);
CPPUNIT_ASSERT_EQUAL(sizeof(HANDLE),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HWND),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HMODULE),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HINSTANCE),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HGLOBAL),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HLOCAL),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HRSRC),sizeof(void*));
CPPUNIT_ASSERT_EQUAL(sizeof(HRESULT),sizeof(LONG));
CPPUNIT_ASSERT_EQUAL(sizeof(NTSTATUS),sizeof(LONG));
// windows integer datatypes
CPPUNIT_ASSERT_EQUAL(sizeof(INT),(std::size_t)4);
CPPUNIT_ASSERT_EQUAL(sizeof(INT8),(std::size_t)1);
CPPUNIT_ASSERT_EQUAL(sizeof(INT16),(std::size_t)2);
CPPUNIT_ASSERT_EQUAL(sizeof(INT32),(std::size_t)4);
CPPUNIT_ASSERT_EQUAL(sizeof(INT64),(std::size_t)8);
CPPUNIT_ASSERT_EQUAL(sizeof(UINT),(std::size_t)4);
CPPUNIT_ASSERT_EQUAL(sizeof(UINT8),(std::size_t)1);
CPPUNIT_ASSERT_EQUAL(sizeof(UINT16),(std::size_t)2);
CPPUNIT_ASSERT_EQUAL(sizeof(UINT32),(std::size_t)4);
CPPUNIT_ASSERT_EQUAL(sizeof(UINT64),(std::size_t)8);
// windows integer max and min size constants
CPPUNIT_ASSERT_EQUAL(CHAR_BIT,8);
CPPUNIT_ASSERT_EQUAL(SCHAR_MIN,-127-1);
CPPUNIT_ASSERT_EQUAL(SCHAR_MAX,127);
CPPUNIT_ASSERT_EQUAL(UCHAR_MAX,0xff);
CPPUNIT_ASSERT_EQUAL(SHRT_MIN,-32767-1);
CPPUNIT_ASSERT_EQUAL(SHRT_MAX,32767);
CPPUNIT_ASSERT_EQUAL(USHRT_MAX,0xffff);
CPPUNIT_ASSERT_EQUAL(INT_MIN,-2147483647-1);
CPPUNIT_ASSERT_EQUAL(INT_MAX,2147483647);
CPPUNIT_ASSERT_EQUAL(UINT_MAX,0xffffffff);
// TODO: these are part of limits.h and will never fit windows values
// CPPUNIT_ASSERT_EQUAL(LONG_MIN,-2147483647L-1);
// CPPUNIT_ASSERT_EQUAL(LONG_MAX,2147483647L);
// CPPUNIT_ASSERT_EQUAL(ULONG_MAX,0xffffffffUL);
CPPUNIT_ASSERT_EQUAL(MAXSHORT,0x7fff);
CPPUNIT_ASSERT_EQUAL(MAXLONG,0x7fffffff);
CPPUNIT_ASSERT_EQUAL(MAXCHAR,0x7f);
CPPUNIT_ASSERT_EQUAL(MAXDWORD,0xffffffff);
// character data types
CPPUNIT_ASSERT_EQUAL(sizeof(CHAR),(std::size_t)1);
CPPUNIT_ASSERT_EQUAL(sizeof(TCHAR),(std::size_t)1);
}
}

View file

@ -1,17 +0,0 @@
#include <cppunit/extensions/HelperMacros.h>
namespace Microsoft {
class PalTestSuite : public CPPUNIT_NS::TestFixture {
CPPUNIT_TEST_SUITE(PalTestSuite);
CPPUNIT_TEST(testHeaders);
CPPUNIT_TEST(testDatatypes);
CPPUNIT_TEST_SUITE_END();
public:
void testHeaders();
void testDatatypes();
};
}

@ -1 +1 @@
Subproject commit 9aecfb12f69d91908812751e1b69d7c5c8098e07
Subproject commit a4db8beb6ee35b667351ada3cdc6766fa5407dc7

@ -1 +1 @@
Subproject commit ea31eca6223992fa9729af67518930b6b45829d3
Subproject commit 8b2027617092bc93c4f2977b218145e9b93ec3f3

@ -1 +1 @@
Subproject commit 5693da6a46e8c4d63a49a6dbc6be3081ce7d0d08
Subproject commit d1de7e28c52a87a0804b76445a07b1d122417436

View file

@ -0,0 +1,99 @@
function Clean-State
{
if (Test-Path $FullyQualifiedFile)
{
Remove-Item $FullyQualifiedFile -Force
}
if (Test-Path $FullyQualifiedFolder)
{
Remove-Item $FullyQualifiedFolder -Recurse -Force
}
}
Describe "Test-New-Item" {
$tmpDirectory = "/tmp"
$testfile = "testfile.txt"
$testfolder = "newDirectory"
$FullyQualifiedFile = $tmpDirectory + "/" + $testfile
$FullyQualifiedFolder = $tmpDirectory + "/" + $testfolder
BeforeEach {
Clean-State
}
It "should call the function without error" {
{ New-Item -Name $testfile -Path $tmpDirectory -ItemType file } | Should Not Throw
}
It "Should create a file without error" {
New-Item -Name $testfile -Path $tmpDirectory -ItemType file
Test-Path $FullyQualifiedFile | Should Be $true
}
It "Should create a folder without an error" {
New-Item -Name newDirectory -Path $tmpDirectory -ItemType directory
Test-Path $FullyQualifiedFolder | Should Be $true
}
It "Should create a file using the ni alias" {
ni -Name $testfile -Path $tmpDirectory -ItemType file
Test-Path $FullyQualifiedFile | Should Be $true
}
It "Should create a file using the Type alias instead of ItemType" {
New-Item -Name $testfile -Path $tmpDirectory -Type file
Test-Path $FullyQualifiedFile | Should Be $true
}
It "Should create a file with sample text inside the file using the Value switch" {
$expected = "This is test string"
New-Item -Name $testfile -Path $tmpDirectory -ItemType file -Value $expected
Test-Path $FullyQualifiedFile | Should Be $true
Get-Content $FullyQualifiedFile | Should Be $expected
}
It "Should not create a file when the Name switch is not used and only a directory specified" {
#errorAction used because permissions issue in windows
New-Item -Path $tmpDirectory -ItemType file -ErrorAction SilentlyContinue
Test-Path $FullyQualifiedFile | Should Be $false
}
It "Should create a file when the Name switch is not used but a fully qualified path is specified" {
New-Item -Path $FullyQualifiedFile -ItemType file
Test-Path $FullyQualifiedFile | Should Be $true
}
It "Should be able to create a multiple items in different directories" {
$FullyQualifiedFile2 = $tmpDirectory + "/" + "test2.txt"
New-Item -ItemType file -Path $FullyQualifiedFile, $FullyQualifiedFile2
Test-Path $FullyQualifiedFile | Should Be $true
Test-Path $FullyQualifiedFile2 | Should Be $true
Remove-Item $FullyQualifiedFile2
}
It "Should be able to call the whatif switch without error" {
{ New-Item -Name testfile.txt -Path /tmp -ItemType file -WhatIf } | Should Not Throw
}
It "Should not create a new file when the whatif switch is used" {
New-Item -Name $testfile -Path $tmpDirectory -ItemType file -WhatIf
Test-Path $FullyQualifiedFile | Should Be $false
}
It "Should produce an error when the credentials switch is thrown" {
{ New-Item -Name $testfile -Path $tmpDirectory -ItemType file -Credential domain/USER } | Should Throw "not implemented"
}
}

View file

@ -0,0 +1,111 @@
Describe "Test-Out-File" {
$expectedContent = "some test text"
$inputObject = New-Object psobject -Property @{text=$expectedContent}
$testfile = "/tmp/outfileTest.txt"
AfterEach {
Remove-Item -Path $testfile -Force
}
It "Should be able to be called without error" {
{ Out-File -FilePath $testfile } | Should Not Throw
}
It "Should be able to accept string input via piping" {
{ $expectedContent | Out-File -FilePath $testfile } | Should Not Throw
$actual = Get-Content $testfile
$actual | Should Be $expectedContent
}
It "Should be able to accept string input via the InputObject swictch" {
{ Out-File -FilePath $testfile -InputObject $expectedContent } | Should Not Throw
$actual = Get-Content $testfile
$actual | Should Be $expectedContent
}
It "Should be able to accept object input" {
{ $inputObject | Out-File -FilePath $testfile } | Should Not Throw
{ Out-File -FilePath $testfile -InputObject $inputObject } | Should Not Throw
}
It "Should not overwrite when the noclobber switch is used" {
Out-File -FilePath $testfile -InputObject $inputObject
{ Out-File -FilePath $testfile -InputObject $inputObject -NoClobber -ErrorAction SilentlyContinue } | Should Throw "already exists."
{ Out-File -FilePath $testfile -InputObject $inputObject -NoOverWrite -ErrorAction SilentlyContinue } | Should Throw "already exists."
$actual = Get-Content $testfile
$actual[0] | Should Be ""
$actual[1] | Should Match "text"
$actual[2] | Should Match "----"
$actual[3] | Should Match "some test text"
}
It "Should Append a new line when the append switch is used" {
{ Out-File -FilePath $testfile -InputObject $inputObject } | Should Not Throw
{ Out-File -FilePath $testfile -InputObject $inputObject -Append } | Should Not Throw
$actual = Get-Content $testfile
$actual[0] | Should Be ""
$actual[1] | Should Match "text"
$actual[2] | Should Match "----"
$actual[3] | Should Match "some test text"
$actual[4] | Should Be ""
$actual[5] | Should Be ""
$actual[6] | Should Be ""
$actual[7] | Should Match "text"
$actual[8] | Should Match "----"
$actual[9] | Should Match "some test text"
$actual[10] | Should Be ""
$actual[11] | Should Be ""
}
It "Should limit each line to the specified number of characters when the width switch is used on objects" {
Out-File -FilePath $testfile -Width 10 -InputObject $inputObject
$actual = Get-Content $testfile
$actual[0] | Should Be ""
$actual[1] | Should Be "text "
$actual[2] | Should Be "---- "
$actual[3] | Should Be "some te..."
}
It "Should allow the cmdlet to overwrite an existing read-only file" {
# create a read-only text file
{ Out-File -FilePath $testfile -InputObject $inputObject } | Should Not Throw
Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $true
# write information to the RO file
{ Out-File -FilePath $testfile -InputObject $inputObject -Append -Force } | Should Not Throw
$actual = Get-Content $testfile
$actual[0] | Should Be ""
$actual[1] | Should Match "text"
$actual[2] | Should Match "----"
$actual[3] | Should Match "some test text"
$actual[4] | Should Be ""
$actual[5] | Should Be ""
$actual[6] | Should Be ""
$actual[7] | Should Match "text"
$actual[8] | Should Match "----"
$actual[9] | Should Match "some test text"
$actual[10] | Should Be ""
$actual[11] | Should Be ""
# reset to not read only so it can be deleted
Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $false
}
}

View file

@ -0,0 +1,114 @@
Describe "Test-Test-Path" {
$testdirectory = "/usr/bin"
$testfilename = "vi" # use /usr/bin/vi since that's bundled with all linux
$testfile = $testdirectory + "/" + $testfilename
It "Should be called on an existing path without error" {
{ Test-Path $testdirectory } | Should Not Throw
{ Test-Path -Path $testdirectory } | Should Not Throw
{ Test-Path -LiteralPath $testdirectory } | Should Not Throw
}
It "Should allow piping objects to it" {
{ $testdirectory | Test-Path } | Should Not Throw
$testdirectory | Test-Path | Should Be $true
"/usr/bin/totallyFakeDirectory" | Test-Path | Should Be $false
}
It "Should return a boolean data type" {
{ Test-Path -Path $testdirectory } | Should Be $true
}
It "Should be called on a nonexistant path without error" {
{ Test-Path -Path "aNonexistant/path/that/should/error" } | Should Not Throw
}
It "Should return false for a nonexistant path" {
Test-Path -Path "aNonexistant/path/that/should/error" | Should Be $false
}
It "Should return true for an existing path" {
Test-Path -Path $testdirectory | Should Be $true
}
It "Should be able to accept a regular expression" {
{ Test-Path -Path "/u*" } | Should Not Throw
{ Test-Path -Path "/u[a-z]r" } | Should Not Throw
}
It "Should be able to return the correct result when a regular expression is used" {
Test-Path -Path "/u*" | Should Be $true
Test-Path -Path "/u[a-z]*" | Should Be $true
Test-Path -Path "/aoeu*" | Should Be $false
Test-Path -Path "/u[A-Z]" | Should Be $false
}
It "Should return false when the Leaf pathtype is used on a directory" {
Test-Path -Path $testdirectory -PathType Leaf | Should Be $false
}
It "Should return true when the Leaf pathtype is used on an existing endpoint" {
Test-Path -Path $testfile -PathType Leaf | Should Be $true
}
It "Should return false when the Leaf pathtype is used on a nonexistant file" {
Test-Path -Path "aoeu" -PathType Leaf | Should Be $false
}
It "Should return true when the Leaf pathtype is used on a file using the Type alias instead of PathType" {
Test-Path -Path $testfile -Type Leaf | Should Be $true
}
It "Should be able to search multiple regular expressions using the include switch" {
Test-Path -Path "/usr/bin/*" -Include vi* | Should Be $true
}
It "Should be able to exclude a regular expression using the exclude switch" {
Test-Path -Path "/usr/bin/" -Exclude vi* | Should Be $true
}
It "Should be able to exclude multiple regular expressions using the exclude switch" {
# tests whether there's any files in the /usr directory that don't start with 'd' or 'g'
Test-Path -Path "/usr" -Exclude d*, g* | Should Be $true
}
It "Should return true if the syntax of the path is correct when using the IsValid switch" {
Test-Path -Path /this/is/a/valid/path -IsValid | Should Be $true
}
It "Should return false if the syntax of the path is incorrect when using the IsValid switch" {
Test-Path -Path C:/usr/bin -IsValid | Should Be $false
}
It "Should return true on paths containing spaces when the path is surrounded in quotes" {
Test-Path -Path "/totally a valid/path" -IsValid | Should Be $true
}
It "Should throw on paths containing spaces when the path is not surrounded in quotes" {
{ Test-Path -Path /a path/without quotes/around/it -IsValid } | Should Throw
}
It "Should return true if a directory leads or trails with a space when surrounded by quotes" {
Test-Path -Path "/a path / with/funkyspaces" -IsValid | Should Be $true
}
It "Should return true on a valid path when the LiteralPath switch is used" {
Test-Path -LiteralPath "/usr/bin" | Should Be $true
}
It "Should return false if regular expressions are used with the LiteralPath switch" {
Test-Path -LiteralPath /*sr/bin | Should Be $false
Test-Path -LiteralPath /[usth]sr/bin | Should Be $false
}
It "Should return false if regular expressions are used with the LiteralPath alias PSPath switch" {
Test-Path -PSPath /*sr/bin | Should Be $false
Test-Path -PSPath /[aoeu]sr/bin | Should Be $false
}
It "Should return true if used on components other than filesystem objects" {
Test-Path Alias:\gci | Should Be $true
Test-Path Env:\HOSTNAME | Should Be $true
}
}