File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -263,13 +263,14 @@ public static void Dump(EndpointCollection endpointCollection)
263263 public static void WriteBanner ( )
264264 {
265265 var version = typeof ( netmockery . Program ) . GetTypeInfo ( ) . Assembly . GetName ( ) . Version ;
266- var versionString = $ "{ version . Major } .{ version . Minor } ";
267- WriteLine ( $ "Netmockery v { versionString } ") ;
266+ var versionString = $ "{ version . Major } .{ version . Minor } .{ version . MinorRevision } ";
268267#if NET462
269- WriteLine ( "Full .NET framework version" ) ;
268+ var framework = " .NET Framework" ;
270269#else
271- WriteLine ( "DotNetCore version" ) ;
270+ var framework = ".NET Core" ;
272271#endif
272+
273+ WriteLine ( $ "Netmockery v { versionString } ({ framework } )") ;
273274 }
274275 }
275276}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
33 <TargetFrameworks >netcoreapp1.1;net462</TargetFrameworks >
4+ <Version >0.9.0</Version >
5+ <AssemblyVersion >0.9.0.0</AssemblyVersion >
6+ <FileVersion >0.9.0.0</FileVersion >
47 </PropertyGroup >
58 <ItemGroup >
69 <Folder Include =" wwwroot\" />
You can’t perform that action at this time.
0 commit comments