Merge branch 'develop' into dev/188-get-content-add-tests

This commit is contained in:
Andrew Schwartzmeyer
2015-10-01 20:30:54 -07:00
56 changed files with 504 additions and 3848 deletions
+3
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
+74 -56
View File
@@ -1,27 +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
# 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)
@@ -43,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 /nowarn:CS1701,CS1702
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) $(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) ../src/assembly-info/System.Management.Automation.assembly-info.cs
$(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
@@ -93,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
@@ -130,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
#
@@ -149,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/
@@ -170,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
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
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 "$*"
+3 -7
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 "$*"
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
@@ -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);
}
}
}
+6
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 \
-10
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))
CORECLR_ASSEMBLY_BASE=$(MONAD_EXT)/coreclr/Release
# COREREF_2 is here for dev/testing purposes, it should not be used anywhere (instead use the reference assemblies stored in COREREF)
COREREF_2=$(addprefix -r:, $(shell ls $(CORECLR_ASSEMBLY_BASE)/*.dll))
@@ -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.
@@ -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 {
+9
View File
@@ -764,6 +764,15 @@ 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>
Binary file not shown.
+27
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>
@@ -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>
@@ -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>
Binary file not shown.
@@ -1001,15 +1001,6 @@ internal class RemotingErrorIdStrings {
}
}
/// <summary>
/// Looks up a localized string similar to Role Capabilities to apply to this session configuration. This role capability must be defined as a PowerShell Role Capability (.psrc) file named after that role capability within a &apos;RoleCapabilities&apos; directory in a module in the current module path..
/// </summary>
internal static string DISCRoleCapabilitiesToLoadComment {
get {
return ResourceManager.GetString("DISCRoleCapabilitiesToLoadComment", resourceCulture);
}
}
/// <summary>
/// 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>
@@ -1028,6 +1019,15 @@ internal class RemotingErrorIdStrings {
}
}
/// <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>
@@ -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>
Binary file not shown.
-136
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;\
-86
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;\
-9
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)
-37
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}")
-38
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();
}
-17
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_
-175
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
-10
View File
@@ -1,10 +0,0 @@
#pragma once
#include "pal.h"
DWORD WINAPI ExpandEnvironmentStringsW(
PCWSTR lpSrc,
PWSTR lpDst,
DWORD nSize
);
-89
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);
}
}
-17
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();
};
}
@@ -0,0 +1,82 @@
Describe "Test-Get-Random" {
It "Should return a random number greater than -1 " {
Get-Random | Should BeGreaterThan -1
}
It "Should return a random number less than 100 " {
Get-Random -Maximum 100 | Should BeLessThan 100
Get-Random -Maximum 100 | Should BeGreaterThan 0
}
It "Should return a random number less than 100 and greater than -100 " {
$randomNumber = Get-Random -Minimum -100 -Maximum 100
$randomNumber | Should BeLessThan 100
$randomNumber | Should BeGreaterThan -100
}
It "Should return a random number less than 20.93 and greater than 10.7 " {
$randomNumber = Get-Random -Minimum 10.7 -Maximum 20.93
$randomNumber | Should BeLessThan 20.93
$randomNumber | Should BeGreaterThan 10.7
}
It "Should return same number for both Get-Random when switch SetSeed is used " {
$firstRandomNumber = Get-Random -Maximum 100 -SetSeed 23
$secondRandomNumber = Get-Random -Maximum 100 -SetSeed 23
$firstRandomNumber | Should be $secondRandomNumber
}
It "Should return a number from 1,2,3,5,8,13 " {
$randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13
$randomNumber | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
}
It "Should return an array " {
$randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 -Count 3
$randomNumber.GetType().BaseType | Should Be array
}
It "Should return three random numbers for array of 1,2,3,5,8,13 " {
$randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 -Count 3
$randomNumber[0] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[1] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[2] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[3] | Should BeNullOrEmpty
}
It "Should return all the numbers for array of 1,2,3,5,8,13 in no particular order" {
$randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 -Count ([int]::MaxValue)
$randomNumber[0] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[1] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[2] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[3] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[4] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[5] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13)
$randomNumber[6] | Should BeNullOrEmpty
}
It "Should return for a string collection " {
$randomNumber = Get-Random -InputObject "red", "yellow", "blue"
$randomNumber | Should Be ("red" -or "yellow" -or "blue")
}
It "Should return a number for hexdecimal " {
$randomNumber = Get-Random 0x07FFFFFFFFF
$randomNumber | Should BeLessThan 549755813887
$randomNumber | Should BeGreaterThan 0
}
It "Should return false, check two random numbers are not equal when not using the SetSeed switch " {
$firstRandomNumber = Get-Random
$secondRandomNumber = Get-Random
$firstRandomNumber | Should Not Be $secondRandomNumber
}
It "Should return the same number for hexidemical number and regular number when the switch SetSeed it used " {
$firstRandomNumber = Get-Random 0x07FFFFFFFF -SetSeed 20
$secondRandomNumber = Get-Random 34359738367 -SetSeed 20
$firstRandomNumber | Should Be @secondRandomNumber
}
It "Should throw an error because the hexidecial number is to large " {
{ Get-Random 0x07FFFFFFFFFFFFFFFF } | Should Throw "Value was either too large or too small for a UInt32"
}
}
@@ -0,0 +1,173 @@
Describe "Test-Select-String" {
Context "String actions" {
$testinputone = "hello","Hello","goodbye"
$testinputtwo = "hello","Hello"
it "Should be called without errors" {
{ $testinputone | Select-String -Pattern "hello" } | Should Not Throw
}
it "Should be called without error using the sls alias" {
{ $testinputone | sls -Pattern "hello" } | Should Not Throw
}
it "Should return an array data type when multiple matches are found" {
( $testinputtwo | Select-String -Pattern "hello").gettype().basetype | Should Be Array
}
it "Should return the same result for the alias sls and Select-String " {
$firstMatch = $testinputone | Select-String -Pattern "hello"
$secondMatch = $testinputone | sls -Pattern "hello"
$equal = @(compare-object $firstMatch $secondMatch).Length -eq 0
$equal | Should Be True
}
it "Should return an object type when one match is found" {
( $testinputtwo | Select-String -Pattern "hello" -CaseSensitive).gettype().basetype | Should Be System.Object
}
it "Should return matchinfo type" {
( $testinputtwo | Select-String -Pattern "hello" -CaseSensitive).gettype().name | Should Be MatchInfo
}
it "Should be called without an error using ca for casesensitive " {
{$testinputone | Select-String -Pattern "hello" -ca } | Should Not Throw
}
it "Should use the ca alias for casesenstive" {
$firstMatch = $testinputtwo | Select-String -Pattern "hello" -CaseSensitive
$secondMatch = $testinputtwo | Select-String -Pattern "hello" -ca
$equal = @(Compare-Object $firstMatch $secondMatch).Length -eq 0
$equal | Should Be True
}
it "Should only return the case sensitive match when the casesensitive switch is used" {
$testinputtwo | Select-String -Pattern "hello" -CaseSensitive | Should Be "hello"
}
it "Should accept a collection of strings from the input object" {
{ Select-String -InputObject "some stuff", "other stuff" -Pattern "other" } | Should Not Throw
}
it "Should return system.object when the input object switch is used on a collection" {
( Select-String -InputObject "some stuff", "other stuff" -pattern "other" ).gettype().basetype | Should Be System.Object
}
it "Should return null or empty when the input object switch is used on a collection and the pattern does not exist" {
Select-String -InputObject "some stuff", "other stuff" -Pattern "neither" | Should BeNullOrEmpty
}
it "Should return a bool type when the quiet switch is used" {
($testinputtwo | Select-String -Quiet "hello" -CaseSensitive).gettype() | Should Be Bool
}
it "Should be true when select string returns a positive result when the quiet switch is used" {
($testinputtwo | Select-String -Quiet "hello" -CaseSensitive) | Should Be $True
}
it "Should be empty when select string does not return a result when the quiet switch is used" {
$testinputtwo | Select-String -Quiet "goodbye" | Should BeNullOrEmpty
}
it "Should return an array of non matching strings when the switch of NotMatch is used and the string do not match" {
$testinputone | Select-String -Pattern "goodbye" -NotMatch | Should Be "hello", "hello"
}
it "Should return the same as NotMatch" {
$firstMatch = $testinputone | Select-String -pattern "goodbye" -NotMatch
$secondMatch = $testinputone | Select-String -pattern "goodbye" -n
$equal = @(Compare-Object $firstMatch $secondMatch).Length -eq 0
$equal | Should Be True
}
}
Context "Filesytem actions" {
$testInputFile = "/tmp/testfile1.txt"
BeforeEach {
New-Item $testInputFile -Itemtype "file" -Force -Value "This is a text string, and another string`nThis is the second line`nThis is the third line`nThis is the fourth line`nNo matches"
}
It "Should return an object when a match is found is the file on only one line" {
(Select-String $testInputFile -Pattern "string").GetType().BaseType | Should be System.Object
}
It "Should return an array when a match is found is the file on several lines" {
(Select-String $testInputFile -Pattern "in").GetType().BaseType | Should be array
(Select-String $testInputFile -Pattern "in")[0].GetType().Name | Should Be MatchInfo
}
It "Should return the name of the file and the string that 'string' is found if there is only one lines that has a match" {
$expected = $testInputFile + ":1:This is a text string, and another string"
Select-String $testInputFile -Pattern "string" | Should Be $expected
}
It "Should return all strings where 'second' is found in testfile1 if there is only one lines that has a match" {
$expected = $testInputFile + ":2:This is the second line"
Select-String $testInputFile -Pattern "second"| Should Be $expected
}
It "Should return all strings where 'in' is found in testfile1 pattern switch is not required" {
$expected1 = "This is a text string, and another string"
$expected2 = "This is the second line"
$expected3 = "This is the third line"
$expected4 = "This is the fourth line"
(Select-String in $testInputFile)[0].Line | Should Be $expected1
(Select-String in $testInputFile)[1].Line | Should Be $expected2
(Select-String in $testInputFile)[2].Line | Should Be $expected3
(Select-String in $testInputFile)[3].Line | Should Be $expected4
(Select-String in $testInputFile)[4].Line | Should BeNullOrEmpty
}
It "Should return empty because 'for' is not found in testfile1 " {
Select-String for $testInputFile | Should BeNullOrEmpty
}
It "Should return the third line in testfile1 and the lines above and below it " {
$expectedLine = "testfile1.txt:2:This is the second line"
$expectedLineBefore = "testfile1.txt:3:This is the third line"
$expectedLineAfter = "/tmp/testfile1.txt:4:This is the fourth line"
Select-String third $testInputFile -Context 1 | Should Match $expectedLine
Select-String third $testInputFile -Context 1 | Should Match $expectedLineBefore
Select-String third $testInputFile -Context 1 | Should Match $expectedLineAfter
}
It "Should return the number of matches for 'is' in textfile1 " {
(Select-String is $testInputFile -CaseSensitive).count| Should Be 4
}
It "Should return the third line in testfile1 when a relative path is used" {
$expected = "/tmp/testfile1.txt:3:This is the third line"
Select-String third /tmp/../tmp/testfile1.txt | Should Match $expected
}
It "Should return the fourth line in testfile1 when a relative path is used" {
$testDirectory = "/tmp/"
$expected = "/tmp/testfile1.txt:5:No matches"
pushd $testDirectory
Select-String matches $testDirectory/testfile1.txt | Should Match $expected
popd
}
It "Should return the fourth line in testfile1 when a regular expression is used" {
$expected = "/tmp/testfile1.txt:5:No matches"
Select-String 'matc*' $testInputFile -CaseSensitive | Should Match $expected
}
It "Should return the fourth line in testfile1 when a regular expression is used, using the alias for casesensitive" {
$expected = "/tmp/testfile1.txt:5:No matches"
Select-String 'matc*' $testInputFile -ca | Should Match $expected
}
}
}