-
Notifications
You must be signed in to change notification settings - Fork 10.3k
ASP.NET Core 2.2 Conversion #8383
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
@SSSikora can you share what your CSPROJ files look like? |
Or, if possible, upload the whole app as a GitHub repo so we can take a look? |
Thanks for the response Eilon. Below are the csproj files from the two libraries and the ASP.NET Core app. I've gone as far as to create all three projects in VS2019 using file new and then copying all of the assets into each and the problem remains. It's strange because it's a relatively small and simple application. Appreciate your help with this. Tried to paste in csproj...but that didn't work. Looking for alternate method now. New user, sorry. The first is the ASP.NET Core project and the second two are my libraries. Again, thank you so much for any information you might have, |
So you're trying to migrate from ASP.NET Core 2.2 to ASP.NET Core 3.0 Preview 3? It looks like some of the package references are still to 2.2, such as Microsoft.AspNetCore.Identity. |
Thanks for another reply. I see what you mean and have removed references to that Identity package but the problem persists. I think it may have to do with the Telerik controls. When I expand them in the dependencies that show asp net core 2.1.6. Could that have something to do with it? Although I am using them with the 2.2. project so I don't see why that would be a problem. |
Could you attach the |
Thank you for the help... |
Could you confirm this is from the project that targets the WebSDK ( If it is the right one, could you include the preprocessed output for the file: |
@SSSikora you must remove package reference to Microsoft.AspNetCore.* v2.* My csproj corrected (inside an ItemGroup tag):
@Eilon that mean that the v3 included what meta package? |
@andrestalavera - thank you very much for the information and taking the time to look at my issue. -Scott |
@SSSikora we have some migration information at the following links:
|
@SSSikora did the migration guides help? |
I had previously found those guides and updated the app, but I believe my problem is that the Trlerik components are not yet working under 3.0 and so I have set this aside for now until they do. Thank you to all who took time to comment. I am greatly looking forward to working with this next release. -Scott |
@SSSikora got it, thanks for the update. Should this bug be closed, or is there still any pending action for the ASP.NET Core team? |
I don’t believe the problem lies with ASP.NET Core so the issue can be closed. Thanks again for the help.
From: Eilon Lipton <[email protected]>
Sent: Sunday, March 24, 2019 11:05 PM
To: aspnet/AspNetCore <[email protected]>
Cc: Scott S Sikora <[email protected]>; Mention <[email protected]>
Subject: EXTERNAL: Re: [aspnet/AspNetCore] ASP.NET Core 2.2 Conversion (#8383)
@SSSikora<https://github.com/SSSikora> got it, thanks for the update. Should this bug be closed, or is there still any pending action for the ASP.NET Core team?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#8383 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHDoSAJKIJgy35zzd7rchLGXvhrbSnFNks5vaDzGgaJpZM4bnPZB>.
|
Hello All,
I'm hoping someone can help me with the following error:
3>obj\Debug\netcoreapp3.0\NEP.Portal.RazorTargetAssemblyInfo.cs(16,12,16,92): error CS0579: Duplicate 'Microsoft.AspNetCore.Mvc.ApplicationParts.ProvideApplicationPartFactoryAttribute' attribute
I converted a 2.2 solution that consists of two .NET Core libraries and a single front-end ASP.NET Core project. I'm not sure what is causing this error and after research if I insert the following line in my csproj it will compile but fails to server any pages all resulting in a 404 error:
false
Any help greatly appreciated.
Regards,
Scott
The text was updated successfully, but these errors were encountered: