Skip to content

Nothing happen when run sample console app (Windows 7 HOME edition) #421

Closed

Description

@raviprajapat

I follow the all procedural regarding installing DNX and it shows me successfully installed the .net execution environment.
When I going to run the sample console app using command nothing is happen. see the screenshots.

aspnet5

Activity

  1. davidfowl commented on Mar 29, 2015

    @davidfowl
    Member

    Try setting DNX_TRACE=1 and re-running. That will print more diagnostic information.

  2. davidfowl commented on Mar 29, 2015

    @davidfowl
    Member

    Also, what OS are you running on?

  3. raviprajapat commented on Mar 29, 2015

    @raviprajapat
    Author

    I'm using windows 7 SP1 Home.
    Can you let me know how can I enable DNX_TRACE=1 in setting?

  4. davidfowl commented on Mar 29, 2015

    @davidfowl
    Member

    in the command prompt set DNX_TRACE=1. You're running .NET 4.5 right?

  5. raviprajapat commented on Mar 29, 2015

    @raviprajapat
    Author

    Yes I'm running .NET 4.5.
    After enable trace setting it shows me "failed to load dnx.clr.dll"

  6. raviprajapat commented on Mar 31, 2015

    @raviprajapat
    Author

    Please tell me the possible way there I can able to resolve this issue.

  7. davidfowl commented on Mar 31, 2015

    @davidfowl
    Member

    It might just be a bug you can't work around. Post the results of running with tracing on:

    /cc @troydai @victorhurdugaci @muratg

  8. victorhurdugaci commented on Mar 31, 2015

    @victorhurdugaci
    Contributor
    1. Do you have .NET 4.5.1 installed?
    2. What is the exit code from the app?
    3. What happens if you run on CoreCLR?
  9. victorhurdugaci commented on Mar 31, 2015

    @victorhurdugaci
    Contributor

    One more question: what DNX version are you using?

  10. raviprajapat commented on Mar 31, 2015

    @raviprajapat
    Author

    1 Yes I have installed .NET 4.5.1
    2 This is my simple console app code

    using System;
    public class Program
    {
        public static void Main()
        {
            Console.WriteLine("Hello World");
            Console.ReadLine();
        }
    }
    

    3 I didn’t tried with CoreCLR. Can you assist me how I can do with this?
    4 DNX version is dnx-clr-win-x86.1.0.0-beta5-11427.

  11. victorhurdugaci commented on Mar 31, 2015

    @victorhurdugaci
    Contributor

    Sure, here is how to get the app running on CoreCLR:

    1. Run dnvm upgrade -r CoreClr
    2. Run dnvm list. Make sure the CoreCLR runtime is active (should have a star in front of it)
    3. Run the app again

    But, before you do that, what is the exit code from the app? In command prompt, you can get it with echo %errorlevel% and in PowerShell with $lastexitcode

  12. raviprajapat commented on Apr 1, 2015

    @raviprajapat
    Author

    It showing me Faild to load: dnx.CoreClr.dll.
    When I using echo %errorlevel% it display `0'.

  13. troydai commented on Apr 1, 2015

    @troydai
    Contributor

    @raviprajapat Do you have all the Windows Update installed? And also do you have VC++ redistribution installed?

  14. raviprajapat commented on Apr 1, 2015

    @raviprajapat
    Author

    @troydai Yes I have installed VC++ redistribution 2012 in my PC. My pc also has Visual Studio 2013 ultimate version which means all recently frameworks 4.5.1 is installed as well. Today I also installed the framework 4.5.2.
    My system running on Win 7 SP1.

  15. troydai commented on Apr 1, 2015

    @troydai
    Contributor

    @raviprajapat can you check your event log?

  16. 5 remaining items

  17. raviprajapat commented on Apr 4, 2015

    @raviprajapat
    Author

    It strange for me when I did same thing on Win7 Professional SP1 which has installed framework 4.5.1 with VS 2013 it successfully run sample Console App using Aspnet 5.
    Is there any restriction for Win 7 Home edition to use Aspnet 5?

  18. troydai commented on Apr 6, 2015

    @troydai
    Contributor

    /cc @victorhurdugaci @davidfowl @danroth27

    @raviprajapat Thank you for letting us know. We indeed are not aware of this particular issue on Windows 7 Home.

  19. changed the title [-]Nothing happen when run sample console app[/-] [+]Nothing happen when run sample console app (Windows 7 HOME edition)[/+] on Apr 6, 2015
  20. added
    bug
    on Apr 6, 2015
  21. added a commit that references this issue on Nov 30, 2018
  22. ghost locked as resolved and limited conversation to collaborators on Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions