Solved

C# app.config / myapp.exe.config

Posted on 2014-02-25
2
707 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
Comment Utility
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
Comment Utility
Thank you!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

771 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

14 Experts available now in Live!

Get 1:1 Help Now