Merge pull request 151 from dev/248-cleanup into develop

This commit is contained in:
Andy Schwartzmeyer 2015-09-21 18:21:01 +00:00
commit 503dec41dc
33 changed files with 61 additions and 3595 deletions

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,7 +85,7 @@ 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
@ -130,12 +122,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 +145,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 +166,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
# clean built stuff + prepare step
cleanall: clean

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,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 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);
}
}
}

View file

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

View file

@ -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))

View file

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

View file

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

View file

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

View file

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

View file

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

View file

View file

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

View file

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

View file

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