Build server prototype (integration with GitHub / NuGet / etc)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
micro-build-server/BuildServer/lib/tasks/dotnetpackwebapp.template.v...

9 lines
429 B

<%@ Page Language="C#" %>
{{#versionTypeName}}
<% var assembly = typeof({{versionTypeName}}).Assembly; %>
<% var attribute = (System.Reflection.AssemblyInformationalVersionAttribute)assembly.GetCustomAttributes(typeof(System.Reflection.AssemblyInformationalVersionAttribute), false).Single(); %>
<%= attribute.InformationalVersion %>
{{/versionTypeName}}
{{^versionTypeName}}
Version information unavailable
{{/versionTypeName}}