How do I create/edit a Manifest file?

In Visual Studio 2010 and possibly in future versions you can add the manifest file to your project. Right click on your project file on the Solution Explorer, select Add, then New item (or CTRL+SHIFT+A). There you can find Application Manifest File. The file name is app.manifest. If this item doesn’t exist then your project … Read more

Converting VS2012 Solution to VS2010

I also faced the similar problem. I googled but couldn’t find the solution. So I tried on my own and here is my solution. Open you solution file in notepad. Make 2 changes Replace “Format Version 12.00” with “Format Version 11.00” (without quotes.) Replace “# Visual Studio 2012” with “# Visual Studio 2010” (without quotes.) … Read more

Can I save the window layout in Visual Studio 2010/2012/2013?

Yes, you can use the “Import and Export Settings Wizard” (found in the Tools menu) to export only the settings that relate to your current window layout to a file. Uncheck everything but “General Settings” > “Window Layouts”, and save the file somewhere you’ll be able to find it later. Then, you can use the … Read more

How do you include additional files using VS2010 web deployment packages?

Great question. I just posted a very detailed blog entry about this at Web Deployment Tool (MSDeploy) : Build Package including extra files or excluding specific files. Here is the synopsis. After including files, I show how to exclude files as well. Including Extra Files Including extra files into the package is a bit harder … Read more

(this == null) in C#!

This observation has been posted on StackOverflow in another question earlier today. Marc’s great answer to that question indicates that according to the spec (section 7.5.7), you shouldn’t be able to access this in that context and the ability to do so in C# 3.0 compiler is a bug. C# 4.0 compiler is behaving correctly … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)