- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Does someone know a shortcut or has written a macro to add the file currently opened in the editor to the active project and to compile this file?
I wrote a macro to add the file to the current project (by searching the right project and folder in DTE.Solution.Projects.Item and using ProjectItem.ProjectItems().AddFromFile) but didn't find any way to compile this file in the macro. I tried DTE.ExecuteCommand("Build.Compile") but this doesn't work with my FORTRAN files. I think I've to activate this file first but how can I do this?
링크가 복사됨
0 응답