Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/x sharp compiler #1505

Merged
merged 3 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/Help/Topics/Opt-usenativeversion.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="Geert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:45:35.437+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-usenativeversion</title>
<keywords>
<keyword>-usenativeversion</keyword>
</keywords>
<body>
<header>
<para styleclass="Heading1">-usenativeversion</para>
</header>
<para styleclass="Normal">The -<text styleclass="Body Text">usenativeversion</text> compiler option tells the compiler to use the native Win32 version resource supplied in a Win32 resource file and to not generate a resource from the Assembly attributes</para>
<para styleclass="Heading2">Syntax</para>
<para styleclass="Code with box">-usenativeversion  </para>
<para styleclass="Code with box">-usenativeversion &#160;</para>
<para styleclass="Heading2">Remarks</para>
<para styleclass="Normal">Managed resources are usually generated from code such as the code below:</para>
<para styleclass="Code with box">[assembly: AssemblyTitleAttribute( &quot;Mycompany Custom Controls&quot; )]<br/>[assembly: AssemblyDescriptionAttribute( &quot;This is a description of the assembly&quot; )]<br/>#ifdef __DEBUG__<br/>[assembly: AssemblyConfigurationAttribute( &quot;Debug&quot; )]<br/>#else<br/>[assembly: AssemblyConfigurationAttribute( &quot;Release&quot; )]<br/>#endif<br/>[assembly: AssemblyCompanyAttribute( &quot;MyCompanyName&quot; )]<br/>[assembly: AssemblyProductAttribute( &quot;MyProductName&quot; )]<br/>[assembly: AssemblyCopyrightAttribute( &quot;Copyright © 2020 MyCompanyName&quot; )]<br/>[assembly: AssemblyTrademarkAttribute( &quot;TM MyCompanyName&quot; )]<br/>[assembly: AssemblyCultureAttribute( &quot;en-US&quot; )]<br/>// Version information for an assembly consists of the following four values:<br/>[assembly: AssemblyVersionAttribute( &quot;2.3.1&quot; )]<br/>[assembly: AssemblyFileVersionAttribute( &quot;2.3.1&quot; )]<br/>[assembly: AssemblyInformationalVersionAttribute( &quot;2.3.1 Special Build for customer Contoso&quot; )]</para>
<para styleclass="Body Text"></para>
<para styleclass="Body Text"><text styleclass="Normal">We use this kind of attributes to generate the version info in our runtime assemblies:</text></para>
<para styleclass="Body Text"></para>
<para styleclass="Body Text"><image src="versioninfo.png" scale="100.00%" styleclass="Image Caption"></image></para>
<para styleclass="Body Text"><image src="versioninfo.png" scale="100.00%" styleclass="Image Caption" figurelistinclude="0"></image></para>
<para styleclass="Normal" style="margin-left:13px;"></para>
<para styleclass="Normal" style="margin-left:13px;"></para>
<para styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Application">Click here to see the property page</link></para>
Expand Down
4 changes: 2 additions & 2 deletions docs/Help/Topics/X-Compiler-Options-By-Category.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" modified="2024-02-23T09:39:23.566+01:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:43:21.462+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>X# Compiler Options By Category</title>
<keywords>
<keyword>compiler options</keyword>
Expand Down Expand Up @@ -171,7 +171,7 @@
</tr>
<tr style="vertical-align:top">
<td>
<para styleclass="Normal"><link displaytype="text" defaultstyle="true" type="topiclink" href="opt-namedargs">-namedarguments</link></para>
<para styleclass="Normal"><link displaytype="text" defaultstyle="true" type="topiclink" href="opt-namedargs">-namedargs</link></para>
</td>
<td>
<para styleclass="Normal"><text style="color:#000000;">Specifies whether to allow named arguments in the parser or not.</text></para>
Expand Down
6 changes: 3 additions & 3 deletions docs/Help/Topics/X-Compiler-Options-Listed-Alph.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" modified="2024-02-23T09:40:14.853+01:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:47:45.424+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>X# Compiler Options Listed Alphabetically</title>
<keywords>
<keyword>Compiler Options</keyword>
Expand All @@ -10,7 +10,7 @@
<header>
<para styleclass="Heading1">X# Compiler Options Listed Alphabetically</para>
</header>
<para styleclass="Body Text">The following compiler options are sorted by category. For an alphabetical list, see : <link displaytype="text" defaultstyle="true" type="topiclink" href="X-Compiler-Options-Listed-Alph">X# Compiler Options Listed Alphabetically</link></para>
<para styleclass="Body Text">The following compiler options are sorted Alphabetically. For a list by category see : <link displaytype="text" defaultstyle="true" type="topiclink" href="X-Compiler-Options-By-Category">X# Compiler Options Listed By Category</link></para>
<para styleclass="Body Text">The options in <text style="font-weight:bold; color:#ff0000;">RED</text> are not supported yet.</para>
<para styleclass="Heading2"><table styleclass="Default" rowcount="106" colcount="2">
<thead style="vertical-align:top">
Expand Down Expand Up @@ -855,7 +855,7 @@
</tr>
<tr style="vertical-align:top">
<td>
<para styleclass="Normal">-xpp1</para>
<para styleclass="Normal"><link displaytype="text" defaultstyle="true" type="topiclink" href="opt-xpp1">-xpp1</link></para>
</td>
<td>
<para styleclass="Normal">Classes without parent class inherit from the Abstract class</para>
Expand Down
12 changes: 6 additions & 6 deletions docs/Help/Topics/opt-allowdot.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:51:21.252+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-allowdot</title>
<keywords>
<keyword>-allowdot</keyword>
Expand All @@ -10,7 +10,7 @@
<para styleclass="Heading1">-allowdot</para>
</header>
<para styleclass="Normal">The -allowdot compiler option allows you to control if the DOT (&quot;.&quot;) operator should be allowed to access instance members.</para>
<list id="2" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="font-family:Symbol; font-size:11pt; color:#000000;">
<list id="0" type="ul" listtype="bullet" formatstring="&#183;" format-charset="SYMBOL_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="font-family:Symbol; font-size:11pt; color:#000000;">
<li styleclass="Normal">The default for the Core and FoxPro dialects is /allowdot+</li>
<li styleclass="Normal">The default for the other dialects is /allowdot-</li>
</list>
Expand All @@ -20,11 +20,11 @@
<para styleclass="List">+ | - <tab />Specifying +, or just -</para>
<para styleclass="Heading3">To set this compiler option in the Visual Studio development environment:</para>
<para styleclass="Normal"></para>
<list id="3" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<list id="1" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<li styleclass="Normal" style="margin-left:13px;">Open the project&apos;s Properties page.</li>
<li styleclass="Normal" style="margin-left:13px;">Click the Dialect tab. </li>
<li styleclass="Normal" style="margin-left:13px;">Change the value.</li>
<li styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Dialect">Click here to see the property page</link></li>
<li styleclass="Normal" style="margin-left:13px;">Click the Language tab. </li>
<li styleclass="Normal" style="margin-left:13px;">Change &quot;Allow DOT for instance members&quot; value of checkbox</li>
<li styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Language">Click here to see the property page</link></li>
</list>
<para styleclass="Heading2"></para>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/Help/Topics/opt-allowoldstyleassignments.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" modified="2023-02-14T13:22:11.188+01:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:51:47.846+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-allowoldstyleassignments</title>
<body>
<header>
Expand All @@ -20,7 +20,7 @@
<list id="1" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<li styleclass="Normal" style="margin-left:13px;">Open the project&apos;s Properties page.</li>
<li styleclass="Normal" style="margin-left:13px;">Click the Language tab. </li>
<li styleclass="Normal" style="margin-left:13px;">Change the value.</li>
<li styleclass="Normal" style="margin-left:13px;">Change &quot;Allow Old Style assignments&quot; Value of checkbox</li>
<li styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Language">Click here to see the property page</link></li>
</list>
<para styleclass="Heading2"></para>
Expand Down
6 changes: 3 additions & 3 deletions docs/Help/Topics/opt-debug.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:58:44.038+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-debug</title>
<keywords>
<keyword>-d</keyword>
Expand Down Expand Up @@ -31,11 +31,11 @@
<para styleclass="Normal"></para>
<para styleclass="Heading3">To set this compiler option in the Visual Studio development environment</para>
<para styleclass="Normal"></para>
<list id="2" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<list id="0" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<li styleclass="Normal" style="margin-left:13px;">Open the project&apos;s Properties page.</li>
<li styleclass="Normal" style="margin-left:13px;">Click the Build property page.</li>
<li styleclass="Normal" style="margin-left:13px;">Click the Advanced button.</li>
<li styleclass="Normal" style="margin-left:13px;">Modify the Debug Info property.</li>
<li styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Build">Click here to see the property page</link></li>
</list>
<para styleclass="Normal" style="margin-left:13px;"></para>
<para styleclass="Normal">For information on how to set this compiler option programmatically, see DebugSymbols.</para>
Expand Down
7 changes: 4 additions & 3 deletions docs/Help/Topics/opt-define.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:59:00.477+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-define</title>
<keywords>
<keyword>-define</keyword>
Expand Down Expand Up @@ -28,9 +28,10 @@
<para styleclass="Normal"></para>
<para styleclass="Normal">The X# compiler defines a couple of symbols automatically. See the <link displaytype="text" defaultstyle="true" type="topiclink" href="Compiler-Macros">Macros </link>topic elsewhere in this documentation.</para>
<para styleclass="Normal"><br/><text styleclass="Heading3">To set this compiler option in the Visual Studio development environment</text></para>
<list id="1" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<list id="0" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<li styleclass="Normal" style="margin-left:13px;">Open the project&apos;s Properties page.</li>
<li styleclass="Normal" style="margin-left:13px;">On the Build tab, type the symbol that is to be defined in the Conditional compilation symbols box. For example, if you are using the code example that follows, just type xx into the text box.</li>
<li styleclass="Normal" style="margin-left:13px;">On the Build tab, type the symbol that is to be defined in the Defines for the preprocessor box. <br/>For example, if you are using the code example that follows, just type xx into the text box.</li>
<li styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Build">Click here to see the property page</link></li>
</list>
<para styleclass="Normal" style="margin-left:13px;"></para>
<para styleclass="Normal">For information on how to set this compiler option programmatically, see DefineConstants.</para>
Expand Down
8 changes: 4 additions & 4 deletions docs/Help/Topics/opt-errorreport.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:53:57.839+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-errorreport</title>
<keywords>
<keyword>-errorreport</keyword>
Expand Down Expand Up @@ -32,10 +32,10 @@
<para styleclass="Normal">For more information about error debugger, see Description of the Dr. Watson for Windows (Drwtsn32.exe) Tool.</para>
<para styleclass="Heading3">To set this compiler option in the Visual Studio development environment</para>
<para styleclass="Normal"></para>
<list id="1" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<list id="0" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="margin-left:13px; font-family:Arial; font-size:11pt; color:#000000;">
<li styleclass="Normal" style="margin-left:13px;">Open the project&apos;s Properties page. </li>
<li styleclass="Normal" style="margin-left:13px;">Click the Build property page.</li>
<li styleclass="Normal" style="margin-left:13px;">Click the Advanced button.</li>
<li styleclass="Normal" style="margin-left:13px;"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Build">Click the Build property page</link>.</li>
<li styleclass="Normal" style="margin-left:13px;">Add -errorreport in the Extra Commandline Options control</li>
</list>
<para styleclass="Normal" style="margin-left:13px;"></para>
</body>
Expand Down
7 changes: 5 additions & 2 deletions docs/Help/Topics/opt-fovf.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<topic template="Default" modified="2024-07-01T20:49:15.928+02:00" lasteditedby="robert" version="2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
<title>-fovf</title>
<keywords>
<keyword>-checked</keyword>
Expand All @@ -10,6 +10,9 @@
<header>
<para styleclass="Heading1">-fovf</para>
</header>
<para styleclass="Normal">The -fovf compiler option is an alias for the <link displaytype="text" defaultstyle="true" type="topiclink" href="opt-checked">-checked</link> command line option for compatibility.</para>
<para styleclass="Normal">The -ovf compiler option is an alias for the <link displaytype="text" defaultstyle="true" type="topiclink" href="opt-checked">-checked</link> command line option for compatibility.</para>
<para styleclass="Normal">We have added this option because Vulcan.Net also had that option.</para>
<para styleclass="Normal"></para>
<para styleclass="Normal"><link displaytype="text" defaultstyle="true" type="topiclink" href="PropPage-Language">Click here to see the property page</link></para>
</body>
</topic>
Loading