Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Set the FileVersion of a website dll

Avatar of resourcesys
resourcesys asked on
1 Comment1 Solution177 ViewsLast Modified:

We have a web site project that is part of a solution (1 website [not a web application], many class libraries) in VS2015 and when we make changes it is built through a CI process we run using TeamCity.

This process alters the AssemblyInfo file to set the correct file version and when the site is built the class library .dll files have the correct file version but the website .dll files do not.

Is there any way to achieve this in a MSBuild script? Currently we use the AspNetCompiler option to build the site.

I have also tried a command line tool called StampVer but as the default file version is i cannot use it as it gives an error message because the size of the version is too small (for setting to the original would have to be Is there a way to change the default file version to something else e.g

Also, the project has to be a website because we need the ability to deploy individual code behind files when necessary.

Any help is much appreciated.


Avatar of resourcesys

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answers