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

Possible to install as NuGet package? #3

Closed
jonathanpmast opened this issue Sep 24, 2019 · 5 comments
Closed

Possible to install as NuGet package? #3

jonathanpmast opened this issue Sep 24, 2019 · 5 comments

Comments

@jonathanpmast
Copy link

Rather than have this be deployed via an exe/vsix, would it be possible to deploy this as a nuget package, similar to how the Monogame.Content.Builder nuget works?

I believe the package would just need an exe/dll and a targets file, very similar to how the monogame nuget files work

Curious if this has been explored at all? If not, maybe I'll take a shot at submitting a PR.

This seems to me like it would be a much simpler integration/installation story...

@Martenfur
Copy link
Owner

I've looked into that briefly. The main issue is that nuget needs to install .targets entry into .csproj BEFORE Pipeline tool's entry. Otherwise Nopipeline will not work properly. If you'll be able to somehow do it -- go ahead.

@Martenfur
Copy link
Owner

@jonathanpmast Just released v1.1. If you're gonna do anything, update your fork, I've changed pretty much the whole codebase.

@persn
Copy link

persn commented Oct 19, 2019

I've looked into that briefly. The main issue is that nuget needs to install .targets entry into .csproj BEFORE Pipeline tool's entry. Otherwise Nopipeline will not work properly. If you'll be able to somehow do it -- go ahead.

Is it possible to use a .props file instead? .props files are imported before .target files https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019#choose-between-adding-properties-to-a-props-or-targets-file

@Martenfur
Copy link
Owner

@persn You can certainly try. : - )

@Martenfur
Copy link
Owner

Now Nopipeline is distributed entirely via nuget. It's not available right now, but will be in a couple of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants