-
Notifications
You must be signed in to change notification settings - Fork 174
Reference to Microsoft.NET.Sdk.Web not work #716
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
Comments
I don't have an answer, but I am interested in this thread. It hadn't occurred to me that I could stand up a web server using dotnet-script, and I would be very interested to know if and how that can be accomplished. |
Try removing the shebang at the top of the script. I think we have a bug parsing the SDK reference |
Any comment at the top of the file will also break the parser:
Results in errors The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) |
|
dotnet script output
dotnet --info output
The text was updated successfully, but these errors were encountered: