C
C#Elmishh

✅ please help idk what to do or what i did

Severity Code Description Project File Line Suppression State Error Project "C:{file directory}\Directory.Build.targets" was not imported by "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets" at (51,3), due to the file being invalid. ConsoleApp5 C:{file directory}\Directory.Build.targets 51
what did i do? what should i do its an error i cant code anything
E
Elmishh416d ago
im repairing visual studio ill be be back soon and check if it worked, or even finished it didnt someone help Severity Code Description Project File Line Suppression State Error MSB4024 The imported project file "C:{directory name}\Directory.Build.targets" could not be loaded. Root element is missing. ConsoleApp5 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.targets 51
A
Angius416d ago
Delete bin and obj folders and rebuild the project?
E
Elmishh416d ago
wdym rebulding the project how do i do that
A
Angius416d ago
Just build the project Compile it
E
Elmishh416d ago
rebuild {projectname}?
A
Angius416d ago
?
E
Elmishh416d ago
E
Elmishh416d ago
that?
A
Angius416d ago
Yeah
E
Elmishh416d ago
did not work
A
Angius416d ago
Did you remove the bin and obj folders beforehand?
E
Elmishh416d ago
i now have BOTH errors yes this error is cross VS i cant run anything
A
Angius416d ago
Does it also happen when you use the CLI?
E
Elmishh416d ago
CLI?
A
Angius416d ago
Command Line Inteface dotnet build command for example Or dotnet run That's, of course, assuming your project uses modern version of .NET and not some ancient .NET Framework 4.6 or something
E
Elmishh416d ago
6.0 its a completely new project all projects are voided and cannot be run, even ones that i did before
A
Angius416d ago
CLI should work, then
E
Elmishh416d ago
same errors my Directory.Build.targets is empty for some reason anyone?
P
Pobiega416d ago
My google-fu suggests complete reinstall of the SDK but its certainly no guarantees. Might try repairing first
E
Elmishh415d ago
i repaired didnt work how do i reinstall the SDK? PLEASE SOMEONE HELP PLEASEEE fixed it deleted the file and it SOMEHOW worked if it works dont ask questions
Want results from more Discord servers?
Add your server
More Posts
❔ Better user experience inputting commandsHow would I get input from a user, the fancy way? What I mean is that for example when a user types ❔ Return in the middle of a methodIs it ok? I think that it improves readability and performance, but a professor I know argues that i❔ Can't build a MSIX Package for a WPF app❔ Should photo urls be sent paginated to the frontend?So, any given property has a collection of photos in a photo album... they are saved as urls in the ❔ c# wpf textbox access violationHello does anyone know how can i edit the TextBox1.Text within the Task.run so i don't have an acces❔ Help with choosing between ArrayList and other types of collectionsI was challenged to make a pokémon styled game without using classes and I wanted to know better way❔ How can you create a string that creates random characters?Title ^ (Console application)❔ ✅ abstract-Parent and Child static overrides?How do I redeclare an objects element which needs be from a static context in a child class? I have❔ Asking if someone wants to be part of my project (Valorant Discord Rich Presence)Heyheyhey Does some people here play Valorant and want to help me create a Discord Rich Presence usi❔ asp.net web app debug in vscodelI am trying to find out what the database is returning for a specific variable on one of my view pa❔ <AuthorizeView> not workingI am currently making a Blazor Server App with a Custom Authentication. I can give my current user r❔ ✅ Update Dropdown options in Unity without loosing selected optionI have written a StatSelector class. The purpose is to let the user assign generated values to his c❔ How can I store history of each tree node in memory without any leaks?```cpp public class TreeNode { protected TreeNode(string part) : this(part, -1, null) {} ❔ ✅ Lifetime of variable referenced in Func<>In some of my tests, I'm creating tables as I go, and then dropping the tables at the end of the tes❔ Visual Studios, How to make a list of students and make a teacher type students name or type info❔ Hi, guys I am trying to connect my unity project to SignalR and having some issues.this is the error i receive when I hit play Error An error occurred while sending the request Unity❔ OneOf deserializer for Newtonsoft JSONI have a lot of data-contracts generated from code, which utilizes `OneOf<...>` (<https://github.com❔ As loop value increments, increment variable nameI have a loop to insert values into 5 objects of employees named employee1,employee2... Is there a ✅ Binary Search Treehttps://www.hackerearth.com/practice/data-structures/trees/binary-search-tree/practice-problems/algo❔ Audience is invalid errorI'm trying to use JWT authentication with .NET Core 7. I've created a jwt token, but when I try to u