Comments (6)
Given the process id and this code, you should be able to attach programmatically.
from cake-vs.
I will still try and look into this, but there is at least one problem. Presently the task runner doesn't have any control over the actual execution phase: it just returns a list of tasks for Visual Studio to execute on our behalf. It looks like there might an avenue using the ITaskRunnerCommandService
, but I haven't used it before.
Where would we stand on shipping without this?
from cake-vs.
I think that would be fine. I would see this as a longer term feature.
from cake-vs.
Thanks @matkoch ! While that will work (and will be the avenue we use going forward), the major issue with the original design is that there's no way for the extension to call that code from the Task Runner at all. Once we provide the ITaskRunnerNode
for our file, VS handles everything after that. We're looking into how better to approach this now.
from cake-vs.
@agc93 I guess either cake.exe should signal that somehow using IPC, or you could have another thread, that watches for processes of cake.exe. You could even find out, if it's a child process of the current VisualStudio.
from cake-vs.
@matkoch While possible, going OOP from Visual Studio requires quite significant changes to how the extension is built, packaged and shipped so I'd prefer to avoid it if we can.
from cake-vs.
Related Issues (20)
- Add GitReleaseManager into build process
- Add automatic publishing of vsix to marketplace HOT 1
- Add Gitter/Twitter notifications when release is completed
- Look into signing of the VSIX file HOT 1
- Don't bump version number in manifest file unless on a tag
- Switch to using 3 part version number
- Images in marketplace page are not working
- Missing C# tag
- Make adding cake.config to Solution Items opt-in (or remove this feature)
- Debugging Cake.exe in visual studio addin dlls not resolved "404" HOT 3
- Task Runner Explorer does not show task
- Add support for Visual Studio 2022
- Code Snippets are not working HOT 1
- Ensure VSIX Identity is different between VSIX's
- Harmonize VSIX Identifiers
- update project templates
- add missing snippets
- Error when creating new Cake project from template
- Update Installation Instructions in the VS Marketplace for Cake v2.0.0
- cake extension failed to install Visual Studio 2022 17.4.4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cake-vs.