-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
.NET Core 3.0.0 Preview 8 #3184
Comments
After upgrade to 3.0.0. Preview 8 i got TypeLoadException: Could not load type 'Microsoft.AspNetCore.Components.ElementRef' from assembly 'Microsoft.AspNetCore.Components, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Don't know where to start debug. I'm using MatBlazor, som maybe there is something there. An update: Have now find that this error occurred when using MatBlazore component, so the bugs seams to be in that library. |
@snerting per the edit you made below, it sounds like the MatBlazor library just hasn't updated for preview 8. There are definitely breaking changes between previews so it's likely that's the source of the issue. If you do encounter an issue in ASP.NET Core, I'd suggest filing a bug at http://github.com/aspnet/AspNetCore so that it shows up in our triage process. Thanks for trying the latest preview so quickly! |
(Arch linux) After upgrading to 3.0 preview 8, all the regular templates from the dotnet new command are gone. |
Yes, running dotnet new gives me this output: Usage: new [options] Options: Templates Short Name Language Tagsno templates where templates list usually is |
Ok. Thanks for the quick response. @vijayrkn can your team take a look? |
Can you check if you have templates available in the following location ?
Adding @phenning |
/opt/dotnet/ contains the following directories:
but no /templates |
how did you install the SDK? What is the result of running dotnet --info in the machine? |
dotnet --info gives me: .NET Core SDK (reflecting any global.json): Runtime Environment: Host (useful for support): .NET Core SDKs installed: .NET Core runtimes installed: To install additional .NET Core runtimes or SDKs: and I have the aur package dotnet-sdk-preview installed |
I believe the issue here is that however produces that package, didn't include the new templates folder in it. They ship as part of the SDK in 3.0. @vitek-karas do you know how this package is produced? Or by who? They need to fix the package. |
Seems the maintainer is a user by the name of fmauNeko. Should I comment on the package listing on the AUR specifying that the templates folder is missing from the package? |
Yes. That the real issue here. |
In the meantime you can install the templates from NuGet.org if those templates are available in NuGet. example: |
we updated from Preview 6 to Preview 8 and I cannot reference Microsoft.AspNetCore.Http.Internal. Is this by chance removed? |
@anurse I got the At this point, I've wasted too many hours already trying to figure out the root cause of this issue. Every time when I try to rule out some files by removing them, it's inconsistently working or not working by just cleaning, removing bin/obj folders, rebuilding in VS and/or CLI without changing additional code. I can't pinpoint the source this way. However, there's one thing I can say for certain, moving all the files into 1 console project, and trying to call the same function as in those tests, will fail with the same As you're saying that there's breaking changes between previews, do you know what has been changed between P7 and P8 that might cause this behavior? P7 worked just fine. |
Yes. Have a look at aspnet/Announcements#377 |
I don't have that information handy. In general, if you have a question about ASP.NET Core specifically, it's probably best to file the issue on the ASP.NET Core repo itself: https://github.com/aspnet/AspNetCore |
@anurse I forgot to mention that this issue has nothing to do with ASP.NET Core for me, even though the exception type itself is the same as the other person's issue. It's just .NET Core that's causing it. You can see that in the CI logs I linked. |
Can we expect FSharp.Core 4.7 to be included in the next preview, since it has been left out of this one? |
cc @cartermp |
F# 4.7 is in this preview. |
@Archomeda Ok, then it's not directly related to the above issue. |
Problem: Info: Runtime Environment: Host (useful for support): .NET Core SDKs installed: .NET Core runtimes installed: To install additional .NET Core runtimes or SDKs: Steps:
Observation: For a second or 2 it seems like the console is about to start up but it exits returning control back to the user (usually that happens after we hit enter in the hello world app). |
@vijayrkn I noticed that it appears that no-one has seen the bug I reported Core 3.0.100-preview8-013656 building netstandard2.0 project with CLI fails #3205. I attached a sample project that can be used to reproduce the error. Just want to make sure your team knows about it. |
@codeinstinct - can you please file a separate issue for this in dotnet/core-setup (let's start there). I tried your repro steps (without uninstalling everything as I don't want to ruin my test machine completely) and it works OK for me. You can try to run If it doesn't please try |
Thanks for the quick response.
Yes, this works as expected. Also, fyi, |
In that case - please try to setup the tracing exports as mentioned above and run the |
Please see the t.log contents here. |
/cc @nguerrera @peterhuene - as far as I can tell the host correctly runs the msbuild, but then the app is never started - there's no command in the log to run the I don't know if there's any way to turn on additional logging in the CLI to show whether it tried to actually launch the app and if so, what command it tried to run to do so. |
There is a -d or --diagnostics option:
|
@vitek-karas this looks like https://github.com/dotnet/core-setup/issues/5186. Snap breaks the use of the framework-dependent apphost because it can't locate any of its dependencies it expects (including libc). I would do a I commented with a potential workaround here: https://github.com/dotnet/cli/issues/12269#issuecomment-521835506. |
FYI, following these steps, I get 139. |
Problem: Bootstrap css 404 error in newly generated blazorserver template. Info: Runtime Environment: Host (useful for support): .NET Core SDKs installed: .NET Core runtimes installed: To install additional .NET Core runtimes or SDKs: Steps:
Observations:
Contents of web.csproj
|
@codeinstinct This is expected, because the content root of ASP.NET Core based apps is the current directory and the webroot ( |
@codeinstinct Sorry for the late reply but I was on vacation. Exit code 139 is SIGSEGV, so I believe this to be the same problem as https://github.com/dotnet/core-setup/issues/5186; that being snap installs are broken with respect to the .NET Core apphost. Thus global tools and framework-dependent building and publishing of a .NET Core application won't work when run through the apphost (the executable in the output directory). |
Problem: The output of my dotnet --info: Runtime Environment: Host (useful for support): .NET Core SDKs installed: .NET Core runtimes installed: To install additional .NET Core runtimes or SDKs: |
@MythicalSora Strange - it looks like you're missing the ASP.NET Core shared framework. What steps did you follow to install the .NET Core 3.0 Preview 8 SDK? To try to address the issue can you try doing a repair on the .NET Core 3.0 Preview 8 SDK installation? |
Going by the os name and the install location, I think @MythicalSora used the dotnet-sdk-preview package for ArchLinux. That package seems to be missing a dependency. Installing |
Closing older announcement issues. |
Release Notes
Download
Blog posts
.NET Core
ASP.NET Core
EF Core
Please report any issues you find with 3.0.0 Preview 8, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:
The text was updated successfully, but these errors were encountered: