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

Adding AllowPartiallyTrustedCallers with MSBuild

I am using CC.Net with MSBuild tasks to build an application that is composed of a number of solutions and projects. We are using the AssemblyInfo MSBuild Community task to update version info in AssemblyInfo.cs. Unfortunately the…
Ben Rice
  • 85
  • 7
0
votes
1 answer

Using MSBuild Extension Pack and AssemblyInfo to automate the version number, why does it fail when added to an existing project?

I have a large project that consists of several solutions which all contain a mix of unique and shared projects. I'm trying to make them all have the same auto-incremented version number when I run my batch build of all of the solutions. The first…
RoboJ1M
  • 1,590
  • 2
  • 27
  • 34
0
votes
2 answers

Access solutioninfo.cs and assemblyinfo.cs from within .csproj

I need to access some information from my solutioninfo.cs and assemblyinfo.cs within my .csproj file and use it as a property. use the value of // my solutioninfo.cs [assembly: AssemblyCompany("MyCompany")] in my csproj: // my…
crauscher
  • 6,528
  • 14
  • 59
  • 85
0
votes
1 answer

AssemblyInfo not working when using variables for MSBuild

I have the following line that works great
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
0
votes
5 answers

Turn Off Auto Increment on AssemblyInfo.cs?

We have a build server that is managing version numbers. When we debug we create a local build that also tries to manage the version numbers. The result is perpetual version control (SVN) conflicts in AssemblyInfo.cs that need to be resolved. Note:…
jww
  • 97,681
  • 90
  • 411
  • 885
0
votes
1 answer

Now Log4Net.config isn't being loaded as I moved my wrapper class to its own class project

Can anyone help, i have been using log4net with success i basically had a static class (wrapper) in my webproject and i load my config from external file called log4net.config by adding this in assemblyinfo.cs // log4net config file …
mark smith
  • 20,637
  • 47
  • 135
  • 187
0
votes
0 answers

Include version number when deploying (assembly version numbers in general)

How do I include the version number of a project on the pages of my web site, especially on error pages? There is a file called AssemblyInfo.cs so I figure I could get the information from there using reflection. Do I have to manually increment the…
chrinetr
  • 205
  • 1
  • 3
  • 13
0
votes
2 answers

Querying AssemblyInformationalVersionAttribute while targeting Windows Mobile 5.0 PocketPC

I have a version number in my AssemblyInfo.cs file like so: [assembly: AssemblyInformationalVersion("0.0.0.2")] Normally I can access this information using FileVersionInfo and I do have a reference to System.dll (where this class is normally…
Charlie Salts
  • 13,109
  • 7
  • 49
  • 78
-1
votes
1 answer

Update AssemblyInfo.cs version from TFS (Team Foundation Server) when Checking in

As title says. Is there a way to get a value from TFS like a "Build Value" which I could implement in to visual studio Forms Application upon clicking "Check In" in "Team Explorer"? Found something like this:…
Edgaras
  • 449
  • 3
  • 14
-1
votes
1 answer

tfsBuildExtensions Assemblyinfo activity in tfs 2013 implementation issues

I am using the default template (tfvsTemplate.12.xaml) to customize my build. I want to auto increment the AssemblyVersion build number in our nightly deployment builds. I set it up as recommended here:…
1 2 3
13
14