-
Notifications
You must be signed in to change notification settings - Fork 656
Closed
Description
Hello,
I've just upgraded to version 3.0.
Having each GitVersionTaskAssemblyInfo
in the default assembly is very nice for us as some of our assemblies are using InternalsVisibleTo
I'm unsure why but during some Rebuild All the namespace generated is completely random and causes a compilation error but if you build again then the issue is fixed and the correct namespace appears
Are you facing the same issue?
Example of a generated namespace:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// GitVersion
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: AssemblyVersion("0.3.0.0")]
[assembly: AssemblyFileVersion("0.3.0.0")]
[assembly: AssemblyInformationalVersion("0.3.0-unstable.690+Branch.develop.Sha.b9d132f75f2667e0ea38ec52dd6e7a2a1b1b7004")]
namespace 1agvoemt
{
[System.Runtime.CompilerServices.CompilerGenerated]
static class GitVersionInformation
{
public static string Major = "0";
public static string Minor = "3";
public static string Patch = "0";
public static string PreReleaseTag = "unstable.690";
public static string PreReleaseTagWithDash = "-unstable.690";
public static string BuildMetaData = "690";
public static string FullBuildMetaData = "690.Branch.develop.Sha.b9d132f75f2667e0ea38ec52dd6e7a2a1b1b7004";
public static string MajorMinorPatch = "0.3.0";
public static string SemVer = "0.3.0-unstable.690";
public static string LegacySemVer = "0.3.0-unstable690";
public static string LegacySemVerPadded = "0.3.0-unstable0690";
public static string AssemblySemVer = "0.3.0.0";
public static string FullSemVer = "0.3.0-unstable.690";
public static string InformationalVersion = "0.3.0-unstable.690+Branch.develop.Sha.b9d132f75f2667e0ea38ec52dd6e7a2a1b1b7004";
public static string BranchName = "develop";
public static string Sha = "b9d132f75f2667e0ea38ec52dd6e7a2a1b1b7004";
public static string NuGetVersionV2 = "0.3.0-unstable0690";
public static string NuGetVersion = "0.3.0-unstable0690";
public static string CommitDate = "2015-07-28";
}
}
Metadata
Metadata
Assignees
Labels
No labels