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

Dynamic link library does not generate a .lib file when compiled (Visual Studio C++ Express)

Here is some sample code that demonstrates how to correctly export a class. Pay attention to the CONSOLETEST_EXPORT macro. This is the missing part of your solution. You need to define this macro in your DLL project, and leave it undefined in the projects that reference this dll. // MAIN.CPP – TestApplication #include <iostream> #include … 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

warning MSB8012 : make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile)

Did you upgrade a project to Visual Studio 2010 from a previous version? If so, this is a well-known issue. Visual Studio 2010 C++ Project Upgrade Guide http://blogs.msdn.com/b/vcblog/archive/2010/03/02/visual-studio-2010-c-project-upgrade-guide.aspx Warnings during upgrade Here are some of the common warnings that you may run into during conversion: 1) Linker output directory One of the warnings you may … Read more

What is the purpose of setting the platform target for a Visual Studio application?

if I set this value to x86 does that mean I cannot run that project on a x64 machine? No, 32-bit applications (x86) run just fine on 64-bit Windows (x64). All 64-bit versions of Windows include a 32-bit compatibility layer called Windows on Windows 64 (WOW64). This is usually what you want, in fact, as … Read more

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