Visual Studio

If your WPF applications are being used on XP or 2003, you'll need to bear in mind that there are bugs in .NET 4.0 which you won't see on a system with 4.5/VS2012 on it, and you won't be able to deploy the fixes to an XP/2003 machine. The only "solution" is to develop your 4.0 applications on a separate machine without 4.5 on it, or at least run extensive tests on a machine without 4.5 installed.

This is all down to the fact that 4.5 is an "in-place upgrade" (ie: a service pack), but you can't install it on XP/2003 because they're out of mainstream support.

"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

I'd go with Windows 7... specially for a development machine... I've heard nothing but complaining about Windows 8 from people I've talked to, apparently it's still a bit buggy and in a dev machine you probably want something relatively stable.

When running the program from a Command window, the currency symbol (24 hex) is correctly displayed in both instances, as follows:Currency symbol test $ $12.34

When running the program from VS (2010) debugger, the currency symbol (A4 hex) is incorrectly displayed when writing to the VS output window pane, as follows:Currency symbol test $ ¤56.78

My Windows 7 Region and Language settings are English and United States. The Currency Symbol is dollar sign ($).How can I force Visual Studio to recognize the current locale and output the correct currency symbol in the output window pane?

using .NET Reflector I checked what really is done and System.Diagnostics.Debug.WriteLine() explicitly uses CultureInfo.InvariantCulture for its internal call to string.Format().If you really need the debug output to use some other culture, then you'll need to call string.Format() yourself.

I've been working with VS2008 previously and I want to shift to VS2012. Will I face any difficulties programming in the .NET4.5 platform?? I have got many projects created in VS2008. Will I be able to develop them using VS2012? Do I have to do some thing special so that my VS2012 can read my VD2008 programs?

There's several things to consider when changing to a new IDE and then moving your applications to a new framework. Depending on if your developing for yourself in terms of development or for a company which will require stages to complete.

Converting to VS2012 only - From a previous version you will only have to open the old vs2008 solution in VS2012 and it will convert the project files to the new IDE version of VS2012 automatically. There shouldn't be any isssues after that unless your working with versioning systems, then you need to make sure you save the new VS2012 project and check it in. From there you will notify the team they will have to get an update before opening in VS2012.

Changing your Framework - You may have some complications due to some of your current libraries may have some obsolete references in it and you will need to make sure you do some rather intense testing to make sure your application is not impacted when using those old references in the new framework.

Can it be done, yes, but you need to keep a copy of both the VS2008 version and the previous framework before doing so just to avoid any down time or any complications that will cause others frustration.

IM a 3D Artist using MAYA and Im starting to undertake The UNREAL GameEngine which which is included in the bachelors program at the school. I was interested to see a gathering place for programmers.I am creating a WWII Flight sim and know that after I import all the models of planes and aircraft carriers into a game engine Ill have to not only program but hopefully tweak the flight mechanics under the hood. so are there any other proffessionals out there that is involved in game programming, AI, or similar fields that wouldnt mind answering some questions sometime.

We have a begginers course of c# in the firm. We are using the VS2012-Express.

A workmate is having problems with the VS.

First day we were doing the usual "Hello word" console application, and everythign worked fine. Yesterday he tried to open the "ConsoleApplication1" and could not open it. It always end with VS saying "solution incompatible".

When trying to uninstall, he is getting the message "KB2740066 - Fatal error by the installation" and the programm is generating a report. The last lines before the Error appears until the end of the log-file are:

So he can not use it, can not deinstall it and can not re-install. We are trying right now have tried with the System Recovery point, but it didn't work.

Any tip?

Regards.--------M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?Help me to understand what I'm saying, and I'll explain it better to youRating helpfull answers is nice, but saying thanks can be even nicer.

Sorry, no idea, I have not tried the 2012 version yet. I had a problem with the 2010 version a year or so ago and found a Microsoft site that helped me solve it. Take a look here[^]; I found them quite responsive. I also found this link[^] which may be useful.

I have forwarded them to my partner. He has created a Win7x64 VM and is now trying to install the VS2012 Express in it. Let see if it works. Nobody here could find out why it was not working.

Regards.--------M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?Help me to understand what I'm saying, and I'll explain it better to youRating helpfull answers is nice, but saying thanks can be even nicer.

I don't touch MS products until SP1 because I hate relying on Beta releases...

I usually don't do it as well and not only in MS, there are other companies with the same problems in the releases. Key is as you say: At least to wait for ServicePack or HotFix or PackageExtension or however they call it.But the the workshop is based on VS2012 so we had no choice...

Thank you anyways, and sorry for disturbing you

Regards.--------M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?Help me to understand what I'm saying, and I'll explain it better to youRating helpfull answers is nice, but saying thanks can be even nicer.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?Help me to understand what I'm saying, and I'll explain it better to youRating helpfull answers is nice, but saying thanks can be even nicer.

I have 3 installs of Visual Studio 2012 Pro. One on my main PC, one on my laptop and one on the ultrabook received as part of the competition.

The application being developed will run on the PC and the Laptop in Debug mode quite happily. On the ultrabook it throws Invalid Operation exception due to cross threaded calls. The project is identical on all 3 machines, as the code is pulled down from a central source control server.

When compiled (default Any CPU etc. options) and run the exe directly, the application runs fine on all 3.

There are no background workers etc. there is only the single thread.

I have not changed any settings on any of them, they are all the stock install and on first run of VS, the C# environment was selected as layout choice.

I've been maintaining a clickonce application for a few years now and Publishing without problems. I haven't needed to Publish for a little while, but yesterday when I had to do a release for testing, I received the following error:

When attempting to Publish <application name>, the following error was received:Error 2 An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x800B010A A certificate chain could not be built to a trusted root authority. SignTool Error: An error occurred while attempting to sign: bin\Debug\app.publish\\setup.exe <application name>

A quick look at the certificate which had the following error

The integrity of this certificate cannot be guaranteed. The certificate may be corrupted or may have been altered.

After barking up the wrong tree, I finally came across this little gem of an article that discribes the issue and its fixes.

By default, makecert.exe creates certificates that chains up to the Root Agency root CA certificate located in the Intermediate Certification Authorities store. The Root Agency CA certificate has a public key of 512 bits, so once you deploy this update no certificate created with makecert.exe will be considered valid.

You should now consider makecert.exe deprecated

I've implemented the a certificate following his instructions and can now Publish the app.

Not bad, this is the first time a Windows Update has broken one of my applications.

I too have just been stung by this. My ClickOnce app, which has worked fine for several years, can no longer be published. Thanks for that, Microsoft.

I've read the instructions in the TechNet article you linked to, and I've created a .crt file using certreq, but what do I do with it now? The Signing tab in Visual Studio only lets me select .pfx files.

It would be great if you could give more detail about the steps you went through to get your ClickOnce app into a publishable state again.

If I get this working and re-sign my app with the new certificate created by certreq, will my users need to uninstall and reinstall, or will ClickOnce update them seamlessly to the new version?

in the project i want to build, i already have a school results system and students should be able to request their results via sms.thus by sending their stud. id to the system number(gsm modem number) and the system automatically reading the message, extracting the stud. id and year from the message search the results table for the results and send it back to the student who requested for the results(senders number) i will also store requests to the database

Yes, when I installed the 2012 RC, it screwed up my install of 2010. I had to repair the install. Grrr. Same thing happened when I installed the RTM (double dutch grr), but that may be because I had previously installed the RC on the same machine.

Other than that, they both run well side by side.

If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. AdamsYou must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von BraunOnly two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

As Paul says, you don't get it included with the Express editions; that's why they are free. I did read somewhere that it may be possible to buy the MFC libraries and add them to your system, but you would need to ask Microsoft about that.