I am writing a project which makes use of the MS Chart for .net 3.5 utility.  However, either all users will also need to install this, or I need to package the dll with the program.  I can get Visual Studio to copy the dll to the folder with the program, but is it possible to make it embed the dll, so that there is only the one file?  I have seen several external programs out there, but surely there must be a way in Visual Studio - and would it work with a MS .net dll?
8958
Is it possible to embed a pre-existing DLL into a compiled C# executable (so that you only have one file to distribute)? If it is possible, how would one go about doing it?  Normally, I'm cool with just leaving the DLLs outside and having the setup program handle everything, but there have been a couple of people at work who have asked me this and I honestly don't know.
24634
After following the instructions in INSTALL.W64 I have two problems:   The code is still written to the "out32" folder. I need to be able to link to both 32-bit and 64-bit versions of the library on my workstation, so I don't want the 64-bit versions to clobber the 32-bit libs. The output is still 32-bit! This means that I get "unresolved external symbol" errors when trying to link to the libraries from an x64 app.
1189
Does anyone have a good solution for integrating some C# code into a java application?   The code is small, so I could re-write in java, but I would rather reuse the code if possible. Don't repeat yourself, etc.   Also, I know I can expose the C# as a web service or whatever, but it has some security/encryption stuff in there, so I would rather keep it tightly integrated if possible.    Edit: It's going to be on a server-based app, so "downloading" another runtime is irrelevant.
94880
I frequently work with multiple instances of Visual Studio, often working on different branches of the same solution.   used to display the full path of the current source file in its title bar, but Visual&nbsp;Studio 2005 doesn't appear to do this. This makes it slightly more awkward than it should be to work out which branch of the solution I'm currently looking at (the quickest way I know of is to hover over a tab so you get the source file's path as a tooltip).  Is there a way to get the full solution or file path into the title bar, or at least somewhere that's always visible, so I can quickly tell which branch is loaded into each instance?
116016
My dev team is getting ready to start a new project. The shop has been a "VB shop" since the days of VB3, but the prevailing opinion now is that we're a ".NET shop" and since C# was created specifically for .NET, whereas VB.NET was a retrofit, we've decided to move forward writing C# only. The controversy revolves around the question of whether the Microsoft.VisualBasic namespace has a legitimate place in new development or if it is only for backward compatibility for VB6 (and older) code. A further, and more interesting question is whether the code "under" the Microsoft.VisualBasic namespace is even .NET code of if it is really the old VB runtime carefully packaged in a .NET wrapper, making it in fact a COM interop control (similar to how WinForms wraps the non-.NET Win32 windowing API but exposes only .NET APIs for consumption).  To make this even more confusing, our dev team has a Microsoft Consulting Services consultant telling us Microsoft no longer supports Visual Basic, including the VB runtime underlying the Microsoft.VisualBasic namespace.  What I'm looking for are links -- preferably to unimpeachable Microsoft sources -- to documentation that definitively answers this question one way or the other. I've already tried several search permutations on Google and not gotten any closer to getting to the bottom of this question.  EDIT: Apparently I didn't make my question clear. I'm not asking if VB.NET is true .NET code. I'm trying to determine if whatever is "under" the Microsoft.VisualBasic namespace is .NET code or if it's the old VB6 runtime carefully packaged and exposed as .NET code. Someone already said that 9/10 of the namespace simply wraps code from elsewhere in .NET; what about that other 1/10?
28
I was wandering if there was a way to save a specific project with all layers as dependent files to make it easy to share with collaborators.  for example, create a zipped or non-zipped folder containing the same structure as the project :  Root_folder/ my_project.qgs     \____________myfolder                      \___Layer 1                      \___Layer 2                      \___Layer 3     \____________myfolder2                      \___Layer 4                      \___Layer 5                      \___Layer 6     \____________myfolder3                      \________myfolder4                                      \___Layer 6                                      \___Layer 7                      \___Layer 8   If it does not exists, would it be tricky to develop regarding the current API ?
54393
The prime example is C# and .Net. 95% of C# questions are also tagged .Net. The reverse isn't the case so it's not a synonym. Basically, C# is a child of .Net.  Would it be possible to create some sort of one-way linkage like this?
22716
When I do a clean build my C# project, the produced dll is different then the previously built one (which I saved separately). No code changes were made, just clean and rebuild.   Diff shows some bytes in the DLL have changes -- few near the beginning and few near the end, but I can't figure out what these represent. Does anybody have insights on why this is happening and how to prevent it?   This is using Visual Studio 2005 / WinForms.  Update: Not using automatic version incrementing, or signing the assembly. If it's a timestamp of some sort, how to I prevent VS from writing it?   Update: After looking in Ildasm/diff, it seems like the following items are different:   Two bytes in PE header at the start of the file. &lt;PrivateImplementationDetails&gt;{guid} section  Cryptic part of the string table near the end (wonder why, I did not change the strings) Parts of assembly info at the end of file.   No idea how to eliminate any of these, if at all possible...
48530
As a long-time  user (and hater) I was discussing switching to  with a colleague; he suggested using  instead. Since, apparently, it can be used as peer-to-peer without a central server (we are a 3-developer team).   I have not been able to find anything about tools that integrate Git with Visual Studio, though - does such a thing exist?   What are the technologies available for using Git with Visual Studio? And what do I need to know about how they differ before I begin?
57380
We just did a move from storing all files locally to a network drive. Problem is that is where my VS projects are also stored now. (No versioning system yet, working on that.) I know I heard of problems with doing this in the past, but never heard of a work-around. Is there a work around?  So my VS is installed locally. The files are on a network drive. How can I get this to work?  EDIT: I know what SHOULD be done, but is there a band-aid I can put on right now to fix this and maintain the network drive?  EDIT 2: I am sure I am not understanding something, but  has the right idea. I'll work with the lead web developer when he gets back into the office to figure out a temporary solution until we get some sort of version control setup. Thanks for the ideas.
99815
I would like to embed a text file in an assembly so that I can load the text without having to read it from disk, and so that everything I need is contained within the exe. (So that it's more portable)  Is there a way to do this?  I assume something with the resource files?  And if you can, how do you do it and how do you programaticaly load the text into a string?
32981
Is it possible to instantiate an object at runtime if I only have the DLL name and the class name, without adding a reference to the assembly in the project? The class implements a interface, so once I instantiate the class, I will then cast it to the interface.  Assembly name:     library.dll    Type name:      Company.Project.Classname     EDIT: I dont have the absolute path of the DLL, so Assembly.LoadFile won't work. The DLL might be in the application root, system32, or even loaded in the GAC.
37157
Currently I have some code that is being generated dynamically.  In other words, a C# .cs file is created dynamically by the program, and the intention is to include this C# file in another project.  The challenge is that I would like to generate a .DLL file instead of generating a C# .cs file so that it could be referenced by any kind of .NET application (not only C#) and therefore be more useful.
112561
A friend of mine downloaded some malware from Facebook, and I'm curious to see what it does without infecting myself. I know that you can't really decompile an .exe, but can I at least view it in Assembly or attach a debugger?   Edit to say it is not a .NET executable, no CLI header.
98284
My installer build "signs" a DLL using a Code Signing certificate during the build process.   I've noticed that if I try to build twice in succession, the second build fails because the DLL is already signed so signcode chokes. Obviously I can fix this by signing a copy of the DLL in the build, but the problem intrigued me:   Is it possible to "unsign" a DLL, and if not, why not...?
108791
I need to package an application into a single executable file (so that I don't have to install it, so that it will be portable).  Does anybody know what I can use to make a program portable?
28183
Imagine the following solution:   Website ABC.com (not Web Application) BLL (business logic layer in a seperate assembly) DTO (dto objects in their own assembly) DAL (data access layer in it's own assembly as well).   The BLL has a reference to the DAL. The BLL has a reference to the DTO layer. The Website project references the BLL.    When one compiles the website project, the following DLLs will appear in the BIN directory: BLL.dll DTO.dll DAL.dll    When one goes to preview the site, an error occurs about not having the necessary assembly references... Now if one right clicks on the website project, Add Reference, and explicitly add the reference to the missing assemblies, it will work fine.  It seems to me like ASP.NET pulls the referenced assemblies of the referenced assembly being added/referenced in the website.    Why does one need to add explicit references to the references of the references... ? Sorry if I'm not wording this correctly or if it confusing.