-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Your first Mac ASP.NET app tutorial problems #173
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
This should be fixed now. Installing beta4 should work /cc @glennc
That is likely the problem. Omnisharp tells VSCode about the commands.
Nothing to do with Kestrel. It's a mono issue likely caused by Razor view compilation.
Sounds like you've mismatched beta4 and beta5 bits. They are incompatible. |
So it sounds like not having beta4 is the source of all my issues. $ brew update && brew upgrade
Already up-to-date.
$ dnvm list
Active Version Runtime Arch Location Alias
------ ------- ------- ---- -------- -----
* 1.0.0-beta5-11657 mono ~/.dnx/runtimes default
$ dnvm install 1.0.0-beta4
Downloading dnx-mono.1.0.0-beta4 from https://nuget.org/api/v2
Download: https://nuget.org/api/v2/package/dnx-mono/1.0.0-beta4
######################################################################## 100.0%
\e[0;31mHTTP Error 301 fetching dnx-mono.1.0.0-beta4 from https://nuget.org/api/v2 \e[0m
$ rm -rf ~/.dnx/runtimes/dnx-mono.1.0.0-beta4
$ dnvm install -u 1.0.0-beta4
dnvm install -u 1.0.0-beta4
Downloading dnx-mono.1.0.0-beta4 from https://www.myget.org/F/aspnetvnext/api/v2
Download: https://www.myget.org/F/aspnetvnext/api/v2/package/dnx-mono/1.0.0-beta4
######################################################################## 100.0%
dnx-mono.1.0.0-beta4 was not found in repository https://www.myget.org/F/aspnetvnext/api/v2
This is most likely caused by the feed not having the version that you typed. Check that you typed the right version and try again. Other possible causes are the feed doesn't have a DNX of the right name format or some other error caused a 404 on the server. I also tried 1.0.0.0-beta4 per OmniSharp/generator-aspnet#149 (comment) without success. How do I get beta4 then? |
https://www.nuget.org/packages/dnx-mono/1.0.0-beta4 exits, so,
Maybe that's the issue, something with nuget? |
Lame...
And poof web pages load now without error pages. |
Nothing wrong with NuGet. Try dnvm update-self aspnet/dnvm#235 |
@TravisTheTechie still same error after installing manually. |
Does |
@TravisTheTechie I have never installed beta5 version. Active Version Runtime Arch Location Alias
|
DC-623 Broken link to Google Font custom VCC
dnvm install 1.0.0-beta4
nordnvm install 1.0.0-beta4 -u
. (semi-related, where do I report that empty directories in~/.dnx/runtimes
for failed installs is annoying?)generator-aspnet
options.dnu
commands to run from VS Code, but that might be an issue on my end. OmniSharp won't start up either and might be related. They do run from the command line, so good enough.export MONO_MANAGED_WATCHER=false
or eat all the file descriptors.TypeLoadException: Could not load type 'Microsoft.Framework.Runtime.ILibraryExport' from assembly 'Microsoft.Framework.Runtime.Interfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
when I try to load a page afterdnx . kestrel
.The text was updated successfully, but these errors were encountered: