Page 1 of 2
Problem when using XSharp Notebook
Posted: Thu Jun 20, 2024 5:51 pm
by xinjie
Hello, everyone.
I'm having problem with the XSharp Notebook: when I load the XSharp Language kernel, I get an error message "Error: C:\Users\Lenovo\.packagemanagement\nuget\ Projects\25612--142a2461-9b23-47c9-aa13-f9e437c35167\Project.fsproj : error NU1301: The local source 'D:\Program' doesn't exist. "
This error occurred after I replaced my computer. It is brand new environment. The operating system is WIN11 Home Edition. I need to state that the speed of accessing NuGet server in China is not stable.
Can anyone help me?
Re: Problem when using XSharp Notebook
Posted: Thu Jun 20, 2024 9:26 pm
by Fabrice
Hi Xinje,
this seems related to VSCode installation, but I don't know why it points to FSharp project.
I will check that in a VM tomorrow.
Fab
Re: Problem when using XSharp Notebook
Posted: Fri Jun 21, 2024 9:38 am
by Fabrice
Hi,
after a clean install of VSCode and the tools, I'm sorry but I cannot reproduce the trouble.
That said, it seems that the packagemanagement used but dotnetInteractive is using FSharp, as I could retrieve the same Project.fsproj in the .packagemanagement foler. Maybe its worth to remove and reinstall the Polyglot Notebooks extension from VSCode ?!
BTW, what installation of VSCode have you done : The System install or the User install ? One in installed in "Program Files", and the other is in the user profile.
Fab
Re: Problem when using XSharp Notebook
Posted: Fri Jun 21, 2024 1:26 pm
by xinjie
Hi, Fab
I apologize for wasting a lot of your time with this question.
I will try to reinstall VS Code and report the results.
Thank you!
Re: Problem when using XSharp Notebook
Posted: Fri Jun 21, 2024 1:34 pm
by Fabrice
Hi,
no trouble at all !
I'm happy if I can help. I might comes from something in the NuGet package, but... sorry I was not able to reproduce it so I cannot provide a solution.
Fab
Re: Problem when using XSharp Notebook
Posted: Fri Jun 21, 2024 3:15 pm
by xinjie
Hi, Fab
Before I uninstalled VS Code, I saw that I was previously User install. so I downloaded System install and executed it. But I still see the same error message. I uninstalled "F# Desktop Language Support" and "F# Language Support" in VS 2022 and restarted VS Code and the error is still there.
Maybe by deleting VS Code's configuration or something like a cache might solve the problem? But I'm very unskilled with VS Code, can you give a suggestion?
Re: Problem when using XSharp Notebook
Posted: Fri Jun 21, 2024 4:48 pm
by Fabrice
Hi,
I won't call me a VSCode expert
But can you please send me the offending file ? Just to compare with the one I have on my machine.
I mean "Project.fsproj" that throw the error.
TIA,
Fab
Re: Problem when using XSharp Notebook
Posted: Sat Jun 22, 2024 1:55 am
by xinjie
Hi,
I'm sorry because I didn't save it before resetting the computer's operating system. I will send the file if the problem happens again.
Thank you very much!
Re: Problem when using XSharp Notebook
Posted: Sat Jun 22, 2024 3:46 am
by xinjie
Hi,
The good news is that the problem has not resurfaced after resetting the OS and reinstalling the app.
The bad news is that the problem can only be found by someone experiencing the same problem I had.
Thanks again!
Re: Problem when using XSharp Notebook
Posted: Sat Jun 22, 2024 2:10 pm
by xinjie
Hi Fab,
I am again encountering the same error after my complete installation of the syncfusion (
https://www.syncfusion.com/) product.
I will try to see which component is triggering this error. The attachment is Project.fsproj. Maybe you can give me some advice before I find the problem?