Skip to content
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

MSB4057 Won't compile on windows #162

Open
skie3e opened this issue Oct 5, 2024 · 2 comments
Open

MSB4057 Won't compile on windows #162

skie3e opened this issue Oct 5, 2024 · 2 comments

Comments

@skie3e
Copy link

skie3e commented Oct 5, 2024

went straight to #80 and literately just copied how they did it
changed it from visible to invisible
when i clicked build it gave me the error
MSB4057 The target "ComputeLinkImportLibraryOutputsForClean" does not exist in the project. klogger C:\Program Files (x86)\VisualD\msbuild\dcompile.targets 382
and wouldnt compile
im not a programmer im using this for a science project 😭

i saw on stack overflow to run "dotnet restore" and i got
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
if that means anything
thanks in advance

windows version!

@niteshrsharma
Copy link

are you using gcc compiler or something else?

if you are using gcc then try running it with admin privileges. also run it like this: g++ -o keylogger.exe keylogger.cpp -luser32
make sure that you are running the compiled executable as administrator

@mydarkthawts
Copy link
Contributor

went straight to #80 and literately just copied how they did it changed it from visible to invisible when i clicked build it gave me the error MSB4057 The target "ComputeLinkImportLibraryOutputsForClean" does not exist in the project. klogger C:\Program Files (x86)\VisualD\msbuild\dcompile.targets 382 and wouldnt compile im not a programmer im using this for a science project 😭

i saw on stack overflow to run "dotnet restore" and i got MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. if that means anything thanks in advance

windows version!

I did another run to make sure it wasn't a visual studio bug. Seems to compile fine with all the latest VS 2022 updates installed. Attached is my recording of quickly copy and pasting, changing visible to invisible, and compiling with no errors or issues.

Testing.Visual.Studio.Klogger.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants