Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 105,765 C# Programmers for FREE! Ask your question and get quick answers from experts. There are 1,579 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Is dotnet installed?

 
Reply to this topicStart new topic

Is dotnet installed?

hannesbez
post 17 May, 2008 - 04:00 AM
Post #1


New D.I.C Head

*
Joined: 27 Apr, 2008
Posts: 3


My Contributions


When my C# program starts to run and dotnet is not installed, I get the message that mscoree.dll is not found, obviously because dotnet is not installed. Without resorting to an installation program, is there a way that my program can check if dotnet framework is installed and give a message to that effect? The latter will be on the distribution CD.
User is offlineProfile CardPM

Go to the top of the page


jayman9
post 17 May, 2008 - 09:32 AM
Post #2


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 6,241



Thanked 21 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


Are you using Setup and Deployment to create your release version?
User is offlineProfile CardPM

Go to the top of the page

hannesbez
post 17 May, 2008 - 11:22 AM
Post #3


New D.I.C Head

*
Joined: 27 Apr, 2008
Posts: 3


My Contributions


Thkx for reply. Did not use Setup and Deploym, still getting around to learning how that works. Is that the only way to check that the Framework is installed?
User is offlineProfile CardPM

Go to the top of the page

eclipsed4utoo
post 17 May, 2008 - 02:22 PM
Post #4


D.I.C Head

**
Joined: 21 Mar, 2008
Posts: 88



Thanked 4 times
My Contributions


QUOTE(hannesbez @ 17 May, 2008 - 11:22 AM) *

Thkx for reply. Did not use Setup and Deploym, still getting around to learning how that works. Is that the only way to check that the Framework is installed?


using Setup and Deployment allows you to give the install "requirements". so if .Net is not installed, it will install it automatically.
User is online!Profile CardPM

Go to the top of the page

jayman9
post 17 May, 2008 - 03:59 PM
Post #5


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 6,241



Thanked 21 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


QUOTE(hannesbez @ 17 May, 2008 - 11:22 AM) *

Thkx for reply. Did not use Setup and Deploym, still getting around to learning how that works. Is that the only way to check that the Framework is installed?

That is the most typical way to check for the .NET framework during install.

How are you deploying your applications?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 02:41PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month