C
C#•7mo ago
Frreiheit

Issue 0x80040402 (VS-Code) by creating a new project

Hello guys! When I want to create a new project it enters the error 0x80040402 - may somebody can help me with that? Of course I already googled (and searched on this discord) for it and tried the following things: - Repair VS-Code - create the project - get the issue - restart visual studio - do the same Another thing I read was that there are some times problems with CPUs by Intel and it works to reset the computer - that I did not tried out yet.
7 Replies
JimmahDean
JimmahDean•7mo ago
is this just a blank console project?
Frreiheit
FrreiheitOP•7mo ago
No it should be a ASP.NET-project (with usage of SignalR)
No description
JimmahDean
JimmahDean•7mo ago
hm well, that error code has 3 possibilities, none of which really make sense to me: DIERR_BADINF for dinputd MS_E_PURPOSEID for mmstream DS_E_DATASOURCENOTAVAILABLE for windowssearcherrors not quite sure i understand how any of those relate to ASP.NET
Frreiheit
FrreiheitOP•7mo ago
hm, thanks! But this means to that you do not know how to fix it?
JimmahDean
JimmahDean•7mo ago
i do not 😦
Buddy
Buddy•7mo ago
What does creating a project by command line say? dotnet new ..
Frreiheit
FrreiheitOP•7mo ago
Thanks a lot anyway! I tried dotnew new web and that worked. (Worked means that there is some success-message in the console) I installed it now on a new windows (on a virtual machine) and used Enterprise instead of Community - that works fine. Thanks everyone for help! Well it's me again, I wanted to add an Item but it wasn't found - from that what Google says I have to use "dotnet add package {name} {version}" (so I entered "dotnet add package Microsoft.Owin --version 4.2.2" (also tried it without the version) but it always sais "Stay sure that the prompt is correct; file exists on disk; wasn't able to add packet(link) Can you maybe help with this too? "file exists on disk" - I thought it would be download it itself?
Want results from more Discord servers?
Add your server