I have a question regarding assembly/file versioning in Class Library project in Visual Studio (C#).  We have 4 numbers (example: 1.0.0.0) and according to:    The four numbers are in this format:     [major version].[minor version].[build number].[revision]   My question is, how exactly do we determine "Major", "Minor", "Build Number", and "Revision"? Are "Major" and "Minor" more subjective while "Build Number" and "Revision" more objective (as we can actually count them)?  Are there any actual "rules" regarding that?   I am rather confused because according to this thread:   basically it is a matter of preference. Can anybody clarify or having proper "rules" (with example will be best) regarding this?
122908
My company is building a product. It's going to be versioned by SVN. It's a webapp so basically there will never be a version out which doesn't have some features in them and thus could always be labeled as beta. But since it's going to be a corporate product I really don't want the "unstable watchout" on there. So how would you go about versioning? Is 1.0 stable? Should the build date be in the version number? Tell me what you guys think!
47546
So recently I've wanted to learn assembly, so I learnt a bit. I put this into nano and saved it as playground.asm. Now I'm wondering, how do I compile and run it? I've already searched everywhere and still cant find it. I'm really curious and there's no point learning a language if you can't even use it.
73679
I have a Windows forms project (VS 2005, .net 2.0). The solution has references to 9 projects. Everything works and compiles fine on one of my computers. When I move it to a second computer, 8 out of the 9 project compile with no problem. When I try to compile the 9th project (the main project for the application - produces the .exe file to execute the application), I get the following error:   'Error 3: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)'   The file location for the error is is listed as "C:\PATH-TO-APP\LC".   I have checked in the project properties and all of the projects are set to build in Debug mode, none of them are supposed to be signed. In the project that is failing, the only assembly that it references that is not in any of the other projects is Microsoft.VisualBasic (a .net 2.0 assembly). So I am at a loss to find what ids causing this error (the file referenced above in the error message - "LC" - does not exist.   Anyone know how I can force the project to accept all unsigned assemblies, or to determine which assembly is the culprit?  The only meaningful difference between the dev environments between the dev environment where this worked and the current one is that the first was XP and this is Vista64. However, a colleague of mine who is using XP is getting the same error.  Third-party assemblies being used:   ComponentFactory.Krypton.Toolkit ComponentFactory.Krypton.Navigator VistaDB.NET20   All of these are referenced in other projects in the solution which build with no problems, so it doesn't look like these are the problem.  So far I have tried deleting the suo file, Rebuild All, unloading and reloading projects from the solution, removing and readding referenced assemblies. Nothing has worked.
91739
I found myself writing:  \vspace 1 \baselineskip   and then when it's not compiling changing without thinking to:  \vskip 1 \baselineskip   but what is the difference? Perhaps knowing this will make me write the right one from the start in the future...
13157
Let's say that you want to output or concat strings. Which of the following styles do you prefer?   var p = new { FirstName = "Bill", LastName = "Gates" }; Console.WriteLine("{0} {1}", p.FirstName, p.LastName); Console.WriteLine(p.FirstName + " " + p.LastName);   Do you rather use format or do you simply concat strings? What is your favorite? Is one of these hurting your eyes?  Do you have any rational arguments to use one and not the other?  I'd go for the second one.
11390
In my retagging madness today, I came across a few questions tagged similar to the following:  [visual-studio], [visual-studio-2005]  My question is: should questions be tagged like this with both tags, or is it better to only apply the more descriptive/precise tag? How would this affect searching?    Another issue. With a tag such as [visual-studio], there's 2 additional levels of tags: [visual-studio-2005] and [visual-studio-2005-expres] (trailing 's' is not a typo -- tag length limit is in play), so if I have to tag a question with VS2005 Express and I should tag with all 3, I've burned up 3 of the 5 allowed tags just for the environment I'm using, which doesn't seem right. In fairness, these instances are probably rare, but certainly 2 out 5 tags can be significant sometimes, too.
23258
I'm trying to figure out the best way to link a printed piece to the electronic file name. What are the best practices for file naming and version control? Do you use a log of sorts for graphic design?
74039
I've recently asked a question:   regarding working with chapters in tex. I have since learned that I must use documentclass report for the purposes of my document. However, now all of my Theorems, Corollaries, Remarks, and so forth are numbered "0.number.number" (with the first 0 never changing). I would like, at the very least, to understand how to make the first number denote the number of the chapter.  The current code I have is this:  \newtheorem{thm}{Theorem}[section] \newtheorem{rmk}[thm]{Remark} \newtheorem{qst}[thm]{Question} \newtheorem{prp}[thm]{Proposition} \newtheorem{hyp}[thm]{Hypotheses} \newtheorem{crl}[thm]{Corollary} \newtheorem{cnj}[thm]{Conjecture} \newtheorem{lem}[thm]{Lemma} \newtheorem{dff}[thm]{Definition} \newtheorem{clm}[thm]{Claim} \newtheorem{ntt}[thm]{Notation} \numberwithin{equation}{section}
3108
I have some confusion related to the .NET platform build options in Visual Studio 2008.  What is the "Any CPU" compilation target, and what sort of files does it generate? I examined the output executable of this "Any CPU" build and found that they are the x86 executables (who would not see that coming!). So, is there any difference between targeting executable to x86 vs. "Any CPU"?  Another thing that I noticed, is that managed C++ projects do not have this platform as an option. Why is that? Does that mean that my suspicion about "Any CPU" executables being plain 32-bit ones is right?
5812
Why does the  exist in modern languages such as C# and Java? Is it purely a self documenting code feature, or does it serve any actual purpose?  For instance the following example:  Class1 obj = new Class1();  Class1 foo() {     return new Class1(); }   Is as easy to read as the more Pythonesque way of writing it:  Class1 obj = Class1();  Class1 foo() {     return Class1(); }   EDIT:  hit the nail on the head with the clarification of the question: Why did they choose this syntax?
49832
Continuing from my , is there a comprehensive document that lists all available differences between debug and release modes in a C# application, and particularly in a web application?  What differences are there?
116490
I believe that some of my questions were asked before but I didn't find any satisfying guidance. I just found only . I hope senior members will help me to understand the situation and use tags correctly.  I have several questions which are related to following explanation:   What is current community's attitude towards version specific tags on Stack Exchange?  How to correctly use version specific tags?  When is it good to create version specific tag? Should any version specific tags be at least marked as synonyms to version unspecific tags? Should I use version specific tags if I re-tagging questions?  Should I re-tag questions if I think that incorrect version specific tag is used?   For example, I mainly visiting questions related to two main topics: WCF and Entity framework. Tagging questions in these topics follow very different rules. WCF uses single main tag  sometimes combined with  currently proposed as synonym to WCF, whereas Entity framework currently have:      - version 2 and 3 never existed  - I started this tag myself but now I think it was a mistake   and two ridiculous tags (both for CTP5 of EF 4.1 – their meaningful lifetime was about 3 months):         I've already several times retagged questions introducing tag for EF 4.1 RC. Separate problem is in Code-first approach related strictly to  where 5 other tags are used to describe the same:           I asked for merging these tags in .  As you can see that EF topic currently contains too many tags to describe the same. There are other related tags to EF but they are mainly used as supporting tags for specific features.  First I thought this is a common situation because ASP.NET MVC uses also new tag for each version even questions usually asks for general problems related to any version but then I was informed by @Richard in  that EF is probably tag polluted.  I regularly retag questions in EF topic. Currently I'm using:     as general topic's tag because I was already informed by @Slauma  that people usually have only this tag between their favorites and I should not remove it. It was a good point.   for questions related directly to EFv4 features  for questions related directly to EF 4.1 features  for questions related to fluent and annotations mapping from EF 4.1   But still I think that  and  are somehow redundant but I'm not sure if my opinion is shared by other participants in these tags. WCF also has 3 versions and almost twice as more questions than EF and it still uses only single main tag  without any problem. I think the used version should be information included in a question.  Are there any general rules? What about version related tags to C#, .NET and ASP.NET MVC? I first thought that it is common and accepted approach to create version specific tags just because users around ASP.NET MVC (strong tag) do the same.  Sometimes I think I received privileges too early and I don't use them correctly. I need some guidance.
112890
I have always made a point of writing nice code comments for classes and methods with the C# xml syntax. I always expected to easily be able to export them later on.  Today I actually have to do so, but am having trouble finding out how. Is there something I'm missing? I want to go Menu->Build->Build Code Documentation, but there is no option to do that, there.
44627
Is there some chance to know how a binary was built, under Linux? (and or other Unix)  Compiler, version, time, flags etc...  I looked at readelf and couldn't find much, but there might be other ways at analyzing the binary code/section etc...  Anything you know how to extract?
65741
I need to find out the file/directory name that a .lnk is pointing to using c#.  What is the simplest way to do this?  Thanks.
70083
I'm trying to find out how much memory my objects take to see how many of them are ending up on the  (which is anything over 85,000 bytes). Is it as simple as adding 4 for an int, 8 for a long, 4 (or 8 if you're on 64 bit) for any reference types etc for each object, or are there overheads for methods, properties, etc.?
73630
Does anyone know how to tell VS(2008) where to save the obj folder when building the solution? We have it save the bin folder to another path in order to keep the source file folders small (ie. emailable), but can't find any way to tell it to do the same with obj...