-
Notifications
You must be signed in to change notification settings - Fork 84
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
Cannot find a part of the path '[...]\Graph Tutorial\graph-tutorial\bin\roslyn\csc.exe'. #19
Comments
Running |
Thank you Bill, I had the same problem. Ran OK after that but fails to retrieve anything from the calendar, despite there being one all day event and one meeting. No errors/exceptions, code executes cleanly |
i had the same problem opening the project in my new copy of Visual Studio 2019. i resolved it by adding the section to the csproj
as suggested in the stackoverflow question here |
Thanks for these reports. Did all of you get the project from the quick-start downloader at https://developer.microsoft.com/en-us/graph/quick-start?platform=option-dotnet? I reproduce these problems with the zip from the downloader. Updating NuGet packages (except for Microsoft.Identity.Client) in the project seems to fix it for me. Alternatively you can clone this repo and grab the project from the ./Demos/03-add-msgraph folder, copy your PrivateSettings.config file from your original project, and it should work. We're updating this training for the 3.x version of MSAL. Once that's done I'll update the ZIP in the quick-start downloader. |
It appears that this is a bug with they Roslyn compiler being tracked in their repository: dotnet/roslyn#15556. Folks have reported the following things fixing the error:
|
I had the same problem: take the project you want - move it to another place (like desktop) re-open it and it should work |
I downloaded a fresh copy of the application today from https://developer.microsoft.com/en-us/graph/quick-start. I was warned that I did not have .net 4.7 installed, installed it. The solution loads cleanly, but when I go into debug I get the error "Cannot find a part of the path '[...]\Graph Tutorial\graph-tutorial\bin\roslyn\csc.exe'."
I'm running Visual Studio 2017 15.9.6 on Windows 10.
The text was updated successfully, but these errors were encountered: