File tree Expand file tree Collapse file tree
ServiceFileCreator.TestApp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using Microsoft . Extensions . Hosting ;
22using ServiceFileCreator . Extensions ;
3- using System ;
43using System . IO ;
54
65namespace ServiceFileCreator . TestApp
@@ -9,8 +8,9 @@ internal class Program
98 {
109 static void Main ( string [ ] args )
1110 {
12- var currentDirrectory = Directory . GetCurrentDirectory ( ) ;
13- var savePath = currentDirrectory ;
11+ // Save in current dirrectory for building on CI
12+ // This should not be the case for use in real projects.
13+ string jsonSavePath = Directory . GetCurrentDirectory ( ) ;
1414
1515 IHost host = Host . CreateDefaultBuilder ( args )
1616
@@ -20,9 +20,7 @@ static void Main(string[] args)
2020 } )
2121 . Build ( ) ;
2222
23- Console . WriteLine ( savePath ) ;
24-
25- host . UseAdamServiceFileCreator ( repositoryRootPath : savePath ) ;
23+ host . UseAdamServiceFileCreator ( repositoryRootPath : jsonSavePath ) ;
2624 host . RunAsync ( ) ;
2725 }
2826 }
Original file line number Diff line number Diff line change 99 <PackageReadmeFile >README.md</PackageReadmeFile >
1010 <Description >Utility for creating service files used by AdamServices.Utilities.Managment</Description >
1111 <RepositoryUrl >https://github.com/vertigra/Services.Extensions.ServiceFileCreator</RepositoryUrl >
12- <Version >0.1.5 </Version >
12+ <Version >0.1.6 </Version >
1313 <PackageId >$(SolutionName)</PackageId >
1414 <Authors >vertigra</Authors >
1515 <Product >$(SolutionName)</Product >
You can’t perform that action at this time.
0 commit comments