<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eric</title>
    <description>The latest articles on DEV Community by Eric (@techfan).</description>
    <link>https://dev.to/techfan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1248877%2Fba12a410-d5fc-4e41-84d3-50b20a9bfb2a.png</url>
      <title>DEV Community: Eric</title>
      <link>https://dev.to/techfan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/techfan"/>
    <language>en</language>
    <item>
      <title>Information about Flutter Windows Runner.rc file</title>
      <dc:creator>Eric</dc:creator>
      <pubDate>Thu, 04 Jan 2024 17:15:45 +0000</pubDate>
      <link>https://dev.to/techfan/information-about-flutter-windows-runnerrc-file-5729</link>
      <guid>https://dev.to/techfan/information-about-flutter-windows-runnerrc-file-5729</guid>
      <description>&lt;p&gt;I am relatively new to Flutter and trying to understand the fields that appear in the &lt;code&gt;windows/runner/Runner.rc&lt;/code&gt;. Is there any official documentation that describes each of these fields, their specific purpose, and any limitations in their values?&lt;/p&gt;

&lt;p&gt;So far, all I've found in the official documentation is this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.flutter.dev/platform-integration/windows/building"&gt;Building Windows apps with Flutter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which provides this very vague advice:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Finally, further properties for the app executable itself can be found in the Runner.rc file in the windows\runner directory. Here you can change the copyright information...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For example, for &lt;code&gt;ProductName&lt;/code&gt;, it would be helpful to know how it is used (e.g. displayed in the title bar, present in the file metadata, etc.). It would also be helpful to know about any limitations to its value (e.g. cannot include &lt;em&gt;XXX&lt;/em&gt; characters) or limitations to its length (e.g. cannot be longer than &lt;em&gt;NNN&lt;/em&gt; characters). While the name clearly states that it is a "product name", this is very limited information.&lt;/p&gt;

&lt;p&gt;This same sort of information would be helpful for each of the fields. I'd appreciate anyone sharing whatever information, beyond the obvious, you can about each of the fields.&lt;/p&gt;

&lt;p&gt;I'll get it started by listing the fields that appear in the template file and my best guesses for the ones I (might) care about, which appear in the &lt;code&gt;StringFileInfo&lt;/code&gt; block.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CompanyName&lt;/code&gt; - The company name. My guesses: Provides value of &lt;code&gt;AssemblyCompanyAttribute&lt;/code&gt; for assembly. No character limitations. Length limitation is unknown. Appears in "About" dialog for application and in executable/DLL file details.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;FileDescription&lt;/code&gt; - The file description. My guesses: Provides value of &lt;code&gt;AssemblyDescriptionAttribute&lt;/code&gt; for assembly. No character limitations. Length limitation is unknown. Appears in "About" dialog for application and in executable/DLL file details.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;FileVersion&lt;/code&gt; - The file version. My guesses: Provides value of &lt;code&gt;AssemblyFileVersionAttribute&lt;/code&gt; for assembly. Limited to characters (and format?) valid for a version (&lt;code&gt;n.n.n.n&lt;/code&gt;). Length limitation is unknown. Unknown appearance.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;InternalName&lt;/code&gt; - The internal name. No guesses.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;LegalCopyright&lt;/code&gt; - The legal copyright. My guesses: Provides value of &lt;code&gt;AssemblyCopyrightAttribute&lt;/code&gt;for assembly. No character limitations. Length limitation is unknown. Appears in "About" dialog for application and in executable/DLL file details.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;OriginalFilename&lt;/code&gt; - The original file name. No guesses.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ProductName&lt;/code&gt; - The "friendly" name of the product. My guesses: Provides value of &lt;code&gt;AssemblyProductAttribute&lt;/code&gt; of assembly. No character limitations. Length limitation is unknown. Appears in Window title, "About" dialog, and in executable/DLL file details.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ProductVersion&lt;/code&gt; - The product version. My guesses: Provides the version for the assembly (&lt;code&gt;Assembly.GetName().Version&lt;/code&gt;). Limited to characters (and format?) valid for a version (&lt;code&gt;n.n.n.n&lt;/code&gt;). Length limitation is unknown. Appears in "About" dialog for application and in executable/DLL file details.&lt;/p&gt;

&lt;p&gt;The following other fields also appear. I have no guesses with regard to them:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ICON&lt;/code&gt;&lt;br&gt;
&lt;code&gt;VERSION_AS_NUMBER&lt;/code&gt;&lt;br&gt;
&lt;code&gt;FILEVERSION&lt;/code&gt;&lt;br&gt;
&lt;code&gt;PRODUCTVERSION&lt;/code&gt;&lt;br&gt;
&lt;code&gt;FILEFLAGSMASK&lt;/code&gt;&lt;br&gt;
&lt;code&gt;FILEFLAGS&lt;/code&gt;&lt;br&gt;
&lt;code&gt;FILEOS&lt;/code&gt;&lt;br&gt;
&lt;code&gt;FILETYPE&lt;/code&gt;&lt;br&gt;
&lt;code&gt;FILESUBTYPE&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I'll try to come back and summarize/edit a final response that adds whatever information people are willing to share. If someone has access to the official Flutter documents, feel free to reuse whatever information is in that final response.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>windows</category>
      <category>desktop</category>
    </item>
  </channel>
</rss>
