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
2
votes
0 answers

.NET Core assemby auto-versioning works in assemblyInfo.cs but not in project file

I have read several posts about versioning assemblies in .NET Core. I have .NET Framework assemblies that use the auto-versioning where, in assemblyInfo.cs, I set the [assembly: AssemblyVersion("2.1.*")] attribute. When I build the assembly I can…
Zoe
  • 856
  • 1
  • 9
  • 22
2
votes
1 answer

How do I apply the assembly:ThemeInfo attribute with an auto-generated AssemblyInfo?

After the migration to the new VS 2017 project system, the AssemblyInfo.cs file is now auto-generated by default. How can I add the assembly:ThemeInfo[] attribute to my project that is required by WPF to find the default Themes\generic.xamlfile…
Lennart
  • 9,657
  • 16
  • 68
  • 84
2
votes
1 answer

Excel VSTO: Use ResourceDictionary which is in separate assembly

In my VSTO Application, I need to use the ResourceDictionary which is in separate assembly. I created a separate ResourceDictionary named generic.xaml in the VSTO application under themes folder like /themes/generic.xaml. In that file, I have…
Jayakrishnan
  • 4,232
  • 2
  • 23
  • 35
2
votes
3 answers

nuget: package version is not being updated

I'm trying to pack a new version of a custom NuGet package and when I use the pack command I'm getting a .nupkg file which has a version number that doesn't match with the one that I've specified in the .nuspec file. Example: nuget pack…
lerp90
  • 503
  • 8
  • 23
2
votes
3 answers

AssemblyInfo.cs , .net applications versions

I would like to keep version in my .net applications and let the .net to manage it. I don't really understand how it works. Is the version number per project ? How .net manages versions? If anyone could please explain it briefly i will be grateful.
Olia
  • 21
  • 1
  • 2
2
votes
1 answer

app.manifest and assemblyInfo.cs version numbers and is app.manifest needed?

I've been doing a lot of reading up on the app.manifest but i don't get it. Well i do get you need it for some things such as: which we really do need and use. But there's also…
Vincent
  • 1,497
  • 1
  • 21
  • 44
2
votes
1 answer

Issue loading assembly file

I have this problem: Error 23 The "AssemblyInfo" task could not be loaded from the assembly AssemblyInfoTask, Version=1.0.51130.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not load file or assembly 'AssemblyInfoTask,…
Sergii
  • 749
  • 3
  • 15
  • 36
2
votes
1 answer

Adding a comment to the file generated by an asminfo NAnt task

I am using the asminfo task in NAnt but would like to be able to include an explanatory comment in the generated file (to tell the uninitiated that the file was generated by NAnt, and what its purpose is). Is this possible?
Richard Ev
  • 52,939
  • 59
  • 191
  • 278
2
votes
1 answer

Mix existing and AssemblyInfo patcher generated version info in TeamCity builds

I've enabled a "Build Feature" called "AssemblyInfo patcher" to tweak the version of DLLs generated by my TeamCity builds. I've remixed info from this other question and came up with this Assembly version format…
Jeroen
  • 60,696
  • 40
  • 206
  • 339
2
votes
1 answer

AssemblyInfo.cs versioning in Jenkins using MSBuild

I seem to be running into issues with versioning in Jenkins using MSBuild. I am using Change Assembly Version Plugin which successfully updates the AssemblyInfo.cs file in the workspace folder. Using MSBuild on the server via CMD, MSBUILD…
Telson Alva
  • 842
  • 6
  • 22
  • 37
2
votes
1 answer

Generating an AssemblyInfo file in an MVC6 project

I have created a brand new MVC6 project from a template in visualstudio community edition. As opposed to previous versions of MVC I can't see an assemblyinfo file in the properties folder. I'd like to get one set up with my auto incrementing…
Alex C
  • 16,624
  • 18
  • 66
  • 98
2
votes
2 answers

the carry flag issue!

Suppose AX =FFFE and BX=1234 now if we write cmp ax,bx (bx will be subtracted from ax and the approprite flages will be updated) now the binary representation of the numbers in ax and bx is given by AX = 1111 1111 1111 1110 BX= …
Zia ur Rahman
  • 1,411
  • 4
  • 26
  • 43
2
votes
1 answer

How to use Svn Version Task to set the Version of a vb project

I have a Visual Studio 2008 Solution where the main output exe is a VB.Net Winforms exe which has several VB.Net and C# dll's linked from the same solution. The whole solution is under version control with subversion. Now I want to automagically…
Jürgen Steinblock
  • 30,746
  • 24
  • 119
  • 189
2
votes
1 answer

AssemblyInfo Patcher does not update GlobalAssamblyInfo file

All our projects are linked to global assemblyinfo.cs. I'm using assemblyInfo Patcher to update version in GlobalAssemblyInfo file (TeamCity 8.1.3), but it works only for regular assemblyinfo file that is not global. Did I missed something?
user3035279
  • 189
  • 1
  • 1
  • 8
2
votes
3 answers

stamping the username on c# assembly - who build this dll

So, here is what I am trying to do. I am trying to stamp name of the user who compiled the particular project. As link assembly version is there any way by using that I can store the original user name on dll. I tried creating custom attribute and…