Closed benjamin275 closed 5 years ago
@benjamin275 I am not a programmer by profession, so I cannot definitiv say what your solution would be. But what I did when I had a similar issue was:
Update-Package –reinstall
(see https://docs.microsoft.com/de-de/nuget/consume-packages/reinstalling-and-updating-packages)...\bin\
and ...\obj\
If this doesn't help, someone else needs to help you.
Happy coding, Tim
point one says:
PM> Update-Package –reinstall Update-Package : Project 'Default' is not found. At line:1 char:1
+ CategoryInfo : ObjectNotFound: (Default:String) [Update-Package], ItemNotFoundException
+ FullyQualifiedErrorId : NuGetProjectNotFound,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
Point 2: project is not yet loaded, so i dont have an clean solution option available
....
Have you tried this in the Solution Folder with VS closed?
This is my last idea, sorry. I hope someone else could help you.
Happy coding, Tim
not possible, there is not even such folders, because i was not able to even load the project, either rebuild them
@benjamin275 Which VS 2019 have you installed? (16.x.x)
16.2.3
Sorry, I’m a bit late to this thread. I’m using VS2019 with Mahapps metro and not having any problems. I’ve lost the earlier e-mails what errors are you seeing in the output window when you attempt to load the project?
On Mon, 26 Aug 2019 at 15:55, benjamin275 notifications@github.com wrote:
not possible, there is not even such folders, because i was not able to even load the project, either rebuild them
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MahApps/MahApps.Metro/issues/3581?email_source=notifications&email_token=ABPMCPMMCADHL6MON6L3XQ3QGPVGNA5CNFSM4IPDCLQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ET3MA#issuecomment-524893616, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPMCPKTRH6TGRMWR2NQKHLQGPVGNANCNFSM4IPDCLQA .
Sorry, I’m a bit late to this thread. I’m using VS2019 with Mahapps metro and not having any problems. I’ve lost the earlier e-mails what errors are you seeing in the output window when you attempt to load the project? … On Mon, 26 Aug 2019 at 15:55, benjamin275 @.***> wrote: not possible, there is not even such folders, because i was not able to even load the project, either rebuild them — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3581?email_source=notifications&email_token=ABPMCPMMCADHL6MON6L3XQ3QGPVGNA5CNFSM4IPDCLQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ET3MA#issuecomment-524893616>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPMCPKTRH6TGRMWR2NQKHLQGPVGNANCNFSM4IPDCLQA .
errors from vs2019 D:\DEV\MahApps.Metro-develop\src\MahApps.Metro\MahApps.Metro.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\MahApps.Metro.Samples\MahApps.Metro.Demo\MahApps.Metro.Demo.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\MahApps.Metro.Samples\MahApps.Metro.Caliburn.Demo\MahApps.Metro.Caliburn.Demo.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\Mahapps.Metro.Tests\MahApps.Metro.Tests.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\MahApps.Metro\MahApps.Metro.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
@benjamin275 I have searched a bit on the web regarding your problem. It could be an issue with your Installation of .NET-Core or VisualStudio itself. Have a look at the first search results: https://www.google.com/search?q=he%20project%20file%20cannot%20be%20opened%20by%20the%20project%20system%2C%20because%20it%20is%20missing%20some%20critical%20imports%20or%20the%20referenced%20SDK%20cannot%20be%20found.
Happy coding Tim
still the same problem:
I tend to remove the projects I’m not using from the solution. Try opening the projects one at a time and seeing which one fails. My guess is you haven’t installed a required SDK so doing a repair won’t make any difference. You need to find out which sdk is missing and add it with the VS installer.
On Tue, 27 Aug 2019 at 09:21, benjamin275 notifications@github.com wrote:
still the same problem:
- repair VS2019, does not hellp
- did the gac uninstall Build stuff
- check the global.json, which has 3.0.100-repview; same as installed Core on my computer
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MahApps/MahApps.Metro/issues/3581?email_source=notifications&email_token=ABPMCPNHAXTVKKHSQS2XV6LQGTPYXA5CNFSM4IPDCLQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5G5PVA#issuecomment-525195220, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPMCPMNYJJ5EOAWUTQGYNDQGTPYXANCNFSM4IPDCLQA .
yeah i also was on that, i even tried to create a new wpf application. At first im only interested in the Metro-Examples. So i tried to add existing project to the new one, which also failed.
yeah i tried to experimented also installing sdk`s. But did also not work.
error still remain as initially posted: D:\DEV\MahApps.Metro-develop\src\MahApps.Metro\MahApps.Metro.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found
.NET Core SDKs installed: dotnet --info 2.2.108 [C:\Program Files (x86)\dotnet\sdk] 2.2.205 [C:\Program Files (x86)\dotnet\sdk] 2.2.301 [C:\Program Files (x86)\dotnet\sdk] 2.2.401 [C:\Program Files (x86)\dotnet\sdk] 3.0.100-preview6-012264 [C:\Program Files (x86)\dotnet\sdk]
also tried x64 versions, no success either.... :(
problem solved. On my maschine i had win10. i opened solution there, where it more exactly says which things failed. On win7 i only had the mentioned error messages. after get it worked on win10 i returned to win7. There now i get more errors messages. Adapted to them, had to remove compiler errors on build for WpfAnalyzers/Fody because of downgrade and so on...installed framework 4.7(MUST be developted pack, runtime was not enough).... now it worked
tried to following steps from here, but solution still does not rebuild. https://github.com/MahApps/MahApps.Metro/wiki/Building-the-MahApps.Metro-solution
Must be a dependency or installation, but i dont know which one
errors from vs2019 D:\DEV\MahApps.Metro-develop\src\MahApps.Metro\MahApps.Metro.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\MahApps.Metro.Samples\MahApps.Metro.Demo\MahApps.Metro.Demo.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\MahApps.Metro.Samples\MahApps.Metro.Caliburn.Demo\MahApps.Metro.Caliburn.Demo.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\Mahapps.Metro.Tests\MahApps.Metro.Tests.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
D:\DEV\MahApps.Metro-develop\src\MahApps.Metro\MahApps.Metro.csproj : error : The project file cannot be opened by the project system, because it is missing some critical imports or the referenced SDK cannot be found.
what i have done yet:
so what can i do to check what im still missing ?