- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page