<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I make a C# Console app build and debug in Visual Studio Code? in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/How-do-I-make-a-C-Console-app-build-and-debug-in-Visual-Studio/m-p/1661903#M25583</link>
    <description>&lt;P&gt;This is on a Windows 10 OS Version 22HG2 (OS Build 19045.5371)&lt;/P&gt;&lt;P&gt;How do I make a C# Console app build and debug in Visual Studio Code?&lt;/P&gt;&lt;P&gt;I have already built my C# Console App in Visual Studio Code. The issue I have is when I reopen the folder where the project file is in Visual Studio Code and then rebuilding the code and debugging it again.&lt;/P&gt;&lt;P&gt;Here is what I do and what happens. After I open the folder where the project file resides, I click on this to process the code to debug:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="07" style="width: 47px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62360iFBD0EC5FE6DE1CDE/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="07" alt="07" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then I click on the appearing "Run and Debug" button&lt;/P&gt;&lt;P&gt;&lt;A href="https://likablelogic.org/images/lost/08.png" target="_blank"&gt;https://likablelogic.org/images/lost/08.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But then the bottom status bar says "Looking for CSS classes in the workspace..." followed by a percentage in paragraphs. Why is this? Why does this happen when there are no CSS classes at all and my project is a C# project?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="09" style="width: 670px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62361i1CED66C608B7E7A8/image-dimensions/670x27/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="670" height="27" role="button" title="09" alt="09" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is this? This is just a brief snapshot of some difficulties I find when I reopen a project after I have closed Visual Studio Code. I have experienced other errors and problems in building and running my code.&lt;/P&gt;&lt;P&gt;To continue, in order to deal with the project as a solution, I click on this icon to open the solution panel.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="10" style="width: 55px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62362i2ADF8C124FBC4E0E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="10" alt="10" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This seemingly allows me to view the solution. As the following view appears, I click on the project.cs file and attempt a debugging session from there.&lt;/P&gt;&lt;P&gt;&lt;A href="https://likablelogic.org/images/lost/11...png" target="_blank"&gt;https://likablelogic.org/images/lost/11...png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With this file being displayed, I clicked on the menu option, Run -&amp;gt; Start Debugging&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="12.." style="width: 288px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62363i4C8D6F5A05EE0055/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="12.." alt="12.." /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, at this point, in the pop up option window that appears in the middle and top of the development environment, I pick "C#":&lt;/P&gt;&lt;P&gt;&lt;A href="https://likablelogic.org/images/lost/13...png" target="_blank"&gt;https://likablelogic.org/images/lost/13...png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something went wrong and in the bottom right of my IDE, I get this message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="14" style="width: 466px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62364iA33FEF3A46AFEF2C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="14" alt="14" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please advise. What should I do now?&lt;/P&gt;&lt;P&gt;There are some websites where I can spend time following steps to set up a proper development environment. Before I spend time doing this, I think I will spend time looking at the a few short tutorials Youtube on this topic. The one I seemed to be the best had a step at the beginning of the tutorial where he typed 'dotnet run' in the terminal window of the IDE. I tried that and I got some wierd results on my project that I thought I would mention here.&lt;/P&gt;&lt;P&gt;First of all, in the status bar at the bottom, it mentioned CSS loading, for some reason, but also a notice that the IDE was initialising MSBuild project tools.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="css" style="width: 290px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62365i14B3F4413AC4A690/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="css" alt="css" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="msbuild" style="width: 231px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62366i7C0A4BDB59F52450/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="msbuild" alt="msbuild" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, once that was over, I got this error message:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="git" style="width: 455px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62367iFC88382A045B002B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="git" alt="git" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise. What should I do now?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 21:14:51 GMT</pubDate>
    <dc:creator>Xarzu</dc:creator>
    <dc:date>2025-01-30T21:14:51Z</dc:date>
    <item>
      <title>How do I make a C# Console app build and debug in Visual Studio Code?</title>
      <link>https://community.intel.com/t5/Analyzers/How-do-I-make-a-C-Console-app-build-and-debug-in-Visual-Studio/m-p/1661903#M25583</link>
      <description>&lt;P&gt;This is on a Windows 10 OS Version 22HG2 (OS Build 19045.5371)&lt;/P&gt;&lt;P&gt;How do I make a C# Console app build and debug in Visual Studio Code?&lt;/P&gt;&lt;P&gt;I have already built my C# Console App in Visual Studio Code. The issue I have is when I reopen the folder where the project file is in Visual Studio Code and then rebuilding the code and debugging it again.&lt;/P&gt;&lt;P&gt;Here is what I do and what happens. After I open the folder where the project file resides, I click on this to process the code to debug:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="07" style="width: 47px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62360iFBD0EC5FE6DE1CDE/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="07" alt="07" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then I click on the appearing "Run and Debug" button&lt;/P&gt;&lt;P&gt;&lt;A href="https://likablelogic.org/images/lost/08.png" target="_blank"&gt;https://likablelogic.org/images/lost/08.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But then the bottom status bar says "Looking for CSS classes in the workspace..." followed by a percentage in paragraphs. Why is this? Why does this happen when there are no CSS classes at all and my project is a C# project?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="09" style="width: 670px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62361i1CED66C608B7E7A8/image-dimensions/670x27/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="670" height="27" role="button" title="09" alt="09" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why is this? This is just a brief snapshot of some difficulties I find when I reopen a project after I have closed Visual Studio Code. I have experienced other errors and problems in building and running my code.&lt;/P&gt;&lt;P&gt;To continue, in order to deal with the project as a solution, I click on this icon to open the solution panel.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="10" style="width: 55px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62362i2ADF8C124FBC4E0E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="10" alt="10" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This seemingly allows me to view the solution. As the following view appears, I click on the project.cs file and attempt a debugging session from there.&lt;/P&gt;&lt;P&gt;&lt;A href="https://likablelogic.org/images/lost/11...png" target="_blank"&gt;https://likablelogic.org/images/lost/11...png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With this file being displayed, I clicked on the menu option, Run -&amp;gt; Start Debugging&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="12.." style="width: 288px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62363i4C8D6F5A05EE0055/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="12.." alt="12.." /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, at this point, in the pop up option window that appears in the middle and top of the development environment, I pick "C#":&lt;/P&gt;&lt;P&gt;&lt;A href="https://likablelogic.org/images/lost/13...png" target="_blank"&gt;https://likablelogic.org/images/lost/13...png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something went wrong and in the bottom right of my IDE, I get this message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="14" style="width: 466px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62364iA33FEF3A46AFEF2C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="14" alt="14" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please advise. What should I do now?&lt;/P&gt;&lt;P&gt;There are some websites where I can spend time following steps to set up a proper development environment. Before I spend time doing this, I think I will spend time looking at the a few short tutorials Youtube on this topic. The one I seemed to be the best had a step at the beginning of the tutorial where he typed 'dotnet run' in the terminal window of the IDE. I tried that and I got some wierd results on my project that I thought I would mention here.&lt;/P&gt;&lt;P&gt;First of all, in the status bar at the bottom, it mentioned CSS loading, for some reason, but also a notice that the IDE was initialising MSBuild project tools.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="css" style="width: 290px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62365i14B3F4413AC4A690/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="css" alt="css" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="msbuild" style="width: 231px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62366i7C0A4BDB59F52450/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="msbuild" alt="msbuild" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, once that was over, I got this error message:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="git" style="width: 455px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/62367iFC88382A045B002B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="git" alt="git" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise. What should I do now?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 21:14:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-do-I-make-a-C-Console-app-build-and-debug-in-Visual-Studio/m-p/1661903#M25583</guid>
      <dc:creator>Xarzu</dc:creator>
      <dc:date>2025-01-30T21:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make a C# Console app build and debug in Visual Studio Code?</title>
      <link>https://community.intel.com/t5/Analyzers/How-do-I-make-a-C-Console-app-build-and-debug-in-Visual-Studio/m-p/1662392#M25587</link>
      <description>&lt;P&gt;It looks like the question is out of the scope of the forum, you can ask for help from the Microsoft forum for the VS issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://answers.microsoft.com/en-us" target="_blank"&gt;https://answers.microsoft.com/en-us&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Feb 2025 12:38:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/How-do-I-make-a-C-Console-app-build-and-debug-in-Visual-Studio/m-p/1662392#M25587</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2025-02-02T12:38:18Z</dc:date>
    </item>
  </channel>
</rss>

