How to set session timeout in web.config
If you want to set the timeout to 20 minutes, use something like this:
If you want to set the timeout to 20 minutes, use something like this:
I got this issue running a console app where the source that was different was the source that had the entry-point (static void Main). Deleting the bin and obj directories and doing a full rebuild seemed to correct this, but every time I made a code change, it would go out-of-date again. The reason I … Read more
I hope you can help me, cause I have no idea about what’s going on. I’m having the following error while trying to add Beecrypt library to my project: fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add ‘#include “stdafx.h”‘ to your source? Actually I did not … Read more
You need to turn on the underline errors in the editor and show live semantic errors options in Visual Studio. These options can be found here: Tools > Options > Text Editor > C# > Advanced > Editor Help Edit: You will need to install SP1 for this functionality to work.
edit please see the answer further down, which is about 18 months newer, and actually solves the problem. This historically once-accurate answer is no longer as accurate. Leaving intact after the break for this reason. – thanks – jcolebrand What edition of VS do you use? VS2008 Express, Standard, Pro or Team System? VS2010 Professional, Premium or Ultimate? … Read more
In most places where you can use those, there’s a “Macros” button or similar, which shows all available macros and the current value of them. For example, go to the PostBuild event editor to find the list. Edit: I just checked. There’s a list in MSDN.
You may want to right-click on the file in the tree, and delete it from the project. Then, add back an existing item. Hopefully that will fix the problem.
If you want to write cross-platform code, you can use boost::filesystem routines This does add a library dependency but chances are you are going to use other filesystem routines as well and boost::filesystem has some great interfaces for that. If you only need to make a new directory and if you are only going to use VS 2008, you … Read more
Make sure any XML file (or any file that would be interpreted as an XML file by visual studio) has a correct XML structure – that is, one root element (with any name, I have use rootElement in my example):
Ok, this may be the dumbest question ever, but I swear I searched for the answer and don’t know what to do. I need to install Visual Studio 2008. The free version. I need it in order to compile something. Microsoft has a download page http://www.microsoft.com/en-us/download/details.aspx?id=7873 with a big red “download” button. This button then proceeds to … Read more