File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/CodeGeneration/ApiGenerator Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 88 <VersionSuffix >alpha</VersionSuffix >
99 <NoWarn >NU1701</NoWarn >
1010 <PreserveCompilationContext >true</PreserveCompilationContext >
11+ <LangVersion >default</LangVersion >
1112 </PropertyGroup >
1213 <ItemGroup >
1314 <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.1" />
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ public static class CodeConfiguration
1111 private static string _root = null ;
1212
1313 // @formatter:off — disable formatter after this line
14- public static string EsNetFolder { get ; } = $@ "{ Root } ..\..\..\ src\ Elasticsearch.Net\ ";
14+ public static string EsNetFolder { get ; } = $@ "{ Root } ../../../ src/ Elasticsearch.Net/ ";
1515 public static string LastDownloadedVersionFile { get ; } = Path . Combine ( Root , "last_downloaded_version.txt" ) ;
1616
17- public static string NestFolder { get ; } = $@ "{ Root } ..\..\..\ src\ Nest\ ";
18- public static string RestSpecificationFolder { get ; } = $@ "{ Root } RestSpecification\ ";
19- public static string ViewFolder { get ; } = $@ "{ Root } Views\ ";
17+ public static string NestFolder { get ; } = $@ "{ Root } ../../../ src/ Nest/ ";
18+ public static string RestSpecificationFolder { get ; } = $@ "{ Root } RestSpecification/ ";
19+ public static string ViewFolder { get ; } = $@ "{ Root } Views/ ";
2020 // @formatter:on — enable formatter after this line
2121
2222 public static readonly Assembly Assembly = typeof ( ApiGenerator ) . Assembly ;
@@ -72,7 +72,7 @@ private static string Root
7272 directoryInfo . Parent != null &&
7373 directoryInfo . Parent . Name == "CodeGeneration" ;
7474
75- _root = runningAsDnx ? "" : @"..\..\..\ " ;
75+ _root = runningAsDnx ? "" : @"../../../ " ;
7676 return _root ;
7777 }
7878 }
You can’t perform that action at this time.
0 commit comments