mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Removed assembly version and added git versioning
This commit is contained in:
parent
1bfddb9ec9
commit
caa08e72ba
@ -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()
|
||||
{
|
||||
|
2
Teknik/GitVersionConfig.yaml
Normal file
2
Teknik/GitVersionConfig.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
assembly-versioning-scheme: MajorMinorPatch
|
||||
next-version: 3.1.0
|
@ -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")]
|
||||
|
@ -22,6 +22,8 @@
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@ -238,6 +240,7 @@
|
||||
<Content Include="Areas\Blog\Views\Blog\Posts.cshtml" />
|
||||
<Content Include="Areas\Blog\Views\Blog\Post.cshtml" />
|
||||
<Content Include="Areas\Blog\Views\Blog\ViewPost.cshtml" />
|
||||
<Content Include="GitVersionConfig.yaml" />
|
||||
<None Include="Properties\PublishProfiles\Teknik Dev.pubxml" />
|
||||
<None Include="Scripts\jquery-2.1.4.intellisense.js" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
@ -326,6 +329,13 @@
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Import Project="..\packages\GitVersionTask.3.3.0\build\dotnet\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.3.3.0\build\dotnet\GitVersionTask.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>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}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\GitVersionTask.3.3.0\build\dotnet\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GitVersionTask.3.3.0\build\dotnet\GitVersionTask.targets'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
@ -4,6 +4,7 @@
|
||||
<package id="bootstrap" version="3.3.6" targetFramework="net452" userInstalled="true" />
|
||||
<package id="EntityFramework" version="6.1.3" targetFramework="net452" userInstalled="true" />
|
||||
<package id="FontAwesome" version="4.4.0" targetFramework="net452" userInstalled="true" />
|
||||
<package id="GitVersionTask" version="3.3.0" targetFramework="net452" developmentDependency="true" />
|
||||
<package id="Inferno" version="1.1.0" targetFramework="net452" userInstalled="true" />
|
||||
<package id="jQuery" version="2.1.4" targetFramework="net452" userInstalled="true" />
|
||||
<package id="jQuery.Validation" version="1.14.0" targetFramework="net452" userInstalled="true" />
|
||||
|
Loading…
Reference in New Issue
Block a user