Speed-up the debugging steps

8 views
Skip to first unread message

Sebastian Proksch

unread,
Aug 3, 2015, 5:43:07 AM8/3/15
to kave-dev
Hey,

I just stumbled across a new part of the ReSharper documentation that explains how a new version of the plugin can be copied to the experimental instance "on build". This essentially means that we do not need to update it with the extension manager anymore (which takes foreeeever).

I did not have a look a the details so far, but it looks promising... If somebody wants to test-drive this solution, please give it a shot and let us now.

best
Sebastian

Sven Amann

unread,
Aug 12, 2015, 9:47:09 AM8/12/15
to kave-dev
Hey everybody,

I just tried this and it actually works! Better yet, it’s even easy to configure. All you have to do is add a <project>.csproj.user file to each of KaVE.Commons, KaVE.RS.Commons, and KaVE.VS.FeedbackGenerator. All three files simply contain the following:

  <PropertyGroup>
    <HostFullIdentifier>ReSharperPlatformVs12Exp</HostFullIdentifier>
  </PropertyGroup>
</Project>

Note that you may have to adapt Exp to match the RootSuffix of your experimental instance. Since were all working on Vs13 (aka Vs12) the rest should be the same for all of us.
When building one of three projects, you’ll find an line saying that the respective DLL was copied to the install location in the build output. If you configured an illegal HostFullIdentifier, you’ll find the list of all valid HostFullIdentifier values instead.

Caveat: When you change a dependency or an action, you still need to go the long way. Both are statically registered to R# and cannot be changed by just replacing files.

This reduces “updating” our plugin for debugging to a restart of the experimental instance. Much better!

I updated the contributor’s documentation on our website.

Best, Sven

--
You received this message because you are subscribed to the Google Groups "kave-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kave-dev+u...@googlegroups.com.
To post to this group, send email to kave...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kave-dev/dc17fe94-cae8-49bc-9d95-da93769d9231%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc
Reply all
Reply to author
Forward
0 new messages