@@ -64,7 +64,7 @@ let extractInfo (fsprojPath:string) =
64
64
let fsprojName = fsprojPath |> Path.GetFileNameWithoutExtension
65
65
let netcoreProj = fsprojName + " .fsproj"
66
66
let netcoreDir = " netcore" </> ( DirectoryInfo( Path.GetDirectoryName fsprojPath)) .Name
67
- let adjustPath srcpath = sprintf @" ..\%s\%s" fsprojName srcpath
67
+ let adjustPath srcpath = sprintf @" ..\..\ %s\%s" fsprojName srcpath
68
68
69
69
let srcFiles =
70
70
srcFiles |> Seq.map ^ fun ( itemType , sourcePath , hintPath ) ->
@@ -94,7 +94,7 @@ let extractInfo (fsprojPath:string) =
94
94
let netcoreTemplate ( info : FsProjInfo ) =
95
95
96
96
let makeProjectRef projectPath =
97
- let dirName = " netcore " </> ( DirectoryInfo( Path.GetDirectoryName projectPath)) .Name
97
+ let dirName = ( DirectoryInfo( Path.GetDirectoryName projectPath)) .Name
98
98
let projName = ( Path.GetFileNameWithoutExtension projectPath)
99
99
XElem.singleAttr " ProjectReference" " Include" ( sprintf @" ..\%s\%s.fsproj" dirName projName)
100
100
@@ -109,8 +109,8 @@ let netcoreTemplate (info:FsProjInfo) =
109
109
XElem.make " AssemblyName" info.AssemblyName
110
110
XElem.make " DefineConstants" " NETCORE"
111
111
XElem.make " DebugType" " portable"
112
- XElem.make " OutputPath" @" ..\..\build\$(TargetFramework)\$(Configuration)"
113
- XElem.make " DocumentationFile" @" ..\..\build\$(TargetFramework)\$(Configuration)\$(AssemblyName).XML"
112
+ XElem.make " OutputPath" @" ..\..\..\ build\$(TargetFramework)\$(Configuration)"
113
+ XElem.make " DocumentationFile" @" ..\..\..\ build\$(TargetFramework)\$(Configuration)\$(AssemblyName).XML"
114
114
XElem.make " PackageTargetFallback" " portable-net45+win8+wp8+wpa81"
115
115
XElem.make " EnableDefaultCompileItems" " false"
116
116
]
0 commit comments