title: How to properly target Linux as Target OS in VisualStudio 2022?
body: <p>I am developing a .NET6.0 console app in VisualStudio 2022. The app will run on Linux.</p>
  <p>In project Properties/Application/General, there is a &quot;Target OS&quot; setting. The drop down list allows me to choose from the following OS':</p>
  <p><a href="https://i.stack.imgur.com/6xXc2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6xXc2.png" alt="enter image description here" /></a></p>
  <p>There is no Linux option, so I set this to (None) and when publish the app with &quot;Target runtime&quot; in &quot;Publish profile&quot; as 'linux-x64':</p>
  <p><a href="https://i.stack.imgur.com/AUJQQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AUJQQ.png" alt="enter image description here" /></a></p>
  <p>...it will run on Linux no problem.</p>
  <p>But since there is no Linux option in the drop down menu in application settings, hence my questions:</p>
  <ol>
  <li>Is this the case for everyone, or am I lacking something in my VS installation?</li>
  <li>Does this setting affect the builds at all - since (None) doesn't seem to have any effect and the settings in publish profile seem to have the last word anyway.</li>
  <li>Is (None) setting fine if I want to publish for Linux, or will there be any ramifications?</li>
  </ol>