Skip to content

Commit 6f51d16

Browse files
committed
Use FParsec from Nuget.
1 parent 178b9b3 commit 6f51d16

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

3rdparty/FParsec.dll

-261 KB
Binary file not shown.

3rdparty/FParsecCS.dll

-151 KB
Binary file not shown.

ngc/ngc.fsproj

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,19 @@
6767
<Compile Include="GeneratorFactory.fs" />
6868
<Compile Include="Generator.fs" />
6969
<Compile Include="Program.fs" />
70+
<Content Include="App.config">
71+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
72+
</Content>
73+
<Content Include="packages.config" />
7074
</ItemGroup>
7175
<ItemGroup>
7276
<Reference Include="FParsec">
73-
<HintPath>..\3rdparty\FParsec.dll</HintPath>
77+
<HintPath>..\packages\FParsec.1.0.2\lib\net40-client\FParsec.dll</HintPath>
78+
<Private>True</Private>
7479
</Reference>
7580
<Reference Include="FParsecCS">
76-
<HintPath>..\3rdparty\FParsecCS.dll</HintPath>
81+
<HintPath>..\packages\FParsec.1.0.2\lib\net40-client\FParsecCS.dll</HintPath>
82+
<Private>True</Private>
7783
</Reference>
7884
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
7985
<Private>True</Private>
@@ -82,19 +88,12 @@
8288
<Reference Include="System" />
8389
<Reference Include="System.Core" />
8490
<Reference Include="System.Numerics" />
85-
</ItemGroup>
86-
<ItemGroup>
8791
<ProjectReference Include="..\Naggum.Runtime\Naggum.Runtime.csproj">
8892
<Name>Naggum.Runtime</Name>
8993
<Project>{402b5e79-e063-4833-ae4b-2986aeec1d75}</Project>
9094
<Private>True</Private>
9195
</ProjectReference>
9296
</ItemGroup>
93-
<ItemGroup>
94-
<Content Include="App.config">
95-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
96-
</Content>
97-
</ItemGroup>
9897
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
9998
Other similar extension points exist, see Microsoft.Common.targets.
10099
<Target Name="BeforeBuild">

ngc/packages.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="FParsec" version="1.0.2" targetFramework="net461" />
4+
</packages>

0 commit comments

Comments
 (0)