Windows 10: Error in Visual Studio C# path file

Discus and support Error in Visual Studio C# path file in Windows 10 BSOD Crashes and Debugging to solve the problem; Hell : This is mY Error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by عبدالله2410, Aug 12, 2018.

  1. Error in Visual Studio C# path file


    Hell :


    This is mY Error


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.IO.FileNotFoundException: C:\Users\AbduAllah\documents\visual studio 2015\Projects\TestRun\TestRun\bin\Debug\PersonData.exe
    at System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index)
    at System.Drawing.Icon.ExtractAssociatedIcon(String filePath)
    at PersonData.frmPerson.frmPerson_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3131.0 built by: NET472REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    PersonData
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Test%20App/Test%20Run/PersonData.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.



    and This is my Code:

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Diagnostics;
    using System.Threading;
    using System.Runtime.InteropServices;


    namespace TestRun
    {
    public partial class frmRun : Form
    {
    public frmRun()
    {
    InitializeComponent();
    }



    private void btnExit_Click(object sender, EventArgs e)
    {
    this.Close();
    }

    private void btnPersonData_Click(object sender, EventArgs e)
    {
    Process.Start(@"D:\Test App\Test Run\PersonData.exe");
    }
    }
    }



    I want to Run an Exe file from a different Directory but I get unhandled exception has occurred in your application .net framework c#

    :)
     
    عبدالله2410, Aug 12, 2018
    #1
  2. aamarlin Win User

    Visual Studio 2017 C# File Handling

    Compiling a C# program using StreamReader and StreamWriter variables on the command line works fine. On Visual Studio 2017 C# when I try to close() a file, I get an error on the file.close() code. The intelliscense for the StreamReader or StreamWriter
    has no listing for CLOSE. The closest I can get is disposing the file.
     
    aamarlin, Aug 12, 2018
    #2
  3. Visual C++ Redistributable for Visual Studio 2015 x64 Installation Failure

    I suggest you to uninstall any existing Microsoft Visual C++ Redistributable Package and install the latest Microsoft Visual C++ 2010 Redistributable Package to check if it helps.

    Follow the below steps:

    Step 1: Uninstall the exiting Microsoft Visual C++.

    a) Press Windows key + x key and select
    Programs and Features
    .

    b) Right click on the Microsoft Visual C++ and uninstall it.

    Step 2: Download the latest Microsoft Visual C++ and install it.

    Download Visual C++ Redistributable for Visual Studio 2015
     
    Andre Da Costa, Aug 12, 2018
    #3
  4. Linney Win User

    Error in Visual Studio C# path file

    visual studio

    If you start uninstalling bits and pieces then some parts of the program, or older programs, may fail to work properly. Did you select all these so called extras or were they installed automatically. If the latter then you may need them?

    Visual Studio 2015 System Requirements

    Visual Studio 2013 System Requirements

    "In Visual Studio 2015, Visual C++ is not installed by default. When installing, be sure to choose Custom installation and then choose the C++ components you require. Or, if Visual Studio is already installed, choose File | New | Project | C++ and you will
    be prompted to install the necessary components."

    Visual C++ in Visual Studio 2015

    Visual C++ in Visual Studio 2015

    Make the Visual Studio installer more customizable

    https://visualstudio.uservoice.com/...the-visual-studio-installer-more-customizable
     
    Linney, Aug 12, 2018
    #4
Thema:

Error in Visual Studio C# path file

Loading...
  1. Error in Visual Studio C# path file - Similar Threads - Error Visual Studio

  2. Visual C++ MFC MBCS Library for Visual Studio 2013 ERROR

    in Windows 10 Installation and Upgrade
    Visual C++ MFC MBCS Library for Visual Studio 2013 ERROR: I am trying to download Visual C++ MFC MBCS Library for visual Studio 2013 I get these 2 following error message: Microsoft Visual Studio is required, but it is not installed on this computer, Please install and retry. Stopping installation. This product applies only to...
  3. MS Visual C++ file errors

    in Windows 10 BSOD Crashes and Debugging
    MS Visual C++ file errors: I just want the latest c++ files so i can play my pc games and other normal things on my PC but im stumped as what to do. Ive uninstalled all older c++ files and tried reinstalling the newest from MS website but when i try to it shows the same error messages and wont allow me...
  4. Microsoft Visual Studio C#

    in Windows 10 Software and Apps
    Microsoft Visual Studio C#: So I've been getting into C# lately and I've been trying to get tile bars in C# but I just can figure out how. https://answers.microsoft.com/en-us/windows/forum/all/microsoft-visual-studio-c/de1450dd-18f2-4458-9e22-d62124e22de0
  5. IS Microsoft Visual C++ THE SAME AS VISUAL STUDIO?

    in Windows 10 Network and Sharing
    IS Microsoft Visual C++ THE SAME AS VISUAL STUDIO?: IS Microsoft Visual C++ THE SAME AS VISUAL STUDIO? WHY IS THERE MANY DIFFERENT 'C++' FILES IN MY COMPUTER? IF I NEED ONE THAT I DON'T HAVE TO RUN A PROGRAM HOW WOULD I KNOW? DOES AN ERROR CODE APPEAR?...
  6. CANNOT FIND C/C++ EXTENSION ON VISUAL STUDIO

    in Microsoft Windows 10 Store
    CANNOT FIND C/C++ EXTENSION ON VISUAL STUDIO: [ATTACH]i have tried a various keyword to in the search but I coudnt find c/c++ extension on VISUAL STUDIO helppppp pleassseeeeee https://answers.microsoft.com/en-us/windows/forum/all/cannot-find-cc-extension-on-visual-studio/ee42f381-ccd8-4c99-ab5f-da51162e2a35"
  7. C++ on Visual Studio Mac

    in Windows 10 Software and Apps
    C++ on Visual Studio Mac: Hello, I plan on buying a Macbook soon and will be taking a C++ programming class that I need to turn projects in on Visual Studio. Is there any way to download Visual Studio on Mac and be able to use C++? If not, could I work on a C++ program on Xcode and transfer it into...
  8. Visual C++ Redistributable for Visual Studio 2012 error 0x8007015e

    in Windows 10 Installation and Upgrade
    Visual C++ Redistributable for Visual Studio 2012 error 0x8007015e: Hi, Running the installer of the latest version (from https://www.microsoft.com/en-us/download/details.aspx?id=30679) of the redistributable always results in the error 0x8007015e. The installer tells me to restart the computer, which I've done several times to no avail....
  9. upgrading Visual C== 6.0 to Visual Studio 2013

    in Windows 10 Installation and Upgrade
    upgrading Visual C== 6.0 to Visual Studio 2013: we have a very complex C++ app that is using MFC, OLE that we need to upgrade to be developed in Visual Studio 2013. When I try to compile it in 2013 I run into all kinds to compiler errors and would like to know which is the best and safest wy to move it from Visual Studio...
  10. microsoft visual studio c++

    in Windows 10 Drivers and Hardware
    microsoft visual studio c++: why i have so much microsoft visual studio c++ can i uninstall them[IMG] https://answers.microsoft.com/en-us/windows/forum/all/microsoft-visual-studio-c/aadbad4b-4e91-4086-a546-b7f906b2f387

Users found this page by searching for:

  1. file path error in c#

    ,
  2. error visual studio 2017 read xml from c:\path