How to uninstall/remove Visual Studio SP1
I just ran the web installer for VS2010 SP 1 with the following parameters. That forced it to uninstall and got me past the blocking issue: VS10sp1-KB983509.exe /uninstall /force
I just ran the web installer for VS2010 SP 1 with the following parameters. That forced it to uninstall and got me past the blocking issue: VS10sp1-KB983509.exe /uninstall /force
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
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
You can’t. Half the point of such config files is to allow changes to the configuration of the app outside of the app itself. You would simply have to modify your program so that it didn’t have a dependency on the app config file — easiest way to do that would be to just stick … Read more
In my experience, an SVC file is a WCF service – create a WCF application from the projects list and then do an “Add new item” and add a new WCF service. For it to do anything it will need the appropriate bindings and endpoints configuring and wiring up – before it can be called. … Read more
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
Funnily enough, publish from right-click on the project menu seems to work. It fires up the wizard rather than just publishing, so not ideal, but I do have 2 workarounds now (including the one stated in my original post).
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
If you pass an rvalue reference to an object of type X to a template function that takes type T&& as its parameter, template argument deduction deduces T to be X. Therefore, the parameter has type X&&. If the function argument is an lvalue or const lvalue, the compiler deduces its type to be an … Read more
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