GithubHelp home page GithubHelp logo

Comments (5)

Ekopalypse avatar Ekopalypse commented on July 18, 2024

@chcg - may I ask what exactly, OS and VS version, you are currently using?
The reason for the question is that I have not been able to get Intellisense to work for a few VS versions.
I can build the project without any problems, but when I work in VS, every function is reported as invalid and I don't get any real errors, which makes contributing code a bit difficult for an inexperienced cpp programmer like me.

from pythonscript.

chcg avatar chcg commented on July 18, 2024

@Ekopalypse
Win10 22H2
VS2022 17.7

Have you replaced
https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/packages.config
with
https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/packages_appveyor.config

and

https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/PythonSettings.props
with
https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/PythonSettings_appveyor.props

Otherwise you need a self compiled python version like Dave did.

from pythonscript.

Ekopalypse avatar Ekopalypse commented on July 18, 2024

@chcg - thanks, copying the PythonSettings_appveyor.props has solved the problem. I'm still confused why this is the solution and was I able to build the DLL but the Intellisense stuff didn't work at all. I mean it reported that all the default headers like windows.h, stdarg.h .... were missing. hmmm... but, you don't look a gift horse in the mouth :-). Thanks again.
Now hopefully I can figure out why the reported problem is happening and create a fix.

from pythonscript.

Ekopalypse avatar Ekopalypse commented on July 18, 2024

copying the PythonSettings_appveyor.props has solved the problem.

didn't last long ... :-(

image

from pythonscript.

chcg avatar chcg commented on July 18, 2024

@Ekopalypse I typically don't use the solution under https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/PythonScript2010.sln, but https://github.com/bruderstein/PythonScript/blob/master/PythonScript.sln and for x64 instead of Win32. Maybe there is some relation to the usage of precompiled headers.

I did some changes so the nuget packages of python are now used by default.

from pythonscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.