2

I have installed Visual Studio 2017 with Python support and Python 3.5 64bit. I want to check how VS cooperate with Python for learning purpose.

I have tried to run simply program

def add(a, b):
    return a + b

result = add(3,4)
print(result)

When I run [F5] or build [Ctrl + Shift + F5] I get such error:

Error MSB4057: The target "CoreCompile" does not exist in the project.

I think everything is configured well. I can use python console in VS. Environment is visible in Solution Explorer. Do you have any idea what is wrong?

enter image description here

1 Answer 1

4

Try this:

  • Open your project in a text editor.
  • Find and uncomment the following lines <!--<Target Name="CoreCompile" />-->

Hopefully it should work for you.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.