diff --git a/data/resources/StringResources.resx b/data/resources/StringResources.resx
index 46588f0fcf..cc81fab295 100644
--- a/data/resources/StringResources.resx
+++ b/data/resources/StringResources.resx
@@ -234,7 +234,6 @@ Download an AddIn from the Internet, then click 'Install AddIn' and choose the d
TortoiseGit needs to be installed to execute this action.
- Error message when executing git command but TortoiseGit cannot be foundContents
@@ -283,15 +282,12 @@ Download an AddIn from the Internet, then click 'Install AddIn' and choose the d
Number of bytes per line
- hex editor option (number of bytes displayed in one line)Display
- 'display' group box in hex editor optionsElements
- Elements that can be configured in hex editor optionsData
@@ -304,7 +300,6 @@ Download an AddIn from the Internet, then click 'Install AddIn' and choose the d
Resize to fit current width
- Used for the HexEditor's full width display button in the left corner of the display.Add to Help Favorites
@@ -657,7 +652,6 @@ Optionally you can specify a working directory and command line arguments.
Extract method
- Text of the "Extract Method" refactoring menu command.The selected code contains a break statement without the enclosing loop. Please change the selection!
@@ -679,9 +673,6 @@ Optionally you can specify a working directory and command line arguments.
Extracting methods in {0} is currently not supported!
- Used to notify the user that the MethodExtractor can not extract the code in the current programming language.
-
-{0} is the value from ProjectService.CurrentProject.LanguageInsert constructor
@@ -739,11 +730,9 @@ Optionally you can specify a working directory and command line arguments.
Blame
- blame/praise/annotate- show author for each line of code in the fileBranch/tag
- Shows the dialog for branching/taggingThe file/directory cannot be copied because it is in subversion status '{0}'.
@@ -756,42 +745,33 @@ Optionally you can specify a working directory and command line arguments.
Check for modifications
- Command to check a directory for modifications (both local and remote)Checkout
- Download source code from the version control serverClean up
- Runs svn cleanup, fixing problems in the working copyCommit
- Command to upload local changes to version control systemCreate patch
- Create a patch file containing the local modificationsDelete directoryDiff
- Command to show local modifications done to a fileEdit conflicts
- Command to edit version-control conflicts in a fileError deleting ${File}
- Message shown when a file or directory cannot be deletedExport
- Export files from the local working copyForce delete
@@ -804,18 +784,15 @@ Optionally you can specify a working directory and command line arguments.
Keep old solution open
- Button text to keep old solution openGet lockMark conflicts as resolved
- Command to tell version-control system that conflicts were resolvedMerge
- Merge changes from another branch to this directoryAutomatically &add new files
@@ -831,15 +808,12 @@ Optionally you can specify a working directory and command line arguments.
Subversion Options
- Title of the subversion options panelShow &history tab for version-controlled files
- Show tab page History for each version-controlled fileReload solution
- Button to confirm reloading the solution after project files were changesSharpDevelop detected that the version control operation changed project files.
@@ -847,7 +821,6 @@ You should reload the solution.Relocate
- Change the URL of the version control serverRemove from ignore list
@@ -857,26 +830,21 @@ You should reload the solution.
Repository browser
- Launch a tool to view the repository of the version control systemRevert
- Command to revert local modifications done to a version-controlled fileThe file has local modifications. Do you really want to remove it?Revision graph
- Show the revision graph for a directorySave files
- Button text to confirm saving all open filesShow Log
- Shows the history for the fileThe version control operation would affect files with unsaved modifications.
@@ -884,51 +852,40 @@ You have to save those files before running the operation.Switch
- Switch the working copy to a different branchTortoiseSVN needs to be installed to execute this action.Update
- Command to download changes done by other developers to the working copyUpdate to revision
- Command to update a file to a specific versionThank you for participating! You can still opt-out later using the SharpDevelop options.
- text that confirms the user accepted UDCI would like to participate - collect and upload usage data
- Option to start participating in usage data collectionYou can still opt-in later using the SharpDevelop options.
- Text that confirms the user declined UDCI do not want to participate
- Option for declining to participate in usage data collectionWe need your help! To improve SharpDevelop in the future, we would like to know which features are used most.
SharpDevelop can collect this information and upload it automatically.
- introduction to UsageDataCollector, appears on first start of SharpDevelop 4.0Privacy Statement
- text for link to privacy statementShow collected data
- button for showing the data collected so farUsage Data Collector
- title of the usage data collector start page message (only visible on first start of SharpDevelop 4) and name of the corresponding page in the options dialogLet SharpDevelop figure out the type based on the initializer.
@@ -1007,7 +964,6 @@ SharpDevelop can collect this information and upload it automatically.
Continue
- continue using the current encoding (may cause data loss)Save as UTF-8
@@ -1078,7 +1034,6 @@ You can specifiy an execution command in the project options.
Process
- Labels a running processAttach
@@ -1632,7 +1587,6 @@ To create/manipulate a ActiveX/COM object, drag a class within a TypeLib/Control
<Empty>
- Copy from empty itemEnter the new name:
@@ -1651,7 +1605,6 @@ To create/manipulate a ActiveX/COM object, drag a class within a TypeLib/Control
Go to
- Title of the "go to" dialog windowGo to line
@@ -1714,7 +1667,6 @@ Examples: "120", "MainClass", "Main.cs, 120".
Caret Line
- Name for the vertical line showing the caret positionCaret marker
@@ -1939,7 +1891,6 @@ When an extension is used by both a built-in and a user-defined scheme, the user
Escape character:
- Escape character inside highlighting spans, e.g. \ in C#In "Begin" and "End", @ has a special meaning: @!string@ doesn't match string when searching for the begin/end, and @@ matches a single @.
@@ -2020,11 +1971,9 @@ Do you want to add the new file to the project ${CurrentProjectName}?Create file inside project
- Answer 1Create standalone file
- Answer 2Add file to project?
@@ -2193,7 +2142,6 @@ Do you want to add the new file to the project ${CurrentProjectName}?
&Edit extensions
- Edits the list of file extensions associated with a code snippet group&Description
@@ -2212,7 +2160,6 @@ Do you want to add the new file to the project ${CurrentProjectName}?
Press Tab to insert this code template.
- Appears in description box in template completion.Re&move Group
@@ -2237,7 +2184,6 @@ Do you want to add the new file to the project ${CurrentProjectName}?
Configuration Editor
- Title of the solution configuration editor dialog<Edit>
@@ -2262,7 +2208,6 @@ Do you want to add the new file to the project ${CurrentProjectName}?
&Solution configuration:
- label in front of combo box where the build configuration (Debug/Release) of the solution can be chosenDepends on:
@@ -2419,18 +2364,15 @@ Do you want to add the new file to the project ${CurrentProjectName}?
Use the following option to turn code completion completely off:
- Text in label above the "Enable Code Completion" checkbox.Re-open tooltip with better overload when pressing commaitems
- Save *inputbox* itemsSave
- Save *inputbox* itemsPre-select recently used members
@@ -2479,7 +2421,6 @@ Do you want to add the new file to the project ${CurrentProjectName}?
Debugging
- The root node in the options dialogStepping
@@ -2552,14 +2493,12 @@ Do you want to add the new file to the project ${CurrentProjectName}?
&Auto-load changes if saved
- (checkbox) automatically load externally changed files if there are no unsaved modifications in SharpDevelopUse &temporary file for savingDefault file &encoding:
- Default encoding used for new files&Detect external changes to files
@@ -2575,7 +2514,6 @@ Do you want to add the new file to the project ${CurrentProjectName}?
Macintosh (CR)
- Line terminator style for the MacOS. I think this doesn't need translation.Load/Save
@@ -2585,18 +2523,12 @@ Do you want to add the new file to the project ${CurrentProjectName}?
Unix (LF)
- LF = line feed
-Line terminator style for 'unix' like oprating
-systems. I don't think that this needs translation.Use &recycle bin when deleting filesWindows (CRLF)
- CRLF = carriage return, line feed
-line terminator style for the 'Windows' operating
-system. I don't think that it needs translation.Format
@@ -2609,7 +2541,6 @@ system. I don't think that it needs translation.
Profiler
- option page of the performance profilerBuild and Run options
@@ -2640,7 +2571,6 @@ system. I don't think that it needs translation.
When running:
- option that specifies how to build when running the projectBuild modified projects and projects depending on them
@@ -2713,7 +2643,6 @@ system. I don't think that it needs translation.
Use Ctrl+Click for "Go to Definition"
- Checkbox for enabling Ctrl+Leftclick as shortcut for 'go to definition'A&uto insert curly braces
@@ -2762,11 +2691,9 @@ system. I don't think that it needs translation.
Use smart indentation
- Checkbox for disabling/enabling smart indentationCode Completion
- Title of the code completion option panel&Render font antialiased
@@ -2806,7 +2733,6 @@ system. I don't think that it needs translation.
at colum&n
- I've mixed up row and column. Column is rightAfter Caret
@@ -2955,7 +2881,6 @@ A change in the highlighting schemes is visible upon the next restart of #Develo
{0} is not a valid icon file.
- Error message displayed when the user tries to set the application's icon to a file that is not an icon.Localized string file:
@@ -2971,7 +2896,6 @@ A change in the highlighting schemes is visible upon the next restart of #Develo
Manifest files
- File filter description for *.manifest filesOutput name:
@@ -3206,7 +3130,6 @@ A change in the highlighting schemes is visible upon the next restart of #Develo
Select folder
- Description for folder selection dialogSigning
@@ -3387,7 +3310,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Can't find ${Executable} in any of the SDK bin folders.
- Message for an exception that is thrown if a sdk executable cannot be found.Can't load ${File}.File not found.
@@ -3424,7 +3346,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Browse
- text for buttons that open a dialog for searching a file/folderCancel
@@ -3449,7 +3370,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Unselect All
- The words "Unselect All" translated into the local language.&Edit
@@ -3477,7 +3397,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Custom
- Choose custom colorSelect font
@@ -3490,7 +3409,6 @@ You can also choose to store the setting in the .user-file instead of the projec
ID
- Abbrevation for IdentifierIgnore
@@ -3518,7 +3436,6 @@ You can also choose to store the setting in the .user-file instead of the projec
N/A
- Stands for 'Not applicable'Name
@@ -3537,7 +3454,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Options
- The word "Options" translated to a particular language.Path
@@ -3553,7 +3469,6 @@ You can also choose to store the setting in the .user-file instead of the projec
readonly
- The word "readonly" in lowercase.&Remove
@@ -3569,7 +3484,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Select &All
- selects all items in a listSmall Icons
@@ -3597,15 +3511,12 @@ You can also choose to store the setting in the .user-file instead of the projec
Open
- verb for opening an item (usually file)Open Folder in Explorer
- Command that opens the selected folder in Windows ExplorerOpen With...
- Open file with non-default toolAdd program
@@ -3630,7 +3541,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Text editor (choose encoding)
- Entry in "open with" menu for explicitly choosing the file encoding when opening a text fileBuilt-in Web Browser
@@ -3718,7 +3628,6 @@ You can also choose to store the setting in the .user-file instead of the projec
<KEY NOT FOUND>
- Value to display when a resource key is missingResource in {0}:
@@ -3752,7 +3661,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Boo Interpreter
- Title of the Boo Interpreter padError: 'Debugger is not loaded'
@@ -3765,7 +3673,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Debuggee
- Name for program being debuggedRuns commands in the debugged progam
@@ -3796,7 +3703,6 @@ You can also choose to store the setting in the .user-file instead of the projec
Select FxCop path
- Button to select the FxCop pathFxCop was found in the following directory:
@@ -3806,7 +3712,6 @@ You can also choose to store the setting in the .user-file instead of the projec
FxCop path
- Title of FxCop path choosing groupboxAdd/Remove rule assembly
@@ -3843,80 +3748,95 @@ You can also choose to store the setting in the .user-file instead of the projec
Suppress message
- Context menu command to suppress a code analysis warning
+
+
+ Web
+
+
+ Web Server
+
+
+ Create virtual directory
+
+
+ IIS was not found
+
+
+ Virtual directory was created
+
+
+ Project Url:
+
+
+ Use local IIS Web server
+
+
+ Use local IIS Express Web server
+
+
+ There's no Project Url specified or external program. Check the web server at Project Properties -> Debug tab.
+
+
+ ASP.NET/IIS (Express) worker process ({0}) was not found.
+
+
+ Application already exists.Code Covered
- One of the display items that exists in the Code Coverage Options Panel. Selecting this one allows the user to configure the colours for the code that has been covered by the unit tests.Code Not Covered
- One of the display items that exists in the Code Coverage Options Panel. Selecting this one allows the user to configure the colours for the code that has NOT been covered by the unit tests.Column
- List view column header holding the code coverage start column number.Display OptionsEnd Column
- List view column header containing the end column number for the code coverage.End Line
- List view column header containing the code coverage end line.Line
- Code coverage line number column header for the list view.Unable to locate the NCover console application.
If NCover is installed, please specify the location of the application in the Code Coverage options.
- Error message displayed when the NCover console application cannot be found.No code coverage results file generated:
- Error message added to error list pad when the code coverage results file was not generated.Code Coverage Colors
- Group box title containing the text colors to use for code coverage highlighting.&Command:
- Label indicating the NCover command line.&Display Items:
- Code coverage options label that indicates the different text display items that can have their colours configured.Item bac&kground:
- Label for the code coverage text background colour.Item fo®round:
- Label for the code coverage item's foreground colour.NCover Configuration
- Code coverage options panel. Title of the group box containing NCover configuration options.AaBbCcXxYyZz
- Sample text that is displayed when showing the code coverage colours selected.&Assemblies to watch:
- Label for assembly names that will be watched whilst running code coverage.Excluded Attributes
- Attributes used to exclude types from code coverageExclude
@@ -3926,15 +3846,12 @@ If NCover is installed, please specify the location of the application in the Co
Running code coverage...
- First line of text sent to output window when running code coverage.Run tests with code coverage
- Right menu option when selecting a Unit test tree node.Run with code coverage
- Right click menu to run tests with code coverage - displayed when right clicking a test fixture or test method in the source code.Show Code Co&verage
@@ -3947,11 +3864,9 @@ If NCover is installed, please specify the location of the application in the Co
Toggle Code Coverage
- Tooltip for button that shows/hides code coverage highlighting in the source code.Visit Count
- Column header in code coverage list view which indicates how many times a particular line of code was visited when running the tests.Change to project directory
@@ -4044,150 +3959,114 @@ Please configure the NAnt executable's location in the SharpDevelop Options.
NAnt build stopped.
- Message sent to Output window after the NAnt process has been successfully stopped.Project does not contain a '.build' file.
- Error message reported to the user when they attempt to run NAnt when there is no .build file in the SharpDevelop project.Running NAnt.
- Message sent to the Output window indicating that the NAnt build is about to be started/run.This will terminate the NAnt process. Are you sure?
- Message displayed to the user if they select the "Stop NAnt" menu option.Create &Build File
- Menu option to create a NAnt build file.&Goto Definition
- NAnt pad right click menu option which will open up the .build file and put the cursor on the specified NAnt target.&Goto Error
- NAnt pad right click menu option - when an error tree node is selected the build file is opened up and the cursor is moved to the error.&Arguments
- Label for the NAnt command line arguments text box.Build File Generation
- Options panel. Name of the group containing NAnt build file generation configuration.&Command
- Label for the NAnt command line textbox.&Debug
- Checkbox label for NAnt's "debug" command line option.NAnt Configuration
- Options panel. Group box for NAnt config options.NAnt &Version
- Label for the drop down list containing NAnt version numbers.&Quiet
- Label for the NAnt "quiet" option checkbox.Show &Logo
- Check box text for NAnt's show logo command line option.Ver&bose
- Checkbox text for NAnt's "verbose" command line option.Enter NAnt properties.
- Text tooltip shown when the user moves the mouse over the TextBox at the bottom of the NAnt pad. This area is used to enter ad hoc command line options or properties when running NAnt (e.g. "-D:optimize".Reloads the build files
- Tooltip for the Refresh button in the NAnt pad. Refreshes the pad's view from the build files in the combine.Runs the selected target
- Tooltip text displayed when the user moves the mouse over the NAnt pad's run button. The button runs the NAnt target selected in the tree view.Stops the current build
- Tooltip for the NAnt pad's stop button. Will stop the currently running build.No process running.
- Attempted to wait for a process to finish but the process is not running error message.Run &Clean Target
- Menu option to run NAnt to call the build file's "clean" target.Run Default &Target
- Menu option that runs NAnt to build the build file's default target.Run &Target
- NAnt pad right click menu option to run the selected NAnt target.&Stop NAnt
- Menu option to stop the currently running NAnt build.Unit TestsAll
- Drop down list option indicating "All" the languages should be returned.Insert PInvoke Signature
- Insert PInvoke signature dialog title.Find
- Find button text. Finds the matching pinvoke signature for the given search criteria.Function:
- Label for drop down list of PInvoke/Dll methods/functions (e.g. MessageBeep, CreateProcess).Insert
- Insert button text. Inserts pinvoke signature into source code.Language:
- Label for the drop down list of source code languages (e.g. C#, VB).Module:
- Label for drop down list of modules/dlls (e.g. user32)More info
- Hyperlink label that the user can click to get "more information" on a particular pinvoke signature.No signature found for language '{0}'.
- Error message returned when no p-invoke signatures found for the particular language (C# or VB).No signatures found.
- Error message indicating that no P-Invoke signatures were found for specified search criteria.Insert PInvoke signatures...
- Menu option that shows the "Insert PInvoke signatures" dialog.From C# to Python
@@ -4197,19 +4076,15 @@ Please configure the NAnt executable's location in the SharpDevelop Options.
Python Console
- interactive python interpreterPython Files
- file filter for *.py filesPython Project Files
- file filter for *.pyproj filesSend Line to Python Console
- Sends the line under the cursor in the text editor to the IronPython console window.Send to Python Console
@@ -4219,7 +4094,6 @@ Please configure the NAnt executable's location in the SharpDevelop Options.
The selected element is not a class or overridable member, so no derived symbols can be shown.
- Error message when using 'Search>Find Derived Symbols' when it isn't applicable.Send Line to Ruby Console
@@ -4336,10 +4210,6 @@ Note: This doesn't affect own custom layouts.
Convert
- Menu item in project conctext menu
-Subitems:
- Convert to VB
- Convert to c#Conversion complete.
@@ -4373,7 +4243,6 @@ Subitems:
Project conversion has been successfully finished. You can find the converted project at this location:
- Message appears after a project has been successfully converted.From C# to Boo
@@ -4401,30 +4270,24 @@ Subitems:
A write protected file with this name already exists at this location.
- Appears when the user tries to add a file to the project that already exists and is write protected.No backend for project type installed.
- Project browser node text for unknown project types.The project file cannot be found.
- Project browser node text for missing project files.ReferencesUnable to read web service description. Url='{0}'
- Error message displayed when the user tries to refresh the web service proxy code, but for some reason the server hosting the web service is unavailable.Solution Items
- Folder containing files associated with the solutionSolution
- Text of root node in project browserThe file can not be found anymore.
@@ -4447,7 +4310,6 @@ All changes get lost.
Navigate to file in project browser
- From tab strip (tabs above editor), allows to navigate (expand and scroll) to given file in project browser (i.e. solution explorer)From VB.NET to C#
@@ -4492,7 +4354,6 @@ has been changed externally do you want to reload it?
How to report errors efficiently: We have set up a Web-based forum to report and track errors that are reported by users of SharpDevelop. To minimize necessary questions by the team members, in addition to providing the error message that is copied to the clipboard for easier pasting in the error report, we ask that you provide us with an as detailed as possible step-by-step procedure to reproduce this bug.
- When translating this message, add a notice that error reports should be done in English.Do you really want to quit SharpDevelop? Unsaved changes will be lost!
@@ -4592,23 +4453,18 @@ has been changed externally do you want to reload it?
Local resource
- Text of the radio button to select a local resource (which will be stored in the resource file of the form being designed)None
- Text of radio button to select no resourcePreview
- Title of the image preview box in the image resource editor dialogProject resource
- Text of radio button to select a project resource (which is stored in a resource file in the current project)Select resource
- Title of a dialog in the Windows.Forms designer that allows selecting a resource for an image propertyGenerated code
@@ -4729,86 +4585,66 @@ No Windows Forms components will be avaiable, please configure the side bar manu
Back
- Add web reference back button tooltip.Binding
- Property name for a web service port binding.Add Web Reference
- Title of the Add Web Reference dialog.Documentation
- Property name displayed next to the web service documentation text.Forward
- Tooltip for the browser forward button.Go
- Tooltip for browser's go button.The namespace contains invalid characters. A namespace can only contain letters, digits or underscores.
- Shown to the user if they attempt to create a web reference where the namespace has invalid characters.Reference name contains invalid characters.
- Error message shown when the web reference name entered by the user is invalid.&Namespace:
- Label next to the namespace text box that will be used when generating the web proxy code.Parameters
- Text displayed next to web service parameters when the user selects the web service node.Property
- Title of list view column showing the names of various web service properties.&Reference Name:
- Label next to the text box containing the name that will be used for the web reference.Refresh
- Add web reference dialog browser refresh button tooltip.Retrieval URI
- Text displayed in the property/value list when the user selects the service description list view node.Service
- Displayed next to a web service name when the user selects a web service node in the list view.Stop
- Tooltip for the browser stop button.&Address:
- Label next to text box where the user types in the http url to a web service description.Value
- Name of list column header showing web service property values.Available Web Services
- Title for the tab that shows the web service operations available for a given url.AttachManaged
- Indicates that a process is managed code in the attach to process dialog.Attach to Process
@@ -4829,7 +4665,6 @@ Only letters, digits, space, '.' or '_' are allowed.
You must specify a valid absolute path as project location.
- Error message when location for new project is invalid&Select the file types you want to associate with SharpDevelop:
@@ -4863,11 +4698,9 @@ Only letters, digits, space, '.' or '_' are allowed.
Tool not found
- Title of dialog window that appears when an external tool (SHFB or TortoiseSVN) is missingDiscovery Credential
- UserCredentials dialog title. Dialog pops up when the user needs to specify username/pass to view a web service.&Domain:
@@ -4886,7 +4719,6 @@ Only letters, digits, space, '.' or '_' are allowed.
Outline
- Document outline padOutline view is not available for the current document.
@@ -4905,7 +4737,6 @@ Only letters, digits, space, '.' or '_' are allowed.
Parsing
- Status bar message indicating that SharpDevelop is parsing the user codeBuild action
@@ -4933,11 +4764,9 @@ Only letters, digits, space, '.' or '_' are allowed.
The full path to the file.
- Description shown for the 'File name' property in the property grid when a file is selected in the project browser.Logical Name
- Logical Name property for embedded resource filesThe name of the embedded resource. If left empty, the name is automatically generated.
@@ -4950,11 +4779,9 @@ Only letters, digits, space, '.' or '_' are allowed.
Culture
- Reference's culture property.The culture supported by the reference
- Reference's culture property description.Local copy
@@ -4964,51 +4791,39 @@ Only letters, digits, space, '.' or '_' are allowed.
(Name)
- Property value for the reference name. Keep the () brackets so that this property appears at first (i.e. at the top of the property list).The reference name
- Property value description.Public Key Token
- Assembly reference's public key token property.The public key token
- Assembly reference's public key token property descriptionSpecific Version
- Reference property name indicating if the reference is to a specific versionIndicates if this reference is bound to a specific version of the assembly
- Reference property description.URL Behaviour
- Web reference url behaviour property displayed in property browser.Web reference URL behaviour
- Property description for web reference url behaviour .Version
- Property name indicating the assembly reference version number.The major, minor, revision and build numbers of the reference
- Reference's version property description.Web Reference URL
- Name of property showing the web reference's url.Web reference URL
- Property description for the web reference url.Solution file ${combineLocation} already exists, do you want to overwrite the existing file?
@@ -5039,7 +4854,6 @@ Only letters, digits, space, '.' or '_' are allowed.
Change version of selected projects
- Title of group box that allows changing the version of the selected projectsCompiler Version
@@ -5049,7 +4863,6 @@ Only letters, digits, space, '.' or '_' are allowed.
<do not change>
- item in compiler version/target framework combo boxes that is used to indicate an ambiguous selection (several projects with different targets frameworks) and allows the user to change one of (compiler version, target framework) without changing the otherTarget Framework
@@ -5073,7 +4886,6 @@ Goto 'Options->Visual Style' and change the current language ambience.
All Tests
- Unit Tests tree root node text when a solution contains multiple test projects.Code Coverage
@@ -5113,11 +4925,9 @@ Goto 'Options->Visual Style' and change the current language ambience.
Testing ${Name}...
- Label next to the progress bar in the status bar when running unit tests&Test
- The "Test" submenu in the "Analysis" menuUnable to run unit tests. The file '{0}' cannot be found.
@@ -5166,7 +4976,6 @@ Goto 'Options->Visual Style' and change the current language ambience.
Could not find dialog id '{0}' in the document.
- Error message displayed by the forms designer when for some reason it cannot find the dialog id in the document.An extension must be of the form: Class, Assembly
@@ -5219,7 +5028,6 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension<
Add WiX Library
- Menu item to add a Wix Library (wixlib) to a Wix project.Installation Package
@@ -5235,12 +5043,6 @@ Microsoft.Tools.WindowsInstallerXml.Extensions.NetFxCompiler, WixNetFxExtension<
Unable to find '{0}' in {1}
- {0} = Dialog id.
-{1} = Filename.
-
-The full string will be:
-
-Unable to find 'WelcomeDialogId' in Dialogs.wxsAdd...
@@ -5250,7 +5052,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Required attribute '{0}' is missing.
- Error message specifying the xml attribute that is required but missing in the Wix dialog xml.No setup dialog selected in Wix document. Please move the cursor inside a dialog element or use the Setup Dialogs window to open a dialog.
@@ -5329,7 +5130,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
WiX files
- Name of file filter for WiX files.WiX Libraries
@@ -5342,15 +5142,12 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
No difference found.
- Message displayed in the Wix diff control to indicate that no differences between the files specified in the Wix setup document and the files on the file system were found.WiX Project
- Title displayed in the File Format Associations options page for Wix projects.WiX Project Files
- Name for the WiX Projects file filter in the File Open dialog.COM+ and Message Queue Extension (pubca)
@@ -5414,11 +5211,9 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
&Create Schema
- Menu option that creates or generates an simple xml schema from the xml file currently displayed.Hide &XPath Results
- Menu item that is used to remove the highlighting on items matched by the XPath query.&Open XSLT
@@ -5428,71 +5223,54 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Select XML Schema
- Name of dialog allowing the user to choose a schema from a list of schema namespaces. Dialog is opened when the user is associating a schema with a file extension.&Validate XML
- Menu option to validate the xml file currently open.Folding
- Name of the group label that holds settings for xml folding.Show &attributes when folded
- Check box label - shows/hides xml attributes when the element is folded.Show schema anno&tation
- Check box label. Toggles on/off the display of xs:annotation/xs:documentation text, found in the schema, alongside the xml intellisense list.XML Options
- Name of the xml editor options panel.XML Completion
- Label for xml auto-completion/intellisense options group.&Extension:
- Label for a drop down list of file extensions.File Extensions
- Name of group box containing the file extensions and their associated schemas.&Prefix:
- Label for the namespace prefix (e.g. "xs") that will be associated with a given xml file extension by default.&Schema:
- Label for the schema namespace associated with a file extension.Schemas
- Name of xml schemas group box in the xml schema options dialog.Unable to add schema. The namespace '{0}' already exists.
- User tried to add a schema to SharpDevelop but one has been added before with that particular namespace.Schema '{0}' does not have a target namespace.
- For a schema to be added to the xml intellisense it must have a namespace associated with it. This error occurs when the user tries to add a schema 'filename' that does not have a targetNamespace attribute.XML Schemas
- Name of the options panel for configuring xml schemas that SharpDevelop will provide autocomplete/intellisense for.Unable to add schema.
- User browsed for an xml schema on the file system, but we could not add it to SharpDevelop for some reason.Unable to save changes.
- This message is shown if SharpDevelop could not save the changes the user made to the xml schemas options panel.Add Attribute...
@@ -5529,7 +5307,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
XML Tree
- The title for the Xml Tree tab.Namespace
@@ -5572,11 +5349,9 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
The build must finish before SharpDevelop can be closed.
- Warning message displayed to user if they try to close SharpDevelop whilst a build is running.Build was cancelled.
- Message when build was cancelled by userBuild failed.
@@ -5592,11 +5367,9 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Building
- Verb describing that SharpDevelop is currently building a projectCompiling
- Verb describing that SharpDevelop is currently compiling a projectBuilding COM interop assembly...
@@ -5615,7 +5388,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Skipped ${Name} (no changes inside SharpDevelop)
- Message when a project is not compiled because it was not modifiedSharpDevelop
@@ -5637,7 +5409,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Delete all bookmarks in all buffers.
- DeleteAllMarks icon tooltip.Delete bookmark
@@ -5653,11 +5424,9 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
{0} @line {1}
- format string for displaying "filename @line #" in the bookmarks padLocation
- Column title for the bookmark locationBookmarks
@@ -5730,7 +5499,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
[External methods]
- Show in the callstack instead of external methods (without symbols)Function switch
@@ -5782,7 +5550,6 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Condition
- column title for a conditional breakpoint's conditionContinue
@@ -5813,18 +5580,12 @@ Unable to find 'WelcomeDialogId' in Dialogs.wxs
Break
- Button.
-Breaks the execution. Shows the current location of debuggee in the editor.Continue
- Button.
-Continues the execution of debuggee.
-Button is enabled only for handled exceptions.Can not intercept exception. Debugged program can not be continued and properties can not be evaluated.
- eg. Happens on StackOverflow exception.Hide Exception Details
@@ -5834,11 +5595,9 @@ Button is enabled only for handled exceptions.
at {0}
- NB: Only used for exceptions that can not be intercepted (eg. StackOverflow)at {0} in {1}:line {2}
- NB: Only used for exceptions that can not be intercepted (eg. StackOverflow)An exception of type {0} was thrown:\n{1}
@@ -5848,12 +5607,9 @@ Button is enabled only for handled exceptions.
Terminate
- Button.
-Stop/terminate the debuggee.Exception
- NOT USEDHandled exception
@@ -5881,25 +5637,21 @@ Stop/terminate the debuggee.
Base class
- Name of submenu which contains members of type's base classYou cannot explore variables while the debuggee is running.Can not convert {0} to {1}
- Occurs when user edits value but enters value in a bad formatCan not set valueCan not set value
- Generic error. Occurs when user edits value.Copy value to clipboard
- Item in variable's context menuNon-Public members
@@ -5909,21 +5661,15 @@ Stop/terminate the debuggee.
Private members
- obsoletePrivate Static members
- obsoleteShow full error...
- Context menu item.
-Shown for values that could not be obtained due to error.
-Shows the full callstack of the error.Show values in hexadecimal
- Item in variable's context menuStatic members
@@ -5964,9 +5710,6 @@ Shows the full callstack of the error.
Toggle Method View
-
- Show/Hide Zoom Control
-
Run to cursor
@@ -6015,9 +5758,6 @@ Shows the full callstack of the error.
Thread switch
-
- Toggle Method View
-
Watch
@@ -6041,7 +5781,6 @@ Shows the full callstack of the error.
Definition View
- Title of the definition view padErrors
@@ -6066,19 +5805,15 @@ Shows the full callstack of the error.
CD
- CD/DVDFixed
- fixed drive => hard diskRemote
- Network driveRemoveable
- removeable drive, e.g. floppyLast modified
@@ -6124,7 +5859,6 @@ Shows the full callstack of the error.
<Clear History>
- Menu command to remove previous searchesCollapse all
@@ -6140,7 +5874,6 @@ Shows the full callstack of the error.
in
- used like this: occurrences IN files${Count} occurrences
@@ -6198,15 +5931,12 @@ Shows the full callstack of the error.
Validation: failed
- Displayed in the output window when the xml validation failed.------ Validating XML ------
- Displayed in output window to indicate that the xml validation has started.Validation: succeeded
- Displayed in the output window after the xml has been successfully validated.Unloads the test assemblies, cancels the auto loading.
@@ -6240,9 +5970,6 @@ Shows the full callstack of the error.
Test case '${TestCase}' failed.
- Indicates that the test failed if the test has no error message to display.
-
-Removed the end part of the original message ", reason '${Message}'" since this is often not visible in the errors list if the test case name is long.Test case '${TestCase}' was not executed.
@@ -6276,7 +6003,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Open Containing Folder In Explorer
- String for the editor tab context menu that will open the directory in which a documents file is contained in Windows Explorer.Collapse all nodes
@@ -6310,7 +6036,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Add Web Reference
- Right click context menu option to add a web reference to the project.B&uild
@@ -6320,7 +6045,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Collapse all
- Collapses this node and all its subtree in project browser (i.e. solution explorer)Delete '${FileName}' permanently?
@@ -6339,7 +6063,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Existing folder...
- Project > Add > Existing folderDo you want to copy the folder to the target directory?
@@ -6349,14 +6072,12 @@ Removed the end part of the original message ", reason '${Message}'" since this
Existing Item as Dependent Item...
- Context menu entry for a file; adds an existing item which will be dependent upon the selected file&Existing Project...Build documentation from XML comments
- Build documentation from XML comments using SandcastleYou need to edit the project build options to generate a xml documentation file.
@@ -6369,7 +6090,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Generating documentation from XML comments requires the 'Sandcastle Help File Builder' to be installed.
- Message when clicking on 'generate documentation' and SHFB is missingHtml E&xport
@@ -6385,7 +6105,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
New Dependent Item...
- Context menu entry for a file; adds a new file which will be dependent upon the selected fileN&ew Folder
@@ -6404,14 +6123,12 @@ Removed the end part of the original message ", reason '${Message}'" since this
Open Output Folder
- Opens the output folder (where the project binaries get created) in windows explorer.R&ebuildRefresh Web Reference
- Right click context menu option that will update/refresh the web reference (i.e. regenerates the web proxy and downloads any extra files from the web service url).Re&name
@@ -6430,18 +6147,15 @@ Removed the end part of the original message ", reason '${Message}'" since this
Delete all web references
- Title of the dialog box when the user tries to remove all web references.Select Reflector path
- Button to select the Reflector pathReflector was found in the following directory:Reflector
- Title of Reflector path option panelOpen .NET Reflector
@@ -6583,21 +6297,18 @@ Removed the end part of the original message ", reason '${Message}'" since this
Ungreedy star
- An ungreedy star can match any number of characters, but unlike the normal star, it only matches as few as required (by the rest of the expression).Whitespace characterWord border
- "Word border" is a "character" of length 0 representing a location between word and non-word character - either start or end of a word.Word character valueUpdate bitmap ...
- Text for the link label that make it possible to update the stored bitmapDo you really want to delete the selected resource(s)?
@@ -6607,9 +6318,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Can't load resource
- start of messagebox warning text, ex:
-
-"Can't load resource" + resourceNameError: Resource code generator is skipping resource file "{0}" because the generated class would conflict with the existing class "{1}".
@@ -6628,7 +6336,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Copy resource name
- Context menu item; copies the name of the currently selcted resource item to the clipboard&Rename
@@ -6689,7 +6396,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Key files
- File filter for .snk, .pfx and .key filesNAnt Build Files
@@ -6714,7 +6420,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
XML Schema Files (*.xsd)
- File filter for .xsd files.XSL files
@@ -6745,7 +6450,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
Classes deriving from ${Name}
- Title for search results for derived classesConvert to automatic property
@@ -6767,14 +6471,12 @@ Removed the end part of the original message ", reason '${Message}'" since this
Declaring type
- Menu item that contains refactoring entries for the class that contains the selected member.Expand automatic propertyExtract Interface
- Used by the refactoring context menu to call the Extract Interface dialog.Find base classes
@@ -6835,25 +6537,21 @@ Removed the end part of the original message ", reason '${Message}'" since this
References to ${Name}
- Title for search results for referencesRemove &unused import statementsRename
- Title of rename input boxEnter the new name of the class:&Rename
- Menu command to rename a memberShould SharpDevelop rename the property '{0}' to '{1}'?
- displayed when a field that has a property is renamedRename file to '${FileName}'
@@ -6878,7 +6576,6 @@ Removed the end part of the original message ", reason '${Message}'" since this
There are no tools available for the current document.
- Text shown in the 'tools' pad when there are no tools availableXSL-T
@@ -6892,18 +6589,12 @@ Try using SharpDevelop 3.2 for the conversion; or create a new project and add t
Could not save {0}:\n{1}
- {0} is the name of the solution.
-{1} is the IOException.Message property.Cannot save solution file {0}. It is marked readonly.
- {0} is the name of the sln file.
-Message shown when Solution.Save() is called on a solution with the ReadOnly attribute.Could not save {0}:\n{1}\n\nEnsure the file is writable.
- {0} is the file name of the solution.
-{1} is the value of the property UnauthorizedAccessException.Message.There were resource files in the project.
@@ -6913,37 +6604,30 @@ The resources files have been renamed/moved accordingly.The following files could not be renamed/moved automatically:
- used when moving of files failed'{0}' is not a valid solution file.
- Shown when .sln file contains invalid data.Can't read Microsoft Solution file format {0}.One (or more) of the parameter values are invalid.
- Message displayed when the user write an invalid value into the prameter input windowsnot supported byCan't open the connection. Check your connection string.
- Message displayed when #Query can't open a connectionCan't execute the procedure due to an error.
- Message displayed when an error occur during the execution of a procedure.Can't execute your SQL query due to an error
- Message displayed when an error occur during a data extract or a SQL queryInvalid connection string!
- Message displayed when the connection string is wrong.key must be of type String.
@@ -6953,93 +6637,72 @@ The resources files have been renamed/moved accordingly.
Add Connection ...
- Context menu for add a connection in the sharpquery's treeviewConnect to database
- context menu in the sharpquery's treeviewDatabase connections
- text of the root node into the sharpquery's treeviewDisconnect
- context menu of the sharpquery's treeviewExecute
- context menu that execute a SQL procedureExtract Data
- context menu command that extracts data from a table and display it into a grid.Modify the connection ...
- context menu that displays the windows connection properties to change a connection string.Procedures
- name of the root procedures node into the sharpquery's treeviewRefresh
- context menu to refresh a connectionRemove
- context menu to remove a connection from the sharpquery's treeviewSchemas
- i think this translatiopn is invariant because it's the technical name of schemas ...DatabaseTables
- Name of the root tables node in the treeviewViews
- name of the root views nodeDatabase ExplorerAdd connection
- context menu to add a connectionRefresh
- tooltip of the context menu taht refreshs a connectionReset
- Caption a the button that reset the user parameters inputParameter's data type
- Listview header column caption that list parameters data typeParameters input
- Caption of the windows that allows a user to input parameters values while he executes a procedure in #Query.Parameter's name
- displayed in column header of the listview that lists all parameters of a procedureParameter's type
- Caption of a listview header column that display parameters typeParameter's value
- Caption of a listview header column that display parameters valuesSharpDevelop Reports
@@ -7055,7 +6718,6 @@ The resources files have been renamed/moved accordingly.
Grouping/Sorting
- Manage grouping and sorting of the DataPaste Field
@@ -7092,14 +6754,12 @@ The resources files have been renamed/moved accordingly.
To run SharpDevelop Reports you need at least one(1) installed Printer
- Errormessage when no printer is installedThis is not a valid report created with 'SharpReport'.Could not read file , file corrupt (SharpReportFile is improperly formatted)
- Message when something is wrong with the file formatAvailable Fields
@@ -7274,11 +6934,9 @@ The resources files have been renamed/moved accordingly.
Save Result (Schema and Data)
- Save displayed Data to *.xsd FileSave Result (Schema only)
- Save only the Schema to *.xsd FileShow Query result
@@ -7399,31 +7057,24 @@ The resources files have been renamed/moved accordingly.
Windows Applications
- Category for windows applications project/file templates.Class that implements ConfigurationElement.
- Description for CSharp.ConfigurationElement.xftConfiguration Element
- Name of the CSharp.ConfigurationElementClass that inherits ConfigurationElementCollection.
- Description string for ConfigurationElementCollection.xftConfiguration Element Collection
- Name string for ConfigurationElementCollection.xftClass that implements ConfigurationSection
- Description for CSharp.ConfigurationSection.xftConfiguration Section
- Name for CSharp.ConfigurationSection.xftAn empty class declaration.
@@ -7442,11 +7093,9 @@ The resources files have been renamed/moved accordingly.
A window for a Gtk# application.
- Description for Gtk# Window file template.Gtk# Window
- Name of the file template for a Gtk# Window.Creates an empty header file.
@@ -7471,7 +7120,6 @@ The resources files have been renamed/moved accordingly.
Module
- VB ModuleCreates a MSBuild file with an empty "Build" target.
@@ -7487,11 +7135,9 @@ The resources files have been renamed/moved accordingly.
Creates a new NAnt build file.
- Description for the NAnt build file template.NAnt Build File
- Name for the template that creates a new NAnt build file.Add '#if TEST ... #endif'
@@ -7516,7 +7162,6 @@ The resources files have been renamed/moved accordingly.
Set to true to declare the class as sealed.
- Class templates should use this property if they want to offer the user the option of creating their class as sealed.Options
@@ -7652,11 +7297,9 @@ The resources files have been renamed/moved accordingly.
Generates an app.config file. For your application. MSBuild will rename this to appname.exe.config if this project is an executable.
- Describes the app.config template.App.Config File
- File name for the app.config template.Empty XML file
@@ -7699,7 +7342,6 @@ The resources files have been renamed/moved accordingly.
Unmanaged console project
- Name for project template (A project that creates a command line application in unmanaged (native) code.)A project for creating an Application with Direct3D interface.
@@ -7715,19 +7357,15 @@ The resources files have been renamed/moved accordingly.
A project that creates a Glade# application
- Glade# project template description.Glade# Application
- Name of Glade# project template.A project that creates a Gtk# application
- Gtk# project template description.Gtk# Application
- Name of Gtk# project template.A windows installer project for creating a MSI installer.
@@ -7761,7 +7399,6 @@ The resources files have been renamed/moved accordingly.
A project that creates an application with a icon in the notification area on the taskbar.
- Note: "System Tray" is NOT a valid name for the notification area. See http://blogs.msdn.com/oldnewthing/archive/2003/09/10/54831.aspxNotifyIcon Application
@@ -7816,7 +7453,6 @@ The resources files have been renamed/moved accordingly.
&Analysis
- Analysis / Quality Tools main menu entryB&uild
@@ -7826,7 +7462,6 @@ The resources files have been renamed/moved accordingly.
Break
- The caption of the Pause/Break key on the keyboard, as shortcut for aborting the buildB&uild ${CurrentProjectName}
@@ -7857,7 +7492,6 @@ The resources files have been renamed/moved accordingly.
Set configuration
- Set the project configuration (debug/release)Set platform
@@ -7912,7 +7546,6 @@ The resources files have been renamed/moved accordingly.
Remove all breakpoints
- Main menu command for removing all breakpoints + tooltip for the corresponding toolbar button (in the breakpoints pad)Run &without debugger
@@ -7946,7 +7579,6 @@ The resources files have been renamed/moved accordingly.
Toggle Breakpoint
- Set/remove breakpoint on current line&Edit
@@ -8028,7 +7660,6 @@ The resources files have been renamed/moved accordingly.
Paste as string
- Pastes the clipboard content as string literalPaste text from clipboard
@@ -8110,8 +7741,6 @@ The resources files have been renamed/moved accordingly.
Print &Preview
- Changed hotkey:
-P&rint Preview to Print &PreviewRecent &Files
@@ -8139,7 +7768,6 @@ P&rint Preview to Print &Preview
Save with &encoding...
- Saves a text file by choosing the target encodingF&ormat
@@ -8339,7 +7967,6 @@ Do you want to stop debugging?
Find Next &Selected
- Search menu option that finds the next match based on the currently selected text.&Go To...
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs b/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs
index 37ed13a334..bbccdfee99 100644
--- a/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs
+++ b/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs
@@ -5,6 +5,7 @@ using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
+using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
@@ -13,7 +14,6 @@ using System.Windows.Forms;
using Debugger;
using Debugger.AddIn.Tooltips;
using Debugger.AddIn.TreeModel;
-using Debugger.Interop;
using Debugger.Interop.CorPublish;
using ICSharpCode.Core;
using ICSharpCode.Core.WinForms;
@@ -23,6 +23,7 @@ using ICSharpCode.NRefactory.Visitors;
using ICSharpCode.SharpDevelop.Bookmarks;
using ICSharpCode.SharpDevelop.Debugging;
using ICSharpCode.SharpDevelop.Gui;
+using ICSharpCode.SharpDevelop.Gui.OptionPanels;
using ICSharpCode.SharpDevelop.Project;
using Process = Debugger.Process;
@@ -137,47 +138,93 @@ namespace ICSharpCode.SharpDevelop.Services
if (!ServiceInitialized) {
InitializeService();
}
- string version = debugger.GetProgramVersion(processStartInfo.FileName);
- if (version.StartsWith("v1.0")) {
- MessageService.ShowMessage("${res:XML.MainMenu.DebugMenu.Error.Net10NotSupported}");
- } else if (version.StartsWith("v1.1")) {
- MessageService.ShowMessage(StringParser.Parse("${res:XML.MainMenu.DebugMenu.Error.Net10NotSupported}").Replace("1.0", "1.1"));
-// } else if (string.IsNullOrEmpty(version)) {
-// // Not a managed assembly
-// MessageService.ShowMessage("${res:XML.MainMenu.DebugMenu.Error.BadAssembly}");
- } else if (debugger.IsKernelDebuggerEnabled) {
- MessageService.ShowMessage("${res:XML.MainMenu.DebugMenu.Error.KernelDebuggerEnabled}");
- } else {
- attached = false;
- if (DebugStarting != null)
- DebugStarting(this, EventArgs.Empty);
+
+ if (FileUtility.IsUrl(processStartInfo.FileName))
+ {
+ if (ProjectService.CurrentProject == null) {
+ MessageService.ShowError("${res:ICSharpCode.WepProjectOptionsPanel.NoProjectUrlOrProgramAction}");
+ return;
+ }
- try {
- Process process = debugger.Start(processStartInfo.FileName,
- processStartInfo.WorkingDirectory,
- processStartInfo.Arguments);
- SelectProcess(process);
- } catch (System.Exception e) {
- // COMException: The request is not supported. (Exception from HRESULT: 0x80070032)
- // COMException: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
- // COMException: The requested operation requires elevation. (Exception from HRESULT: 0x800702E4)
- // COMException: The directory name is invalid. (Exception from HRESULT: 0x8007010B)
- // BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
- // UnauthorizedAccessException: Отказано в доступе. (Исключение из HRESULT: 0x80070005 (E_ACCESSDENIED))
- if (e is COMException || e is BadImageFormatException || e is UnauthorizedAccessException) {
- string msg = StringParser.Parse("${res:XML.MainMenu.DebugMenu.Error.CannotStartProcess}");
- msg += " " + e.Message;
- // TODO: Remove
- if (e is COMException && ((uint)((COMException)e).ErrorCode == 0x80070032)) {
- msg += Environment.NewLine + Environment.NewLine;
- msg += "64-bit debugging is not supported. Please set Project -> Project Options... -> Compiling -> Target CPU to 32bit.";
+ var debugData = WebProjectsOptions.Instance.GetWebProjectOptions(ProjectService.CurrentProject.Name);
+ if (debugData == null) {
+ MessageService.ShowError("${res:ICSharpCode.WepProjectOptionsPanel.NoProjectUrlOrProgramAction}");
+ return;
+ }
+
+ var project = ProjectService.CurrentProject as CompilableProject;
+
+ if (project != null) {
+ // start browser
+ if (project.StartAction == StartAction.StartURL)
+ System.Diagnostics.Process.Start(processStartInfo.FileName);
+ else
+ if (!string.IsNullOrEmpty(debugData.Data.ProjectUrl) && debugData.Data.WebServer == WebServer.IIS)
+ System.Diagnostics.Process.Start("iexplore.exe", debugData.Data.ProjectUrl);
+ }
+
+ // try debug IIS WP
+ var processes = System.Diagnostics.Process.GetProcesses();
+ string processName = WebProjectService.WorkerProcessName;
+ if (debugData.Data.WebServer == WebServer.IISExpress)
+ processName = "iisexpress";
+
+ foreach(var process in processes) {
+ if (process.ProcessName.ToLower().IndexOf(processName) > -1) {
+ Attach(process);
+ break;
+ }
+ }
+
+ if (!attached) {
+ string format = ResourceService.GetString("ICSharpCode.WepProjectOptionsPanel.NoIISWP");
+ MessageService.ShowMessage(string.Format(format, processName));
+ }
+ }
+ else {
+ string version = debugger.GetProgramVersion(processStartInfo.FileName);
+
+ if (version.StartsWith("v1.0")) {
+ MessageService.ShowMessage("${res:XML.MainMenu.DebugMenu.Error.Net10NotSupported}");
+ } else if (version.StartsWith("v1.1")) {
+ MessageService.ShowMessage(StringParser.Parse("${res:XML.MainMenu.DebugMenu.Error.Net10NotSupported}").Replace("1.0", "1.1"));
+// } else if (string.IsNullOrEmpty(version)) {
+// // Not a managed assembly
+// MessageService.ShowMessage("${res:XML.MainMenu.DebugMenu.Error.BadAssembly}");
+ } else if (debugger.IsKernelDebuggerEnabled) {
+ MessageService.ShowMessage("${res:XML.MainMenu.DebugMenu.Error.KernelDebuggerEnabled}");
+ } else {
+ attached = false;
+ if (DebugStarting != null)
+ DebugStarting(this, EventArgs.Empty);
+
+ try {
+ Process process = debugger.Start(processStartInfo.FileName,
+ processStartInfo.WorkingDirectory,
+ processStartInfo.Arguments);
+ SelectProcess(process);
+ } catch (System.Exception e) {
+ // COMException: The request is not supported. (Exception from HRESULT: 0x80070032)
+ // COMException: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
+ // COMException: The requested operation requires elevation. (Exception from HRESULT: 0x800702E4)
+ // COMException: The directory name is invalid. (Exception from HRESULT: 0x8007010B)
+ // BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
+ // UnauthorizedAccessException: Отказано в доступе. (Исключение из HRESULT: 0x80070005 (E_ACCESSDENIED))
+ if (e is COMException || e is BadImageFormatException || e is UnauthorizedAccessException) {
+ string msg = StringParser.Parse("${res:XML.MainMenu.DebugMenu.Error.CannotStartProcess}");
+ msg += " " + e.Message;
+ // TODO: Remove
+ if (e is COMException && ((uint)((COMException)e).ErrorCode == 0x80070032)) {
+ msg += Environment.NewLine + Environment.NewLine;
+ msg += "64-bit debugging is not supported. Please set Project -> Project Options... -> Compiling -> Target CPU to 32bit.";
+ }
+ MessageService.ShowMessage(msg);
+
+ if (DebugStopped != null)
+ DebugStopped(this, EventArgs.Empty);
+ } else {
+ throw;
}
- MessageService.ShowMessage(msg);
-
- if (DebugStopped != null)
- DebugStopped(this, EventArgs.Empty);
- } else {
- throw;
}
}
}
@@ -396,7 +443,7 @@ namespace ICSharpCode.SharpDevelop.Services
bool CanEvaluate
{
- get {
+ get {
return debuggedProcess != null && !debuggedProcess.IsRunning && debuggedProcess.SelectedStackFrame != null;
}
}
@@ -419,7 +466,7 @@ namespace ICSharpCode.SharpDevelop.Services
}
}
- public ITreeNode GetNode(string variable, string currentImageName = null)
+ public ITreeNode GetNode(string variable, string currentImageName = null)
{
try {
var expression = GetExpression(variable);
@@ -659,7 +706,7 @@ namespace ICSharpCode.SharpDevelop.Services
debuggedProcess.ExceptionThrown += debuggedProcess_ExceptionThrown;
debuggedProcess.Resumed += debuggedProcess_DebuggingResumed;
- debuggedProcess.BreakAtBeginning = BreakAtBeginning;
+ debuggedProcess.BreakAtBeginning = BreakAtBeginning;
}
// reset
BreakAtBeginning = false;
diff --git a/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj b/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj
index b52f0b25ba..a919c46027 100644
--- a/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj
+++ b/src/Main/Base/Project/ICSharpCode.SharpDevelop.csproj
@@ -44,6 +44,7 @@
TRACE;PUBLICINTERPROCESS
+ ..\..\..\Libraries\Mono.Cecil\Mono.Cecil.dllFalse
@@ -62,6 +63,7 @@
+
@@ -245,6 +247,10 @@
SelectCulturePanel.xamlCode
+
+
+ WebProjectOptionsPanel.xaml
+ ToolNotFoundDialog.cs
@@ -731,6 +737,7 @@
+
@@ -812,6 +819,7 @@
+
@@ -840,9 +848,11 @@
+
+
diff --git a/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/DebugOptions.cs b/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/DebugOptions.cs
index 25b080a13e..f2678b2880 100644
--- a/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/DebugOptions.cs
+++ b/src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/DebugOptions.cs
@@ -2,7 +2,11 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
+using System.Windows;
using System.Windows.Forms;
+using System.Windows.Forms.Integration;
+using System.Windows.Media;
+
using ICSharpCode.SharpDevelop.Project;
using RadioBinding = System.Collections.Generic.KeyValuePair;
@@ -50,6 +54,20 @@ namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
UpdateEnabledStates(this, EventArgs.Empty);
helper.AddConfigurationSelector(this);
+
+ // add server for web projects
+ if (ProjectService.CurrentProject is CompilableProject) {
+ bool isWebProject = ((CompilableProject)ProjectService.CurrentProject).IsWebProject;
+ if (isWebProject) {
+ ElementHost host = new ElementHost();
+ host.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right;
+ host.Height = 160;
+ host.Top = 240;
+ host.Left = 8;
+ host.Child = new WebProjectOptionsPanel(this);
+ Controls.Add(host);
+ }
+ }
}
void UpdateEnabledStates(object sender, EventArgs e)
@@ -57,5 +75,24 @@ namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
Get("startExternalProgram").Enabled = Get