The [NeutralResourceLanguage] attribute is missing on the entry assembly

I’m getting the same thing.. Maybe their new update they just made doesn’t work? Found it… Update Assembly.cs with this: using System.Resources; // Add this to the top.. [assembly: NeutralResourcesLanguage(“en-US”, UltimateResourceFallbackLocation.Satellite)] This worked for me.. Cheers.. Note per Blakomen: If you are submitting an application for worldwide publishing, you should use NeutralResourcesLanguage(“en”), not just “en-US” … Read more

Why is using [DataMember(EmitDefaultValue = false)] not recommended?

The reason is at the bottom of the article that you link to. The short version is: When the EmitDefaultValue is set to false, it is represented in the schema as an annotation specific to Windows Communication Foundation (WCF). There is no interoperable way to represent this information. In particular, the “default” attribute in the … Read more

Is read-only auto-implemented property possible?

The answer below was written back in 2010. In C# 6 (released in 2015) you can write read-only automatically-implemented properties: // This can only be assigned to in a constructor public int Foo { get; } You’re absolutely right. Properly read-only automatically implemented properties are currently impossible. Making the setter private isn’t the same thing, … Read more

MSDN subscriptions on the cheap? [closed]

MSDN subscriptions are per user rather than per device so as long as you’re the only person using them I think you should be free to use them at home. I’m not aware of any differentiation being applied to the workplace, unless of course your workplace itself lays down such a rule. From http://msdn.microsoft.com/en-gb/subscriptions/aa948867.aspx: MSDN … Read more

How to set MSDN to be always in English

I wrote a simple dedicated browser extension for this. Unlike the Redirector plugin, no configuration is required. It’s called “FFS MSDN in English” and is available for: Chrome Firefox Opera It simply redirects any localised MSDN (or docs.microsoft) page to the english (en-us) version. The rather trivial sources can be found at https://github.com/AirLancer/ffs_msdn_in_english

Why is the console window closing immediately once displayed my output?

the issue here is that their Hello World Program is showing up then it would immediately close. why is that? Because it’s finished. When console applications have completed executing and return from their main method, the associated console window automatically closes. This is expected behavior. If you want to keep it open for debugging purposes, … Read more