From: Daniel C. \(kzu\) <dca...@us...> - 2004-12-18 05:11:57
|
Update of /cvsroot/mvp-xml/Design/v1/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6940/v1/src Modified Files: AssemblyInfo.cs Design.csproj Design.sln SR.cs SR.resx Log Message: Index: Design.csproj =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/Design.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Design.csproj 21 Oct 2004 20:51:56 -0000 1.2 +++ Design.csproj 18 Dec 2004 05:11:45 -0000 1.3 @@ -175,6 +175,21 @@ BuildAction = "Compile" /> <File + RelPath = "CustomTools\ResX\ResX2Cs.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "CustomTools\ResX\ResX2CsConstants.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "CustomTools\ResX\ResXTool.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "CustomTools\XGen\ClassPicker.cs" SubType = "Form" BuildAction = "Compile" Index: Design.sln =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/Design.sln,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Design.sln 21 Oct 2004 21:04:10 -0000 1.3 +++ Design.sln 18 Dec 2004 05:11:45 -0000 1.4 @@ -7,7 +7,7 @@ ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Design.Tests", "..\Design.Tests\Design.Tests.csproj", "{4C7101B3-6736-46B1-B1AD-9FE4E2F685D5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Design.Tests", "..\tests\Design.Tests.csproj", "{4C7101B3-6736-46B1-B1AD-9FE4E2F685D5}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Index: SR.cs =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/SR.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SR.cs 21 Oct 2004 20:51:56 -0000 1.2 +++ SR.cs 18 Dec 2004 05:11:45 -0000 1.3 @@ -67,9 +67,9 @@ } /// <summary>An error occurrent, and it's received as a parameter.</summary> - public static string XGenTool_GeneralError(object arg0) + public static string CustomTool_GeneralError(object arg0) { - return SR.GetString("XGenTool_GeneralError", arg0); + return SR.GetString("CustomTool_GeneralError", arg0); } Index: SR.resx =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/SR.resx,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SR.resx 21 Oct 2004 20:51:56 -0000 1.2 +++ SR.resx 18 Dec 2004 05:11:45 -0000 1.3 @@ -71,164 +71,10 @@ <value>Type '{0}' doesn't inherit from required base class '{1}'.</value> <comment>Type received as the first parameter does not inherit from the base class passed as the second parameter.</comment> </data> - <data name="ValueBinder_InvalidExpression" type="System.String" mimetype="System.String"> - <value>Expression '{0}' is invalid. Check .NET documentation for the DataBinder.Eval expression syntax.</value> - <comment>The expression receivedz in the first parameter is not in the expected format.</comment> - </data> - <data name="ValueBinder_MemberNotFound" type="System.String" mimetype="System.String"> - <value>Field or property '{0}' was not found in type '{1}'. Expression being evaluated was '{2}', for target '{3}'.</value> - <comment>First parameter is the field or property name, next the type where it's missing. Finally, the full expression and the originating target for which the expression was being evaluated.</comment> - </data> - <data name="ValueBinder_MethodArgumentsInvalid" type="System.String" mimetype="System.String"> - <value>Method '{0}' doesn't match the arguments received. Expression being evaluated was '{1}', for target '{2}'.</value> - <comment>First parameter is the method name name, next the full expression and the originating target for which the expression was being evaluated.</comment> - </data> - <data name="ValueBinder_IndexNotNumber" type="System.String" mimetype="System.String"> - <value>Argument '{0}' is not a valid number. </value> - <comment>Receives the indexer value that couldn't be converted to Int32.</comment> - </data> - <data name="ValueBinder_IndexEnumInvalid" type="System.String" mimetype="System.String"> - <value>Enum value '{0}' is invalid.</value> - <comment>Receives the full enum indexer that failed.</comment> - </data> - <data name="ValueBinder_NoIndexerFound" type="System.String" mimetype="System.String"> - <value>Type '{0}' doesn't have an indexer. Expression being evaluated was '{1}'.</value> - <comment>Receives the type that doesn't have the indexer, and the full expression.</comment> - </data> - <data name="ValueBinder_CantConvertValue" type="System.String" mimetype="System.String"> - <value>Value of type '{0}' can't be converted to type '{1}' expected by member '{2}'.</value> - <comment>Receives incoming value type, expected type and member name.</comment> - </data> - <data name="ValueBinder_CantAssignToMethod" type="System.String" mimetype="System.String"> - <value>Can't assign a value to a method return value. Expression being evaluated was '{0}'.</value> - <comment>{0}=full expression. The last segment of the expression is a method call, and the user tries to set a value on it.</comment> - </data> - <data name="Embedded_Success" type="System.String" mimetype="System.String"> - <value>Embedded resources generated.</value> - <comment>Sucess message.</comment> - </data> - <data name="Embedded_Error" type="System.String" mimetype="System.String"> - <value>#error Couldn't generate resource. -/* -{0} -*/</value> - <comment>An error occurrent, and it's received as a parameter.</comment> - </data> - <data name="Embedded_NoLocaleDefined" type="System.String" mimetype="System.String"> - <value>The file doesn't contain a valid locale in its name.</value> - <comment>The file can't be used to generate a localized resource.</comment> - </data> - <data name="Embedded_CantFindMain" type="System.String" mimetype="System.String"> - <value>Main resource file for this localized version wasn't found.</value> - <comment>Can't find the main file resource.</comment> - </data> - <data name="Embedded_CantFindMainClass" type="System.String" mimetype="System.String"> - <value>Parent main resource file for this localized version was found, but its corresponding resource class wasn't. - Check that its CustomTool property is set to the appropriate generator.</value> - <comment>Can't find the main file resource class.</comment> - </data> - <data name="ValueEditor_CantConvertValue" type="System.String" mimetype="System.String"> - <value>Value of type '{0}' can't be converted to type '{1}' expected by argument.</value> - <comment>Receives incoming value type and expected type.</comment> - </data> - <data name="ValueEditor_InvalidValue" type="System.String" mimetype="System.String"> - <value>The value specified is invalid.</value> - <comment></comment> - </data> - <data name="Step_ShowHelp" type="System.String" mimetype="System.String"> - <value>Show Help</value> - <comment>Allows the user to click and see additional help.</comment> - </data> - <data name="IdeWizard_MissingParameter" type="System.String" mimetype="System.String"> - <value>Parameter '{0}' is required. Check wizard definision file.</value> - <comment>A custom param in the .vsz file is missing. That is the first argument to the method.</comment> - </data> - <data name="Ide_ToolsMenu" type="System.String" mimetype="System.String"> - <value>Microsoft Reference Architecture</value> - <comment>Caption of the main menu item in Tools.</comment> - </data> - <data name="Ide_ToolsMenuTooltip" type="System.String" mimetype="System.String"> - <value>Provides access to the Reference Architecture wizards and design tools.</value> - </data> - <data name="Ide_CantInitializeMainTool" type="System.String" mimetype="System.String"> - <value>Main tool menu can't be initialized.</value> - <comment>An error happened while adding the tool menu.</comment> - </data> <data name="Gral_ServiceUnavailable" type="System.String" mimetype="System.String"> <value>Can't perform operation because service '{0}' is not setup properly. Ensure the Microsoft IPE Wizards add-in is loaded.</value> <comment>Receives the service that is unavailable.</comment> </data> - <data name="XsdFileEditor_Filter" type="System.String" mimetype="System.String"> - <value>XML Schema Files (*.xsd)|*.xsd</value> - <comment>Filter for the open dialog.</comment> - </data> - <data name="XsdFileEditor_Title" type="System.String" mimetype="System.String"> - <value>Select XML Schema File</value> - <comment>Title of the dialog.</comment> - </data> - <data name="Gral_ConfigurationFileNotSet" type="System.String" mimetype="System.String"> - <value>Main configuration file must be selected. Use the context menu option to select it.</value> - <comment>Config file is required for the current operation.</comment> - </data> - <data name="Gral_DeployScriptNotSet" type="System.String" mimetype="System.String"> - <value>Main deploy script file must be selected. Use the context menu option to select it.</value> - <comment>Deploy script file is required for the current operation.</comment> - </data> - <data name="XmlNodeListFactory_IHasXmlNodeMissing" type="System.String" mimetype="System.String"> - <value>The XPath query was not executed against an XmlNode-based object (such as XmlDocument).</value> - <comment>The factory received an XPathNodeIterator that was not obtained from querying an XmlDocument or XmlNode.</comment> - </data> - <data name="ValueEditor_Error" type="System.String" mimetype="System.String"> - <value>An error occurred while editing the value.</value> - <comment>Generic error handling.</comment> - </data> - <data name="CommandService_StackEmpty" type="System.String" mimetype="System.String"> - <value>List of commands is empty. Can't perform Undo operation.</value> - <comment>Someone called Undo without executing commands first.</comment> - </data> - <data name="CommandService_ExecuteError" type="System.String" mimetype="System.String"> - <value>Command failed: {0}. -Error: {1}</value> - <comment>{0}=command name/description, {1}=exception.</comment> - </data> - <data name="CommandService_UndoError" type="System.String" mimetype="System.String"> - <value>Couldn't undo command '{0}'. Error was: -{1}.</value> - <comment>{0}=command name/description, {1}=exception.</comment> - </data> - <data name="CommandService_ConfirmCaption" type="System.String" mimetype="System.String"> - <value>Confirm '{0}' execution</value> - <comment>{0}=command description. Title for the dialog</comment> - </data> - <data name="ExpressionEvaluator_EmptyArgumentReference" type="System.String" mimetype="System.String"> - <value>Argument reference can't be empty. It must be in the form '$(Argument)'. Value was '{0}'.</value> - <comment>An expression contained an empty argument reference. {0} is the full invalid expression.</comment> - </data> - <data name="ExpressionEvaluator_OpenArgumentReference" type="System.String" mimetype="System.String"> - <value>Argument reference not properly closed: '{0}'. Argument reference can't be empty. It must be in the form '$(Argument)'. Full value was '{1}'. </value> - <comment>An argument reference is missing the right parenthesis. {0} is the invalid open section, {1} is the full expression. </comment> - </data> - <data name="CommandService_InvalidRestoreState" type="System.String" mimetype="System.String"> - <value>Restore point state is invalid. Can't restore service state.</value> - <comment>Only the private class generated by the service can be used to restore its state.</comment> - </data> - <data name="Step_ConfirmReExecution" type="System.String" mimetype="System.String"> - <value>Some commands have already been executed. Do you want to undo them before executing with current arguments?</value> - <comment></comment> - </data> - <data name="Command_ArgumentRequired" type="System.String" mimetype="System.String"> - <value>Argument '{0}' is required for the execution of command '{1}'.</value> - <comment>{0}=missing argument. {1}=command type.</comment> - </data> - <data name="Command_UnsupportedArgumentType" type="System.String" mimetype="System.String"> - <value>Argument '{0}' has a type '{1}' which is not supported by command '{2}'. It must be one of: -{3}.</value> - <comment>{0}=argument name. {1}=argument type. {2}=command name, and {3}=concat list of valid types.</comment> - </data> - <data name="Step_ExecutionFailed" type="System.String" mimetype="System.String"> - <value>Execution failed for some commands.</value> - <comment>Some command didn't execute sucessfully.</comment> - </data> <data name="Dte_ProjectDoesntExist" type="System.String" mimetype="System.String"> <value>Project '{0}' doesn't exist in current solution.</value> <comment>{0}=project that doesn't exist in solution.</comment> @@ -237,63 +83,14 @@ <value>Parent item at location '{0}' doesn't exist.</value> <comment>{0}=path for the non-existent item.</comment> </data> - <data name="AddProject_InvalidKind" type="System.String" mimetype="System.String"> - <value>Project kind must be either "C#" or "VB". Received invalid '{0}' value.</value> - <comment>{0}=invalid project kind.</comment> - </data> <data name="Dte_TargetProjectExists" type="System.String" mimetype="System.String"> <value>Target project file '{0}' already exists.</value> <comment>{0}=target file name.</comment> </data> - <data name="AddProject_CantDeleteFolder" type="System.String" mimetype="System.String"> - <value>Folder '{0}' couldn't be deleted. Please remove it manually. Error was: -'{1}'.</value> - <comment>{0}=folder to remove, {1}=error message.</comment> - </data> - <data name="HandlersConverter_InvalidHandlers" type="System.String" mimetype="System.String"> - <value>The following handlers don't exist in the configuration file: -{0}</value> - <comment>{0}=join of invalid handlers</comment> - </data> - <data name="AddProject_CantAddProject" type="System.String" mimetype="System.String"> - <value>Project '{0}' couldn't be added. Retry with another name or check whether the target folder is empty.</value> - <comment>{0}= project failing to be added.</comment> - </data> - <data name="AddProject_InvalidPath" type="System.String" mimetype="System.String"> - <value>Can't find path '{0}' in current solution.</value> - <comment>{0}=invalid path</comment> - </data> <data name="Gral_ComponentNotSited" type="System.String" mimetype="System.String"> <value>The component hasn't been propertly initialized yet.</value> <comment>An operation requires the component to be sited and it hasn't been yet.</comment> </data> - <data name="Deployer_InvalidResource" type="System.String" mimetype="System.String"> - <value>Resource '{0}' wasn't found in current assembly. </value> - <comment>Resource to deploy doesn't exist. {0}=resource name</comment> - </data> - <data name="SolutionClassBrowserEditor_MSAB" type="System.String" mimetype="System.String"> - <value>Microsoft.ApplicationBlocks</value> - <comment>Checked to skip MS projects from the list.</comment> - </data> - <data name="SolutionClassBrowserEditor_SDAF" type="System.String" mimetype="System.String"> - <value>Microsoft.ReferenceArchitecture</value> - <comment>Checked to skip MS projects from the list.</comment> - </data> - <data name="WizardController_ConfirmExecution" type="System.String" mimetype="System.String"> - <value>Confirm wizard execution</value> - <comment>Title of the prompt for executing the wizard, if any.</comment> - </data> - <data name="AddProject_CantRemoveProject" type="System.String" mimetype="System.String"> - <value>Project '{0}' couldn't be removed. You will have to do so manually.</value> - <comment>For some reason removing the project didn't work. {0}=project name.</comment> - </data> - <data name="AddProject_ProjectAlreadyExists" type="System.String" mimetype="System.String"> - <value>Project '{0}' already exists in the solution.</value> - <comment>The project name selected is already present in the solution. {0}=project name.</comment> - </data> - <data name="Step_NoTipProvided" type="System.String" mimetype="System.String"> - <value>No tips available.</value> - </data> <data name="XmlValidate_GeneralError" type="System.String" mimetype="System.String"> <value>#error Couldn't process XML file! {0}</value> @@ -310,79 +107,10 @@ {0}</value> <comment>{0}=errors.</comment> </data> - <data name="Configuration_InvalidWizardConfig" type="System.String" mimetype="System.String"> - <value>Wizard configuration is invalid. Errors: -{0}</value> - <comment>{0}=errors.</comment> - </data> - <data name="AddOrSelectFolder_PathIsNotFolder" type="System.String" mimetype="System.String"> - <value>An item already exists with path '{0}' and it's not a folder.</value> - <comment>Tried to select a non-folder with a path. Receives the failing path.</comment> - </data> <data name="Dte_NoActiveProject" type="System.String" mimetype="System.String"> <value>A project must be selected before using this component.</value> <comment>No active project was found.</comment> </data> - <data name="DependencyEvaluator_InvalidExpression" type="System.String" mimetype="System.String"> - <value>Dependency expression '{0}' is invalid.</value> - <comment>Invalid expression received as argument 0.</comment> - </data> - <data name="DependencyEvaluator_DuplicateOperator" type="System.String" mimetype="System.String"> - <value>Duplicate operator '{0}' found in expression '{1}'.</value> - <comment>{0}=duplicate match, {1}=full expression.</comment> - </data> - <data name="DependencyEvaluator_OperatorMissing" type="System.String" mimetype="System.String"> - <value>Either 'and' or 'or' operators must precede argument name '{0}'. Expression was '{1}'.</value> - <comment>{0}=argument matched without operator. {1}=full expression.</comment> - </data> - <data name="CommandService_CommandCanceled" type="System.String" mimetype="System.String"> - <value>Command canceled by user.</value> - <comment>The user didn't accept the command execution.</comment> - </data> - <data name="AddOrSelectProject_PathRequiredForNew" type="System.String" mimetype="System.String"> - <value>A target folder for the new project must be selected, or an existing one must be selected to be used as a sibling.</value> - <comment>A new project has to be created, but the folder wasn't selected.</comment> - </data> - <data name="DependencyEvaluator_ValueNotComparable" type="System.String" mimetype="System.String"> - <value>Argument is of type {0} which can't be used for comparisons. (does not implement IComparable)</value> - <comment>An argument is used for a comparison but its value does not implement IComparable.</comment> - </data> - <data name="DependencyEvaluator_UnsupportedComparison" type="System.String" mimetype="System.String"> - <value>Comparison operator '{0}' is not supported.</value> - <comment>{0}=the operator.</comment> - </data> - <data name="WizardController_NonExistingAlias" type="System.String" mimetype="System.String"> - <value>There's no type definition with name '{0}' in the current wizard configuration.</value> - <comment>{0}=the type alias that wasn't found. We know it's an alias as it doesn't contain a colon separating the assembly name for a FQTN.</comment> - </data> - <data name="ExecuteTransformation_AssemblyNotSpecified" type="System.String" mimetype="System.String"> - <value>The template argument '{0}' can't be located as a file, and Assembly argument was not specified to load it from an embedded resource.</value> - <comment>The template argument '{0}' can't be located as a file, and Assembly argument was not specified to load it from an embedded resource.</comment> - </data> - <data name="ExecuteTransformation_AssemblyNotFound" type="System.String" mimetype="System.String"> - <value>Assembly '{0}' not found.</value> - <comment>{0}=assembly name that couldn't be loaded.</comment> - </data> - <data name="ExecuteTransformation_EmbeddedTemplateNotFound" type="System.String" mimetype="System.String"> - <value>Embedded resource with name '{0}' containing transformation template was not found in assembly '{1}'.</value> - <comment>{0}=resource name not found, and {1}=assembly name where we probed.</comment> - </data> - <data name="ExecuteTransformation_EmbeddedConfigNotFound" type="System.String" mimetype="System.String"> - <value>Embedded resource with name '{0}' containing configuration for the transformation engine was not found in assembly '{1}'.</value> - <comment>{0}=resource name not found, and {1}=assembly name where we probed.</comment> - </data> - <data name="ExecuteTransformation_TemplateFileNotFound" type="System.String" mimetype="System.String"> - <value>Can't load template file.</value> - <comment>FileNotFoundException</comment> - </data> - <data name="ExecuteTransformation_ConfigFileNotFound" type="System.String" mimetype="System.String"> - <value>Can't load configuration file.</value> - <comment>FileNotFoundException</comment> - </data> - <data name="ExpressionEvaluator_ArgumentMissing" type="System.String" mimetype="System.String"> - <value>Argument '{0}' is missing in the current context.</value> - <comment>An expression uses an argument that hasn't been specified.</comment> - </data> <data name="DteHelper_PathNotRelativeToSln" type="System.String" mimetype="System.String"> <value>File '{0}' is not relative to the solution file '{1}'.</value> <comment>{0}=file that is not relative to {1}, which is the solution filename.</comment> @@ -399,15 +127,11 @@ <value>VB</value> <comment>The Visual Basic language.</comment> </data> - <data name="OutputWindowService_InitializedMsg" type="System.String" mimetype="System.String"> - <value>Microsoft IPE Wizard Framework Output Window Service loaded.</value> - <comment>Output window was created.</comment> - </data> <data name="XGenTool_NoClassFound" type="System.String" mimetype="System.String"> <value>#error The selected element doesn't contain any class definitions.</value> <comment>#error The selected element doesn't contain any class definitions.</comment> </data> - <data name="XGenTool_GeneralError" type="System.String" mimetype="System.String"> + <data name="CustomTool_GeneralError" type="System.String" mimetype="System.String"> <value>#error Couldn't generate code. /* {0} Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/mvp-xml/Design/v1/src/AssemblyInfo.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- AssemblyInfo.cs 10 Oct 2004 15:26:43 -0000 1.1 +++ AssemblyInfo.cs 18 Dec 2004 05:11:45 -0000 1.2 @@ -9,14 +9,27 @@ [assembly: AssemblyTitle("Mvp.Xml.Design")] [assembly: AssemblyDescription("MVP XML Design Tools")] -[assembly: AssemblyVersion("0.1.*")] +[assembly: AssemblyVersion(ThisAssembly.Version)] [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] +#if DEBUG +[assembly: AssemblyConfiguration("DEBUG")] +#else +[assembly: AssemblyConfiguration("RELEASE")] +#endif + #region Security Permissions //[assembly: SecurityPermission(SecurityAction.RequestRefuse, UnmanagedCode=true)] #endregion Security Permissions + +internal class ThisAssembly +{ + public const string Title = "Mvp.Xml.Design"; + public const string Description = "MVP XML Design Tools"; + public const string Version = "0.1.*"; +} \ No newline at end of file |