Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

FsYacc filename.targets

I’m trying to specify an output folder for the FsYacc and FsLex compilers. I can see that there are some variables "FsYaccOutputFolder" and "FsLexOutputFolder" given in the FsLexYacc.targets

I do have not that much experience with .targets files, but can understand the general structure of it.

where should I define these variables and how? my first thought was as in the .fsproj file like you declare "otherflags" but it doesn’t seems to work

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It should be added in the .fsproj file. Can you try adding like this :

<PropertyGroup>
  <FsYaccOutputFolder>Path to FsYaccOutput</FsYaccOutputFolder>
  <FsLexOutputFolder>Path to FsLexOutput</FsLexOutputFolder>
</PropertyGroup>

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading