Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

C# app.config / myapp.exe.config

Posted on 2014-02-25
2
Medium Priority
?
771 Views
Last Modified: 2014-02-25
Hi Experts,

I created a command line program in C# and I noticed that on Windows 8, it doesn't harass the user to install any version of .NET if the .exe.config file exists alongside the exe.  However, my C# project is not generating this file.  How do I fix this?

Thanks!
Mike
0
Comment
Question by:thready
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 39885794
Do you have a config file in your project? If not, you just need to add one from the Context > Add New Item menu, rebuild, and it should pop out in the bin directory with your exe.
0
 
LVL 1

Author Closing Comment

by:thready
ID: 39885848
Thank you!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question