We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

VS Code IntelliSense dies whenever nuget package added

My VS Code ( on Mac ) works ok when it comes to Blazor Project however when I add Syncfusion.EJ2.Blazor
it dies throwing this to output :
[Client-3:27:05PM](Error)Failedtoreadprojectconfigatlocation/Users/owen/Projects/testbs/obj/Debug/netcoreapp3.0/project.razor.json.
UnexpectedendofJSONinput
StackTrace:
SyntaxError:UnexpectedendofJSONinput
atJSON.parse(:null:null)
atmodule.exports.t.RazorProjectManager.getProjectConfiguration(/Users/owen/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:167240)
atmodule.exports.t.RazorProjectManager.updateProjectConfiguration(/Users/owen/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:165797)
atmodule.exports.t.RazorProjectManager.(/Users/owen/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:165683)
atGenerator.next(:null:null)
atmodule.exports.r(/Users/owen/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:164457)
atnewPromise(:null:null)
atmodule.exports.r(/Users/owen/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:164234)
atmodule.exports.t.RazorProjectManager.register.i.onDidChange.e(/Users/owen/.vscode/extensions/ms-vscode.csharp-1.21.3/dist/extension.js:80:165638)
atu.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
atdefine.constructor.e(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:546:760)
atu.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
atu.$onFileEvent(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:547:710)
atd._doInvokeHandler(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:623:396)
atd._invokeHandler(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:623:88)
atd._receiveRequest(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:621:783)
atd._receiveOneMessage(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:620:605)
atdefine.constructor._protocol.onMessage.e(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:618:791)
atu.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
atv.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186:579)
ati.constructor.e.onMessage.e(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:783:484)
atu.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
atv.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186:579)
atx._receiveMessage(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:191:17)
atdefine.constructor._socketDisposables.push._socketReader.onMessage.e(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:188:116)
atu.fire(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:50:207)
atf.acceptChunk(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:184:17)
atdefine.constructor._register._socket.onData.e(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:183:372)
atSocket.t(/Applications/VisualStudioCode.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:192:491)
atSocket.emit(events.js:182:13)
ataddChunk(_stream_readable.js:283:12)
atreadableAddChunk(_stream_readable.js:264:11)
atSocket.Readable.push(_stream_readable.js:219:10)
atPipe.onStreamRead[asonread](internal/stream_base_commons.js:94:17)



3 Replies

SM Saranya Murugasamy Syncfusion Team October 4, 2019 04:37 AM UTC

Hi Lukasz, 

Greetings from Syncfusion. 

We have checked your reported issue in our Mac machine. But your reported issue is not reproduced. We have created the sample with latest version of dotnet-core/3.0  with client side and server side. But the issue is not occurred in our machine. But intellisense are not working for our machine also. We need to check for further information and updates on this. 

Please find the below image. 

 

Please find the below UG documentation link to create the blazor application on Mac. 


Still if you are facing the same issue, please share the below details to us. It will be helpful for us to sort out the issue as soon as possible. 

1. dotnet version 
2. Syncfusion.EJ2.Blazor version. 
3. Share the application with replication procedure. 
 
Regards, 
Saranya M 



LU Lukasz October 4, 2019 08:04 AM UTC

Hello, 

Thank you for your reply and apologise -> in the subject I did say what it was not working and in the message I made a mistake. 
IntelliSense stops working whereas VS Code is stable ( except the fact that Razor Server crashes ). 

The dotnet version is 3.0.100
Project -> new template project for Blazor server side with Syncfusion 17.3.0.10-beta added. 

Exactly what you've done , except that I've used server side template. 

If you leave the VS Code running for few minutes it somehow clears itself and after this short period of time IntelliSense starts to work again. 


SM Saranya Murugasamy Syncfusion Team October 7, 2019 10:38 AM UTC

Hi Lukasz, 

We have checked your reported issue and this issue will be resolved by upgrading the Mono version to 6.4.0 and the intellisense are working in MacOS for our blazor components. Please find the below images. 

 

 

We have created the sample in server side with dotnet version 3.0.100 and Syncfusion.EJ2.Blazor-17.3.0.10-beta version. Please find the sample in below link. 

 
Please let us know if you have any concerns. 
 
Regards, 
Saranya M 


Loader.
Live Chat Icon For mobile
Up arrow icon