I had an idea if I add a python.py file to my C # project and mark the file using a special generator that would execute the python file and process the result as a result of code generation, i.e. put it in a C # file, which will allow me to do quite a bit of code generation as part of the build process.
Does anyone know if such a custom generator exists for Visual Studio 2008?
OK, I see. Well, as far as I know, there is no code generator for Python. There is a good idea on how to collapse yours here .
, , , , IDE , , , IDE "", MSBuild .
, Cog , .
, VS . , , .
, 2008 .
, . Python script, #, ? Python script #?
I dug through my old bookmarks (I love Del.icio.us!) And found this article: Generating Code Using Python, Cog, and Nant . Keep in mind that everything you can do in NAnt can also be done in MSBuild. That should be enough to get you started.
Source: https://habr.com/ru/post/1696511/More articles:Running Apache with another web server? - linuxHow to handle the necessary classes in PHP - includeWhat to do with ScanAlert? - performanceExperience Using ASP.NET MVC Framework - .netTo what extent should a developer study the features of database systems? - databaseИспользовать QItemDelegate для отображения эскизов изображений - c++Select existing data from the database to create test data - databaseSubmission of file request submission on Windows sharing? - httpIE 7+ Favorites - internet-explorerСовместимость со многими стандартами SQL - sqlAll Articles