From caa08e72ba2068a47325af5328099de216218475 Mon Sep 17 00:00:00 2001 From: Uncled1023 Date: Thu, 17 Dec 2015 14:37:28 -0800 Subject: [PATCH] Removed assembly version and added git versioning --- Teknik/Configuration/Config.cs | 2 +- Teknik/GitVersionConfig.yaml | 2 ++ Teknik/Properties/AssemblyInfo.cs | 4 +--- Teknik/Teknik.csproj | 10 ++++++++++ Teknik/packages.config | 1 + 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 Teknik/GitVersionConfig.yaml diff --git a/Teknik/Configuration/Config.cs b/Teknik/Configuration/Config.cs index fcdc380..2ced679 100644 --- a/Teknik/Configuration/Config.cs +++ b/Teknik/Configuration/Config.cs @@ -39,7 +39,7 @@ namespace Teknik public int PostsToLoad { get { return _PostsToLoad; } set { _PostsToLoad = value; } } - public int CommentsToLoad { get { return _PostsToLoad; } set { _PostsToLoad = value; } } + public int CommentsToLoad { get { return _CommentsToLoad; } set { _CommentsToLoad = value; } } public Config() { diff --git a/Teknik/GitVersionConfig.yaml b/Teknik/GitVersionConfig.yaml new file mode 100644 index 0000000..f72314c --- /dev/null +++ b/Teknik/GitVersionConfig.yaml @@ -0,0 +1,2 @@ +assembly-versioning-scheme: MajorMinorPatch +next-version: 3.1.0 diff --git a/Teknik/Properties/AssemblyInfo.cs b/Teknik/Properties/AssemblyInfo.cs index b7ddf60..e00611e 100644 --- a/Teknik/Properties/AssemblyInfo.cs +++ b/Teknik/Properties/AssemblyInfo.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("Teknik")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("Teknik")] [assembly: AssemblyProduct("Teknik")] [assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyTrademark("")] @@ -31,5 +31,3 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.0.0.0")] -[assembly: AssemblyFileVersion("2.0.0.0")] diff --git a/Teknik/Teknik.csproj b/Teknik/Teknik.csproj index d6e748d..c953a31 100644 --- a/Teknik/Teknik.csproj +++ b/Teknik/Teknik.csproj @@ -22,6 +22,8 @@ + + true @@ -238,6 +240,7 @@ + @@ -326,6 +329,13 @@ + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +