User Tools

Site Tools


programming:net_core:razor_pages:how_to_display_a_configuration_file_version_number_in_a_razor_pages_.net_core_web_app

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
programming:net_core:razor_pages:how_to_display_a_configuration_file_version_number_in_a_razor_pages_.net_core_web_app [2019/05/31 01:16]
adminuser created
programming:net_core:razor_pages:how_to_display_a_configuration_file_version_number_in_a_razor_pages_.net_core_web_app [2020/03/25 06:29] (current)
Line 13: Line 13:
 The article that gave me the solution I needed was "Get App Version" in .NET Core https://edi.wang/post/2018/9/27/get-app-version-net-core The article that gave me the solution I needed was "Get App Version" in .NET Core https://edi.wang/post/2018/9/27/get-app-version-net-core
  
-I didnt need this article, but it looks like it describes a useful solution I may need in the near future regarding version prefixes and suffixes.  https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-mean/ +I didnt need this article, but it looks like it describes a useful solution I may need in the near future regarding version prefixes and suffixes.   
-* Version vs VersionSuffix vs PackageVersion: What do they all mean? https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-... +  * https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-mean/ 
-** May 8, 2018 - Setting an MSBuild property in your csproj file. With .NET Core, and the simplification of the .csproj project file format, adding properties to your project file is no longer an arduous task. You can set any of the version numbers I've described in this post by setting a property in your .csproj file. +  * Version vs VersionSuffix vs PackageVersion: What do they all mean? https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-... 
-*** You visited this page on 5/22/19.+    * May 8, 2018 - Setting an MSBuild property in your csproj file. With .NET Core, and the simplification of the .csproj project file format, adding properties to your project file is no longer an arduous task. You can set any of the version numbers I've described in this post by setting a property in your .csproj file. 
 +      * You visited this page on 5/22/19.
  
  
 Google queries I tried:  Google queries I tried: 
-* Version FileVersion AssemblyVersion ReleaseVersion +  * Version FileVersion AssemblyVersion ReleaseVersion 
-* version number from csproj +  * version number from csproj 
-* razor pages display version number +  * razor pages display version number 
-** Displaying and Setting Current ASPNET Assembly Version - ardalis - https://ardalis.com/displaying-and-setting-current-aspnet-assembly-version . You visited this page on 5/22/19. +    * Displaying and Setting Current ASPNET Assembly Version - ardalis - https://ardalis.com/displaying-and-setting-current-aspnet-assembly-version . You visited this page on 5/22/19. 
-*** Nov 15, 2017 - Displaying this on a Razor Page can be done simply by settings a .... NET Core Assemblies, specifying as the Version Number the build ...   +      * Nov 15, 2017 - Displaying this on a Razor Page can be done simply by settings a .... NET Core Assemblies, specifying as the Version Number the build ...   
-** How to get the product version from a Razor View - Stack Overflow - https://stackoverflow.com/questions/13238688/how-to-get-the-product-version-from-a-razor-view - 2 answers +    * How to get the product version from a Razor View - Stack Overflow - https://stackoverflow.com/questions/13238688/how-to-get-the-product-version-from-a-razor-view - 2 answers 
-*** Nov 5, 2012 - I am guessing that it is trying to get the version of the Razor Engine, not your application. ... NET handles each Page/View (Razor view). +      * Nov 5, 2012 - I am guessing that it is trying to get the version of the Razor Engine, not your application. ... NET handles each Page/View (Razor view). 
-* razor pages display csproject releaseversion +  * razor pages display csproject releaseversion 
-** Additions to the csproj format for .NET Core - .NET Core CLI | Microsoft ...  https://docs.microsoft.com/en-us/dotnet/core/tools/csproj +    * Additions to the csproj format for .NET Core - .NET Core CLI | Microsoft ...  https://docs.microsoft.com/en-us/dotnet/core/tools/csproj 
-*** Apr 7, 2019 - With the move to the csproj format in the latest SDK versions, we've moved ... Because of that, Solution Explorer will continue show *.cs items as part ... NET Core Razor Class Library SDK with the ID of Microsoft. ..... This page. +      * Apr 7, 2019 - With the move to the csproj format in the latest SDK versions, we've moved ... Because of that, Solution Explorer will continue show *.cs items as part ... NET Core Razor Class Library SDK with the ID of Microsoft. ..... This page. 
-** Display project version in ASP.NET MVC Core application (RC2 ...  - https://stackoverflow.com/questions/37798075/display-project-version-in-asp-net-mvc-core-application-rc2 +    * Display project version in ASP.NET MVC Core application (RC2 ...  - https://stackoverflow.com/questions/37798075/display-project-version-in-asp-net-mvc-core-application-rc2 
-*** 5 answers - Aug 17, 2017 - GetName().Version. as specified in "Replacing API usage" section of the previous linked page. ... myproject.csproj <PropertyGroup> ... +      * 5 answers - Aug 17, 2017 - GetName().Version. as specified in "Replacing API usage" section of the previous linked page. ... myproject.csproj <PropertyGroup> ... 
-* applicationversion always shows 1.0.0.0 razor pages + 
-* applicationversion always shows 1.0.0.0 +  * applicationversion always shows 1.0.0.0 razor pages 
-* assemblyinfo.cs not showing version number from csproj +  * applicationversion always shows 1.0.0.0 
-* razor pages ApplicationVersion always showing 1.0.0.0 +  * assemblyinfo.cs not showing version number from csproj 
-** Problem getting the AssemblyVersion into a web page using Razor Pages - https://stackoverflow.com/questions/6156903/problem-getting-the-assemblyversion-into-a-web-page-using-razor-mvc3 +  * razor pages ApplicationVersion always showing 1.0.0.0 
-* razor pages display solution ReleaseVersion number +    * Problem getting the AssemblyVersion into a web page using Razor Pages - https://stackoverflow.com/questions/6156903/problem-getting-the-assemblyversion-into-a-web-page-using-razor-mvc3 
-* razor pages "project ReleaseVersion" number +  * razor pages display solution ReleaseVersion number 
-* razor pages "project release version" number +  * razor pages "project ReleaseVersion" number 
-* razor pages "project version" number +  * razor pages "project release version" number 
-* razor pages project version number+  * razor pages "project version" number 
 +  * razor pages project version number
  
  
 Some microsoft pages I looked at: Some microsoft pages I looked at:
-* Google query: AssemblyFileVersionAttribute +  * Google query: AssemblyFileVersionAttribute 
-** https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assemblyfileversionattribute?view=netframework-4.8+    * https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assemblyfileversionattribute?view=netframework-4.8
  
  
 Some other pages I looked at:  Some other pages I looked at: 
-* Setting the version number for .NET core projects with a CSPROJ file and not JSON configured projects https://stackoverflow.com/questions/43274254/setting-the-version-number-for-net-core-projects-csproj-not-json-projects  +  * Setting the version number for .NET core projects with a CSPROJ file and not JSON configured projects https://stackoverflow.com/questions/43274254/setting-the-version-number-for-net-core-projects-csproj-not-json-projects  
-* Auto Versioning in Visual Studio 2017 (.NET Core) https://stackoverflow.com/questions/43019832/auto-versioning-in-visual-studio-2017-net-core +  * Auto Versioning in Visual Studio 2017 (.NET Core) https://stackoverflow.com/questions/43019832/auto-versioning-in-visual-studio-2017-net-core 
-* Setting the version number for .NET Core projects - CSPROJ - not JSON projects -  https://stackoverflow.com/questions/43274254/setting-the-version-number-for-net-core-projects-csproj-not-json-projects +  * Setting the version number for .NET Core projects - CSPROJ - not JSON projects -  https://stackoverflow.com/questions/43274254/setting-the-version-number-for-net-core-projects-csproj-not-json-projects 
-* Problem getting the AssemblyVersion into a web page using Razor /MVC3  -  https://stackoverflow.com/questions/6156903/problem-getting-the-assemblyversion-into-a-web-page-using-razor-mvc3 +  * Problem getting the AssemblyVersion into a web page using Razor /MVC3  -  https://stackoverflow.com/questions/6156903/problem-getting-the-assemblyversion-into-a-web-page-using-razor-mvc3 
-* How to use the dotnet-pack --version-suffix with csproj?   - https://stackoverflow.com/questions/42612916/how-to-use-the-dotnet-pack-version-suffix-with-csproj/42615574#42615574+  * How to use the dotnet-pack --version-suffix with csproj?   - https://stackoverflow.com/questions/42612916/how-to-use-the-dotnet-pack-version-suffix-with-csproj/42615574#42615574
  
programming/net_core/razor_pages/how_to_display_a_configuration_file_version_number_in_a_razor_pages_.net_core_web_app.1559265396.txt.gz · Last modified: 2019/05/31 05:16 (external edit)