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

Provide Nuget package for easier deployment #77

Closed
csoltenborn opened this issue Sep 1, 2016 · 2 comments
Closed

Provide Nuget package for easier deployment #77

csoltenborn opened this issue Sep 1, 2016 · 2 comments
Assignees

Comments

@csoltenborn
Copy link
Owner

csoltenborn commented Sep 1, 2016

Add NuGet support such as that of the xUnit or nUnit test adapters.

@csoltenborn
Copy link
Owner Author

csoltenborn commented Sep 3, 2016

Committed first working version. Package is generated by post build event of VsPackage project and ends up in folder VsPackage\bin. Package can be tested by using a local NuGet feed. For C++ projects having that NuGet dependency, discovery and execution works out of the box (even without restarting VS). However, only user settings do apply with this approach - no actual vsix extension is installed, no options or toolbar are available.

Alternatives:

  • We might be better by roughly following the recommendation in the last comment of this blog entry, i.e., make VS recognize our VS extension (as unpacked by NuGet in the solution's package folder) by performing registry modifications during NuGet installation of our package. See also this blog entry.
  • Another approach could be to pack the vsix as is and launch it during NuGet package installation. This is discussed here and here.
  • Finally, we could just do the installation process ourselves (see this blog entry).

@csoltenborn
Copy link
Owner Author

Installation with NuGet will only provide basic functionality (test discovery and execution, solution and user settings), but no options or toolbar will be available.

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