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.
Questions tagged [assemblyinfo]
206 questions
1
vote
2 answers
C++ cli assembly attributes missing
Hi I created as sample C++ CLI project in VS.
By default it has many assembly attributes like company, product etc.
On Windows7 or Vista, when I right click on the assembly and go to the Details tab, the assembly is missing some of the attributes…

dattebayo
- 2,012
- 4
- 30
- 40
1
vote
1 answer
How do I automatically increase assembly version number in .NET Standard Class Library Project
This Stack Overflow question has many answer for automatically increase the assembly version number in Visual Studio project.
But when comes to .NET Standard class library project it doesn't has a AssemblyInfo.cs file.
So how can I increase the…

Rahul
- 2,431
- 3
- 35
- 77
1
vote
2 answers
referencing and storing the strong name externally for reuse
I have a lot of assemblies that have set the InternalsVisibleToAttribute pointing one specifc assembly within the same solution. Unfortunately the assembly that is being pointed to has a stong name, so I always have to put the same public key token…

bitbonk
- 48,890
- 37
- 186
- 278
1
vote
2 answers
Teamcity AssemblyInfo patcher not working
I get the following error message in the TeamCity build log when trying to use the AssemblyInfo Patcher:
[Update assembly versions] Updating assembly version in C:...\work\xxxxxxxxxx\GlobalAssemblyInfo.cs
[10:15:28][Update assembly versions]…

Miguel
- 53
- 7
1
vote
0 answers
How to access an element of a group with multiple captures for regex replace
I have been trying to figure out a REGEX used by TeamCity in the File Content Replacer build feature and understand the majority of what it does to get the build number from the AssemblyVersion string in my GlobalAssemblyInfo. However, the replace…

Chris Watts
- 822
- 1
- 9
- 27
1
vote
1 answer
How can I restore a corrupted AssemblyInfo.cs file?
I have accidentally copied and replaced more than I should have.... My Guid number ended up changed in the AssemblyInfo.cs file. How can I restore it, not knowing the number it should be?
This has to be a duplicate, but I cant find it.

amalgamate
- 2,200
- 5
- 22
- 44
1
vote
0 answers
C# Changing AssemblyVersion to an Earlier Version Affects Performance
I've been looking into this bug for a week or so, and after all attempts to figure out how to fix it I still have not done so. That issue is the title of this post. When I go into my c# project and increment the AssemblyVersion to a newer version…

jdude0822
- 11
- 2
1
vote
1 answer
Setting Assembly Info for InternalsVisibleTo with MSBuild Community Tasks
I'm using MSBuild Community Tasks to automatically update my assembly version numbers according to my Subversion repository tag. I have added the following to my project file:
This gives me a new AssemblyInfo.cs file: unfortunately I need to add…

Chris Spicer
- 2,144
- 1
- 13
- 22
1
vote
1 answer
Complex versioning in TeamCity with my large solution?
POSSIBLY POINTLESS BACKSTORY
In an effort to get out of NuGet hell (formerly dependency hell) my team has decided to switch to considerably larger solutions focused on our major divisions in the company. In the past we would have a core DLL that…

Logarr
- 2,120
- 1
- 17
- 29
1
vote
0 answers
Needing to update AssemblyInfo after msbuild checks if a build is required
I want to only update the AssemblyInfo file if msbuild is going to build the target. I started with BeforeBuild but that occurs way before msbuild checks if the build needs done or not. If done too early it always forces the build since…

Dan Fergus
- 25
- 3
1
vote
1 answer
Sharing public key across multiple AssemblyInfo
I have signed all my assemblies with strong name.
Now I have to allow all internal assemblies that are friends with unit tests to share the publickey info.
This can be done using,
[assembly: InternalsVisibleTo( "MyProject.UnitTests,…

Rockstart
- 2,337
- 5
- 30
- 59
1
vote
0 answers
C# Assembly Info Dynamic change
I've finished my APP builder using Codedom, now I want to implement Assembly info change feature before compile.
So when client open .exe file (codedom file not compiled one) he get 5-6 Text Boxes, and then when user fill them up and click build…

mikroxxx
- 11
- 3
1
vote
1 answer
TeamCity - AssemblyInfo patcher GlobalAssemblyInfo
We have multiple projects each with a link to a SharedAssemblyInfo file which has info on the author, version, etc. We have just started using TeamCity and I am trying to use the AssemblyInfo patcher and there is an option to patch…

user351711
- 3,171
- 5
- 39
- 74
1
vote
2 answers
Updating the AssemblyInformationalVersion attribute of an exe
Is it possible to update an EXEs AssemblyInformationalVersion attribute? I'm trying to include additional information in the setup.exe output from an InstallAware project rather than just the standard 4 digit version info.

JC.
- 11,561
- 11
- 41
- 50
1
vote
0 answers
Installshield LE Shortcut Display Version Info
I'm using installshield LE to deploy my WPF application.
I have both start menu and desktop shortcuts and would like to display some version info about the wpf application.
Ideally I'd like to display the Assembly information.
Does anyone know how…

user1400716
- 1,126
- 5
- 13
- 32