Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Doubts in installation setup for C#?  RSS feed

 
Ranch Hand
Posts: 1025
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a beginner in C#. I tried to do the required installation for running a hello world program. I installed Dot Net Core and Visual Studio.

When I created a dot net core application and pressed F5 to run it I got an error message saying "unable to start program".

When I created a dot net framework application and pressed F5 to run, it ran successfully.

What is the difference? Although I had installed dot net core. Instead of dot net core, I am able to run dot net framework successfully and not dot net core.

Thanks.
 
Ranch Foreman
Posts: 1065
24
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the program compile  in visual studio ? You've got only the "unable to run program" error message, or there's more info about what went wrong ? And which version of VS are you using ?
 
Monica Shiralkar
Ranch Hand
Posts: 1025
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.

The complete error message is "Unable to start program "C\Program Files\dotnet\dotnet.exe.The remote debugger was unable to locate a resource dfl (vsdebugeng.impl.resources.dll)"

The version of visual studio is visual studio 2017.

 
Claude Moore
Ranch Foreman
Posts: 1065
24
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With visual studio 2017, you should be able to select which .NET runtime to use when creating a new project.
Is .NET core listed among availables runtimes ?
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!