#Error when creating '.hpp' file

23 messages · Page 1 of 1 (latest)

shell ibex
#

Hey
Any ideas why Visual Studio 2022 give me this message whenever I try to add .hpp file

Add New Item
Failed to create file "something.hpp": the method or operation is not implemented.

File is created but I don't see it in solution explorer if i dont refresh it

glad glenBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

shell ibex
#

and each .hpp class has this weird red thingy

#

and yet some of them are normal?

teal berry
#

Does the file exist on disk?

shell ibex
#

rightclicking and pressing "Include in project" seems to fix it?

#

but i dont understand why it wasnt included in the first place

#

and why i have to refresh Solution Explorer to see it

teal berry
#

Did the file exist before you tried to add it with visual studio?

shell ibex
#

nope

teal berry
#

Is the location of your project on the desktop?

shell ibex
#

nope

teal berry
#

No idea then

shell ibex
#

alright

teal berry
#

How do you try to add the file?

shell ibex
#

like this

#

and i just change name to smth.hpp

teal berry
#

Don't know why that would be breaking. You could try the class... option to see if there's a difference