diff --git a/AspDotnetVueJs.nuspec b/AspDotnetVueJs.nuspec
index fc4d8da..9e86df6 100644
--- a/AspDotnetVueJs.nuspec
+++ b/AspDotnetVueJs.nuspec
@@ -10,7 +10,7 @@
- 2.1.0
+ {{version}}
https://github.com/hvpaiva/aspdotnet-vuejs
https://github.com/hvpaiva/aspdotnet-vuejs/blob/master/LICENSE
diff --git a/CodeStyle.xml b/CodeStyle.xml
index 3ab0eae..b264cf7 100644
--- a/CodeStyle.xml
+++ b/CodeStyle.xml
@@ -1,4 +1,7 @@
-
+
+
+
+
@@ -32,19 +35,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GROUP_PROPERTY_FIELD_WITH_GETTER_SETTER
+ KEEP
+
+
+ TREAT_LAMBDA_INITIALIZED_FIELDS_AS_METHODS
+ KEEP
+
+
+ OVERRIDDEN_METHODS
+ KEEP
+
+
+
+
+
+
+
diff --git a/appveyor.yml b/appveyor.yml
index d7fe290..8ed0734 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,12 +1,12 @@
image: Visual Studio 2017
-version: 2.0.{build}
+version: 3.0.{build}
install:
# - ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- - ps: write-host Build v. $env:appveyor_build_version
+ - ps: write-host Build v. $env:appveyor_build_version
- nuget restore
# - ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
@@ -21,6 +21,7 @@ dotnet_csproj:
build_script:
- msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
+ - ps: (Get-Content appsettings.json).replace('{{version}}', $env:appveyor_build_version ) | Set-Content appsettings.json
- ps: (Get-Content AspDotnetVueJs.nuspec).replace('{{version}}', $env:appveyor_build_version ) | Set-Content AspDotnetVueJs.nuspec
- nuget pack
#Nuget auto-packaging can also be done cref: https://www.appveyor.com/docs/deployment/nuget/
diff --git a/content/appsettings.json b/content/appsettings.json
index b0128f8..279af00 100644
--- a/content/appsettings.json
+++ b/content/appsettings.json
@@ -8,7 +8,7 @@
"App": {
"Title": "ASP.NET VueJs | Template",
"Description": "Template com .NET Core e VueJs",
- "Version": "3.0.0",
+ "Version": "{{version}}",
"TermsOfService": "MIT"
},
"ApiUrl": "http://localhost:5000",