Unable to launch my windows App in windows 10 machine RRS feed

  • Question

  • i have some problem with windows 10 machine, my Windows application is developed using C#,C++,mfc and winForms. So currently i am using win 7 machine and i am able to launch my App there is no issues with this machine.

    But in win 10 while Double clicking on my .exe it's not opened and did not get any error msg...i don't know how can i trace this thing. here what i observed is while comparing .net frameworks in win 7 and 10 machines in win 7 i have .net framework 3.5(include 2.0 and 3.0) but in win 10 i have .net framework 4 onwards so i just installed framework 3.5(include 2.0 and 3.0) it's working fine.

    then i opened .csproj xml files there is a line called `<TargetFrameworkVersion>` it is targeting v4.0 and here we have some lines which are pointing to references

        <Reference Include="System" />
        <Reference Include="System.Data" />
        <Reference Include="System.Design" />
        <Reference Include="System.Drawing" />
        <Reference Include="System.Runtime.Remoting" />
        <Reference Include="System.Windows.Forms" />
        <Reference Include="System.Xml" />
        <Reference Include="System.Core">
        <Reference Include="System.Xml.Linq">
        <Reference Include="System.Data.DataSetExtensions">

    so, here i have some issues:

    I have some more references which are pointing to 2.0 and 3.0 as well,

    can i change 2.0,3.0 and 3.5 to 4.0?
    those references will support in 4.0?


    any solution to work my app in win 10?

        <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
        <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          <ProductName>.NET Framework 3.5 SP1</ProductName>

    The above one is in framework 3.5 it should be in 4.0 or  nothing?

    if it should be in .net framework 4.0, how can i replace those things?

    help me out this.

    Thanks in advance.

    Sorry for my poor english.

    Tuesday, February 23, 2016 7:11 AM

All replies

  • Hi Srinu,

    >>Unable to launch my windows App in windows 10 machine

    Based on your title, I want to know what kind of scenario does not work in win10 machine.

    Do you mean windows app build with .Net Framework4.0 ?

    >>can i change 2.0,3.0 and 3.5 to 4.0? those references will support in 4.0?

    Yes,  you could do. Right click your project--> Properties -->Application.

    Choose like the following capture, and then your project is build to 4.0. All configure file will also change.

    From my personal, I would suggest you use  .NET Framework 4.5 . Because .NET Framework 4.5 is a highly compatible, in-place update to the .NET Framework 4. By using the .NET Framework 4.5 together with the C#, Visual Basic, or F# programming language, you can write Windows apps.

    If I misunderstood you, please feel free to let me know, thanks. Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Kristin Xie Thursday, March 3, 2016 9:25 AM
    Wednesday, February 24, 2016 2:07 AM