-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables in supplied ".target" file seems undefined leading to compilation error #140
Comments
You can continue use 10.0, there were no significant changes till then. I see that in 10.1 were made a decision to drop .NET framework support #124 |
Hello Sergey, Thanks for the heads-up! I don't want to sound rude (and I guess you were not personally implicated in this decision) but I beg to differ, I was the one which requested this change : I used FsLexYacc in a tool part of a bigger toolchain of a very sizable and important project at my place. I'm not sure I can easily steer all other developers in migrating into .NET core, it implies changes from developers in my team using my library and changes in other company divisions using our engine! I'll try to see what I can do with .NET standard to interop both worlds, but I'm concern about dropping support too early of a framework still alive like this! Do you know if dropping support for .NET Framework was really unavoidable? In other word, do you know what was the motivation behind the decision ? Thanks! |
Not unavoidable, but it is jsut really costly (in terms of engineering complexity) to maintain .NET Framework support, especially both Mono and .NET Framework windows testing. |
Ok, managed to recreate my project with .NET Standard 2.0. However, the problem is still there :
The package should work under .NET Standard 2.0, right? |
Yes, though it may be failing with hidden diagnostics for whatever reasons. May be try |
It seems it worked correctly when using the provided "dotnet build" command. However my project was still not compiling from Visual Studio interface. I managed to get it work by adding these properties in the "fsproj" file :
I believe the NuGet package for 10.2.0 is not working correctly with .NET Standard 2.0 projects, maybe the problems lies in the configuration in the supplied "targets" file? ...as if those variables where undefined, or the "targets" files does not get found by the VS build system... ? |
Description
I have the following issue :
(I replaced my project name and directory with <> in the copied text above)
(the text in french translate to :"...is not recognized as an internal or external command, executable program, or batch file.")
For the first part of the command to be "\", I suspect some variables in the file "FsLexYacc.targets" gets undefined (path and exec I guess), which seems to lead to faulty command.
I had been using the library without any problems up to date, this problem came when I migrated from version 10.0 to 10.2 of FsLexYacc.
The project is built with Visual Studio 2019, and the framework is ".NET Framework 4.6.1".
Known workarounds
None known.
Related information
Thanks in advance !
The text was updated successfully, but these errors were encountered: