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
7
votes
6 answers
.net: Version numbers for DLL vs EXE?
I have been recently versioning my product (exe) and increasing the build number each time in assemblyinfo.cs.
Works great, my product is currently on version 1.5.x.x so in increase the 4 digit each time I have a successful build.
Now I have my DLLs…

Martin
- 23,844
- 55
- 201
- 327
7
votes
1 answer
How to add Assembly Information to a Web Site/App in Visual Studio 2008
Can anyone tell me how to add an AssemblyInfo.vb file to a Web Application converted from NET2.0 to NET3.5.
I'd like to add the manifest information but cannot find a way to do for the Web Application's compiled DLL.
I am using Web Deployment…

David A Gibson
- 2,013
- 5
- 35
- 60
7
votes
4 answers
How to change the version of all files in Visual Studio
I have a solution in Visual Studio which has many projects and DLL files,
how to change the version of all files in solution (dll and exe files) before build or after?
[
[

SLEO
- 73
- 1
- 2
- 6
7
votes
1 answer
Change application name, icon and assembly info after compilation
I have to distribute a software with 2 different names and, obviously, with different assembly information, such as name, descriptions, company etc.
I'm focusing to find the easy way to handle this huge problem by only changing the compiled EXE…

Bastianon Massimo
- 1,710
- 1
- 16
- 23
7
votes
3 answers
How to update the Value in Assemblyinfo.cs dynamically
I have writen a program which gets the value from SVN repository . Now I want to update the AssemblyFileversion with that value.
As I am not able to write any code inside Assemblyinfo.cs , how will I update the value of AssemblyFileVersion.
I want…

Simsons
- 12,295
- 42
- 153
- 269
7
votes
2 answers
Is there an equivelant to 'AssemblyInfo.cs' in a Win32 DLL project?
I already looked at this topic, but I need the answer flipped around. How would I set the assembly information attributes* in a Win32 DLL?

David Anderson
- 13,558
- 5
- 50
- 76
6
votes
5 answers
How do you manage an AssemblyInfo.cs that is stored in SVN and changes with each build
I've got the following scenario:
An application is built via the IDE and via a build script. The build script is used for the initial setup (fetching dependencies, setting up environment), to generate the binaries and for the continuous integration…

Bruno Lopes
- 2,917
- 1
- 27
- 38
6
votes
1 answer
AssemblyInfo and custom attributes
I'd like to add custom attributes to the AssemblyInfo, and I've created an extension class named AssemblyMyCustomAttribute
[AttributeUsage(AttributeTargets.Assembly)]
public class AssemblyMyCustomAttribute : Attribute
{
private string…

Kman
- 4,809
- 7
- 38
- 62
6
votes
1 answer
Where to change assemblyinformation-defaults?
our system-administrator has installed visual studio 2008 on my pc and didn't enter our companys name. Now i have the problem, that I always have to change the name in the assembly-information manually, because the pc-manufacturer is automatically…

martin
- 2,957
- 3
- 25
- 46
6
votes
1 answer
error MSB6006: "svnversion.exe" exited with code 1
I am trying to get revision number from svn to put on my AssemblyInfo.cs file. I already made that on my computer and works fine. But when I use hudson to build and deploy my application automatically on server then this error appears. Anyone knows…

Valter Júnior
- 948
- 7
- 19
6
votes
1 answer
Setting AssemblyFileVersion with MSBuild-call?
We have a batch-based buildprocess and we are using MSBuild only for compiling our project-files from visual studio. We also have integrated wix into our build-process. To set the version of our software we specify in the main-build-script some…

martin
- 2,957
- 3
- 25
- 46
6
votes
0 answers
MSBuild F# project with AssemblyInfo.fs file. Error during CoreCompile with fsc.exe
I have problem with building my solution by MSBuild.
In my solution I have the F# projects to which I have added the AssemblyInfo.fs files, such file looks as follows:
namespace namespaceName
open System.Reflection
open…

user2323704
- 853
- 1
- 7
- 13
6
votes
5 answers
Where to specify version number in ASP.NET Web Site
So I have an ASP.NET 'Web Site' (as opposed to a Web Application) which has no AssemblyInfo.cs file or Bin folder or anything like that.
I want to have a way to specify an Assembly version number (e.g. 7.0.2.0). In a Web Application you would do…

codeulike
- 22,514
- 29
- 120
- 167
5
votes
3 answers
Is AssemblyInfo.cpp necessary?
I want to remove AssemblyInfo.cpp, because of some metadata errors that sometimes come up.
Is AssemblyInfo.cpp useful for anything? Or can it be removed without any problem?

demoncodemonkey
- 11,730
- 10
- 61
- 103
5
votes
2 answers
Is AssemblyInfo.cs file needed for .Net Core projects?
I have migrated project of WPF in Asp.Net framework into Asp.Net core. Existing .net projects have AssemblyInfo.cs inside properties folder.when creating new WPF project using "dotnet new wpf". AssemblyInfo.cs file gets added.
AssemblyInfo.cs in…

Karthic G
- 1,162
- 1
- 14
- 31