-
Notifications
You must be signed in to change notification settings - Fork 287
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
Using Paket #679
Using Paket #679
Conversation
I've not been following paket closely, can you share the pros/cons of using paket here?
|
@@ -0,0 +1 @@ | |||
Zlib.Portable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. versions are only specified in the paket.dependencies file.
This makes things much easier
yes
not yet.
different way of thinking - you solved already solved this differently. |
Don't close just yet, I want to discuss this. NuGet has a lot of annoyances and I'd like to try Paket |
One of the things NuGet does that annoys me is include version numbers on the references on the project files. This means everytime we update, we have to go chase every .fsx and make sure the #r's are up to date. Paket seems to get rid of this problem |
I'm not saying the current approach we have to the different profiles is the best one, want to understand how paket does it and pros/cons of both approaches. Not entirely happy with the current system |
yes |
Is Nuget still required to be checked in? I noticed you deleted Nuget.config, but not the .exe |
Paket is installing references for all the possible profiles into the same project file. This allows you to just switch targetframework in VS and you don't need nuget reinstall. |
Ok, there is one caveat then. Only the pcl versions of fsharp.data reference zlib.portable, the full .net version doesn't need it. The conversion step is loosing that. Probably because I have all .fsproj files on the same dir, and there is a global .references file per folder. Maybe there should be a .references file per .fsproj? |
yes you can do this. But automatic conversion doesn't find such things. |
Are there plans to have the fsproj's modified so if you build inside VS it will automatically call paket -update? |
yes. fsprojects/Paket#94 but personally I can't understand this obsession ;-) |
Well, I think you shouldn't be required to know about NuGet, Paket or the build.fsx to be able to build and test a project. Simply opening the .sln should work. I think this is very important for users new to the ecosystem, we don't want to scare them away with "complicated" build processes (eve if they are simple, the unknown always sounds complicated) |
I wasn't talking about a VS addin, I was talking about msbuild proj.sln calling packet behind the scenes (the pre-VS2013 model where nuget added a Import .targets to your projects, not the new one where VS does it magically) |
I understand your concerns, but disagree. ;-) Reading a readme which clearly states "run build.bat" is not too much for a 2014-09-20 12:47 GMT+02:00 Gustavo Guerra notifications@github.com:
|
Speaking for the novices here I cast my vote with ovatsus here, I think if at all possible it should be set up so that opening .sln and clicking on run just works. |
ok. let's do this. ;-) Will add paket.target very soon 2014-09-20 12:57 GMT+02:00 Quintus Marais notifications@github.com:
|
Cool, will switch to Paket once that is done and Mono is supported |
mono is already supported 2014-09-20 13:08 GMT+02:00 Gustavo Guerra notifications@github.com:
|
Ah, yes, you said that on the beginning, missed that |
added paket.targets |
This is done mostly by
paket convert-from-nuget
At the moment it's only for discussion.