Questions tagged [assemblyinfo]

AssemblyInfo.cs is a standard file in c# projects that contains metadata about the assembly like its title, copyright or version, declared using .net attributes.

206 questions
0
votes
1 answer

WPF - Combine xmlns

1) I have 3 assemblies. A,B and UI 2) B references A. 3) UI references B and A. 4) in A's AssemblyInfo.cs [assembly: XmlnsDefinition("http://www.cmp.com/a", "A.Controls")] 5) in B's AssemblyInfo.cs [assembly:…
eran otzap
  • 12,293
  • 20
  • 84
  • 139
0
votes
2 answers

Disassmble , modifying , reassmble and create .exe

so i was looking for a good dissassmbler that dose the following : 1. dissassmbl .exe file into assembly code 2. ability to modify the code 3. reassemble the modified code back into exe 4. save it as EXE is there ant software can do that…
0
votes
0 answers

Checking Out AssemblyInfo Files via PowerShell Script

I wanted to post replies to the following post... Check-Out files from TFS 2010 with powershell ... but I couldn't as I don't have the Reputation yet. Anyway, I need to check out AssemblyInfo* files recursively to adjust versioning information…
0
votes
2 answers

Update globalassemblyinfo.cs with a dynamic file

I got a text file with a version number which updates on each build i.e: 1.4.10.301. I would like to insert this number on each build to my globalassemblyinfo.cs file on this line: [assembly: AssemblyVersion("1.4.10.300")] and only to the version…
mfuxi
  • 181
  • 1
  • 2
  • 9
0
votes
1 answer

New Windows C# Build Causes App to Lose Saved Preferences

Every time I recompile my Windows app, I update the AssemblyVersion and AssemblyFileVersion in AssemblyInfo.cs. When my app loads, I call Microsoft.Win32.RegistryKey key1 =…
0
votes
2 answers

Templatized values in AssemblyInfo.cs? Or referring to other values from AssemblyInfo.cs?

I have several C# projects that are in some sense a unit. There are several common AssemblyInfo attributes that make sense to share among them (for example company name). So I made a shared file that all projects include, containing (for example)…
Bob Vesterman
  • 1,127
  • 1
  • 11
  • 31
0
votes
1 answer

Get an error when trying to set the build version with the AssemblyInfo Task

I've added the AssemblyInfo Task reference to my C# project file (VS2008 .NET 3.5), but when I build I get the following error The "AssemblyInfo" task failed unexpectedly. System.ArgumentException: version Parameter name: The specified…
Glenn Slaven
  • 33,720
  • 26
  • 113
  • 165
0
votes
1 answer

How to get a product key token from a library file programatically?

I am creating a SharePoint solution project that will install the Telerik dll files into the GAC and write the appropriate lines into the webconfig upon feature activation. My question is, is there a way to get the product key token, version, and…
jhorton
  • 1,019
  • 3
  • 17
  • 36
0
votes
1 answer

Is there a way to assign the AssemblyTitle in WPF to the Window Title?

I want to have the AssemblyTitle change whenever I change the Title of the main window in WPF. Im not sure how to do this? Any suggestions? Can I do this in the XAML?
0
votes
3 answers

C# Application - Custom Assembly Version Format

Bit of an odd one maybe, but currently looking into if it is possible to implement a custom format for the Assembly Information for a project. In the Assembly information you are given the option of a 4 number system, so major.minor.build.revision I…
Thewads
  • 4,953
  • 11
  • 55
  • 71
0
votes
2 answers

Add Company Name, Product Name, etc to Mixed Mode Assembly DLL

I'm building a mixed-mode assembly with C++/CLI but I can't figure out how to add standard Windows Assembly attributes like Company Name, Copyright, Product Name, Version, etc. There isn't a resource file that works like AssemblyInfo.cs does in C#.…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
0
votes
1 answer

How change assembly information of copied file to a new location

i want to change AssemblyInfo of copied executeable file to a new location and keep the main information of main executeable file safe. i am using the codes below to copy my file to new location with new file name. String fileDestination…
SilverLight
  • 19,668
  • 65
  • 192
  • 300
0
votes
1 answer

MSBuild Expansion Pack: AssemblyInfo - Not behaving as expected

I am trying to get MSBuild to automatically update a project's AssemblyVersion and AssemblyFileVersion. Specifically, just the build and revision number. So, if my source file starts out as [assembly: AssemblyVersion("1.2.3.4")] and my build and…
Daniel Schealler
  • 390
  • 1
  • 16
0
votes
1 answer

ccnet - how to read version info from AssemblyInfo.cs and use as ccnet version label

I have .net project with pre-filled AssamblyVersion in Properties\AssemblyInfo.cs file. I looking for some way how pass this parameter back to CCNET, to version label or to CCNetLabel parameter (its probably same thing). Exist there some simple way…
idMaxCZ
  • 93
  • 1
  • 1
  • 5
0
votes
1 answer

Exclude code coverage in assemblyinfo file

I want to know how we can set the Exclude code coverage attribute for few files from assemblyinfo file? I am aware that we can set the attribute at class level but in my case I do not want to go to each of these classes and set the attribute. I…
superman
  • 1
  • 3
1 2 3
13
14