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

CodeMinion solution misses Python.Runtime.csproj #6

Open
epignatelli opened this issue Jul 30, 2019 · 6 comments
Open

CodeMinion solution misses Python.Runtime.csproj #6

epignatelli opened this issue Jul 30, 2019 · 6 comments
Assignees

Comments

@epignatelli
Copy link
Contributor

epignatelli commented Jul 30, 2019

I can't compile any project from the CodeMinion solution, error below:

Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1104	Unable to find project 'C:\Users\epignatel\Documents\repos\pythonnet\src\runtime\Python.Runtime.csproj'. Check that the project reference is valid and that the project file exists.	Python.Included	C:\Users\epignatel\Documents\repos\codeminion\src\Python.Included\Python.Included.csproj	1	

Specifically, the Python.Runtime project does not load (unavailable).

Am I missing something?

@epignatelli
Copy link
Contributor Author

epignatelli commented Jul 30, 2019

I solved by cloning the https://github.com/SciSharp/pythonnet repository at the same folder level as the CodeMinion solution.

root
|- CodeMinion
|- pythonnet

Is it worth adding it to the readme? I can pr a diff if it feels right for you guys.

@epignatelli
Copy link
Contributor Author

Apologies, I am still struggling with compiling this code.
I am compiling the DebugWin configuration, running Windows 10 and Visual Studio 2017.
Is there any documentation on which build configuration to use?

Some context:
I am trying to generate a slightly different version of Numpy.
While using the configuration above, the code compiles without errors.
Although, I cannot see any console application in CodeMinion.ApiGenerator/bin/Debug/*/.
Am I missing something?

@henon
Copy link
Contributor

henon commented Jul 30, 2019

pythonnet

You are right, this should be documented. By the way, the correct repo to use is: https://github.com/henon/pythonnet_netstandard

@henon
Copy link
Contributor

henon commented Jul 30, 2019

Apologies, I am still struggling with compiling this code.
I am compiling the DebugWin configuration, running Windows 10 and Visual Studio 2017.
Is there any documentation on which build configuration to use?

Some context:
I am trying to generate a slightly different version of Numpy.
While using the configuration above, the code compiles without errors.
Although, I cannot see any console application in CodeMinion.ApiGenerator/bin/Debug/*/.
Am I missing something?

Use the Debug configuration please. The Target is .NET Core 2.1

@epignatelli
Copy link
Contributor Author

epignatelli commented Jul 31, 2019

You are right, this should be documented. By the way, the correct repo to use is: https://github.com/henon/pythonnet_netstandard

Precious, thanks very much. I think git submodules might be very useful in this specific case. Do you have any plan on that already?

Use the Debug configuration please. The Target is .NET Core 2.1

I'll give it a try, thanks

@henon
Copy link
Contributor

henon commented Jul 31, 2019

I agree. Git submodules would be the perfect solution for CodeMinion, also for the generated libraries. Right now, whenever I release a new version I have to copy the updated generated code from CodeMinion to the separate library repos. It is a shame I didn't I think of it myself ... ;). However, I am quite busy right now, so I'll not be able to change it right now.

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