How to add an assembly manifest to a .NET executable?

If you want to add custom information to your application’s manifest, you can follow these steps: Right-click on the project in the Solution Explorer. Click “Add New Item”. Select “Application Manifest File”. This adds a file named app.manifest to your project, which you can open and modify as desired. Similar steps, with screenshots, lifted from … Read more

Change the icon of the exe file generated from Visual Studio 2010

To specify an application icon In Solution Explorer, choose a project node (not the Solution node). On the menu bar, choose Project, Properties. When the Project Designer appears, choose the Application tab. In the Icon list, choose an icon (.ico) file. To specify an application icon and add it to your project In Solution Explorer, … Read more

Why are some Web.config transforms tokenised into SetParameters.xml and others are not?

This actually has nothing to do with config transforms. I just posted a very detailed blog at http://sedodream.com/2010/11/11/ASPNETWebApplicationPublishPackageTokenizingParameters.aspx. But some info here for you. In the Web Publishing Pipeline (WPP) we handle connection strings as special artifacts. We will automatically create parameters for you for all connection strings. This is because in many cases when … Read more

How to prevent “There appears to be a discrepancy between the solution’s source control…” without changing the .sln file

I had this problem with a Solution containing *.vcxproj project files, that were previously migrated from VS2008 to VS2010. The path to TFS was defined in both the .sln file and the .vcxproj files. The simplest fix was to update the *.vcxproj project files to use the SAK keyword. ie update from the format: <SccProjectName>$/MyProject/Directory/abc</SccProjectName> … Read more

Visual Studio solution file – what does the “Build.0” mean?

Yes, your hunch was right. It does mean that the project has its Build option ticked to build under the build configuration. I just tested this by opening the solution in one instance of Visual Studio and the .sln file in the text editor (open with) of another Visual Studio instance. If you change the … Read more

What is output at the different MSBuild output verbosity levels?

There exists the same question on social.msdn: Quiet: only shows the result of your build. Minimal: shows some configurations of your msbuild, and the CSC task. Normal: This will show all the targets and its mainly steps. Details: In addition to normal, this flag shows the task and it’s implementation within the each target. Diagnostic: … Read more

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