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

DnnVsDebugger package #77

Open
dazinator opened this issue Feb 6, 2018 · 0 comments
Open

DnnVsDebugger package #77

dazinator opened this issue Feb 6, 2018 · 0 comments
Assignees
Milestone

Comments

@dazinator
Copy link
Owner

dazinator commented Feb 6, 2018

For the v3.0 release I am going to make the following changes:

  1. Installing the DnnPackager nuget package into a project will no longer give you any deployment or debugging capabilities. It won't give you any Powershell commands either (as they are now obsolete). It will now only contain the MsBuild tasks and targets which produce the install packages as a result of the build.

  2. I will publish a seperate tool as a Chocolatey package called the "DnnVsDebugger" tool. You will need to install this package and then change some configuration in your project properties page in order to get the deployment / debugging support.

Installation of this tool will typically look like this (using chocolatey)

choco install DnnVsDebugger

Once installed, this will place the DnnVsDebugger.exe on your PATH.

Configuration of this tool for your project will look something like this (project properties page):

image

You will now be able to "Run" your project in VS, by pressing the play button. This will call the DnnVsDebugger.exe which will take care of the rest:

  1. Deployment of the Install Packages to the specified website.
  2. Detect if the website is not currently running and Ping() it to ensure it is started.
  3. Attachment of your VS debugger to the website process
  4. Launching the browser at the URL you have specified (you can control this via arguments)

I feel that by seperating out the VS logic into a seperate package, it paves the way for other support packages for other types of IDE's potentially in the future. DnnPackager nuget package can stay simple and only need concern itself with MsBuild logic to produce install packages.

@dazinator dazinator added this to the v3.0 milestone Feb 6, 2018
@dazinator dazinator self-assigned this Feb 6, 2018
dazinator added a commit that referenced this issue Feb 10, 2018
Vs Integration will be moved to a companion project "DnnVsDebugger"
dazinator added a commit that referenced this issue Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant