-
Notifications
You must be signed in to change notification settings - Fork 161
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
nuget packages not loading #601
Comments
according to the log the your The log shows that instead of
|
Thanks for that insight @filipw. You are right about workspace. Now I moved
Here is omnisharp.json {
"script": {
"enableScriptNuGetReferences": true,
"defaultTargetFramework": "netcore3.1"
},
"msbuild": {
"MSBuildSdksPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\\Bin",
"enabled": true
}
} Here is omnisharp log file again.. Here is my commit if that helps: https://github.com/rsquarev/tools/commit/72288ffb8bc615411f0749ebd2b764b97ddbd00f |
The TFM for .NET Core 3.1 is |
one more thing, you don't need to pull |
I was trying as an example for I tried with
I am ok with any framework. just wanted the |
I tried with a fresh workspace and it works with net5.0 flawless. I think |
Hi there,
I decided to use dotnet script instead of linqpad as most of my development is in vscode. so I started with
dotnet script init
.First I got issue with
.Net Script Debug
. I figured that vscode is looking for.vscode
folder in parent of.csx
directory.Now, I am at
main.csx
with following code. Inteli-sense doesn't recognize namespaceSystem.Net.Http
. Obviously omnisharp/msbuild is not restoring packages. I also triedNuget.Config
in directory wheremain.csx
is, and also its parent directory.Nuget.config
may be irrelevant asmsbuild
issue needs to be resolved first.As I see in other issues, I changed omnisharp logging level to
trace
. I got lot of trace, but not sure what causing my issue.I have 3 locations for msbuild. 2019, 2017 (installed from chocolatey installation) and stand alone.
I also tried to change omnisharp.json to override msbuild path like below, which didn't make any difference.
I am uploading the omnisharp log here. its quite big.
omnisharp.log
I appreciate your help!!
The text was updated successfully, but these errors were encountered: