Solved

C# app.config / myapp.exe.config

Posted on 2014-02-25
2
720 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

815 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now