-
Notifications
You must be signed in to change notification settings - Fork 788
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
Broken build on VS 17.12.1 #18038
Comments
I know websharper does it's own odd secondary compilation - you'll need to get a binlog (-bl) before we can do any kind of real analysis here. Pretty much any issue with a project using websharper should probably go to them first for triage before being routed here. |
I've attached a binlog (albeit with a .txt extension) It appears that there have been some breaking changes in this latest VS release that have broken this 4.x version of WebSharper. I will check out their Issues board also. |
I can see the WsFsc.exe is being called correctly and all the arguments going into it (there are a lot) appear to be good. It certainly has all the A small utility WS project in the same solution builds fine (!) But this project doesn't reference any other projects in my solution. So the issue appears to be solely related to something with project references! How strange... |
It seems to be related to the new MSBuild. If we compile with the older MSBuild (from VS Build Tools 17.10.9), the issue goes away. I'm not sure what to even search for on MSBuild issues forum. It's like they've changed the behaviour of and broken something with older tooling. |
Can you please raise the issue at WebSharper and if it turns out to be compiler issue, please reopen with isolated F# compiler invocation |
Please provide a succinct description of the issue.
net48
fsproj with websharper 4.x fails to build after VS 17.12.1 updateProvide the steps required to reproduce the problem:
We have a net48 project that is a
<WebSharperProject>Library</WebSharperProject>
near the top of the fsproj. This compiles to a WebSharper project which includes JS output.If possible attach a zip file with the repro case. This often makes it easier for others to reproduce.
The zip file should ideally represent the situation just before the call/step that is problematic.
Expected behavior
Build should succeed like previous VS version
Actual behavior
Build is failing with, mainly,
FS0039
errors. It simply cannot see types in other referenced fsproj files which is very bizarre. Visual Studio's code editor itself is not indicating any problems (no red squiggles on the same code that MSBuild is taking issue with.)Known workarounds
None known
Related information
Provide any related information (optional):
The text was updated successfully, but these errors were encountered: