-
Notifications
You must be signed in to change notification settings - Fork 586
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
Attempting to allow csproj being passed as a NuSpec file #644
Conversation
Thanks for the fast pull request. @ilkerde could you please verify that it also works for you? |
@forki Thanks for letting me know. @jamescrowley Thanks for your fast contribution. I like your changes since the case of accompanying .nuspec is quite often. However, I checked this PR and have to say that it breaks a test. After running CI I receive
This is the test for Any chance to get this fixed (and probably even have a test for it)? |
@jamescrowley can I help you to get this in? |
@forki This still requires more work - the current code just tries to delete whatever file you pass in as an argument (https://github.com/jamescrowley/FAKE/blob/fix.NuGetPack/src/app/FakeLib/NuGet/NugetHelper.fs#L331). |
@@ -225,6 +225,12 @@ | |||
<Content Include="TestData\AllObjects_2.txt"> | |||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | |||
</Content> | |||
<Content Include="TestData\bin\Debug\TestNuGetPack.dll"> |
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.
I think these files are gitignored. You need to add them "forced"
https://bugzilla.xamarin.com/show_bug.cgi?id=17430 Hmm. Nice. So you can't actually nuget pack on a csproj file on mono. Thoughts @forki ? |
mhm. then maybe just use BTW: we are actively working on http://fsprojects.github.io/Paket/paket-pack.html |
@forki I think I'd probably make the test check for isMono rather than the nuget helper? given we don't actually know whether nuget.exe in the future would support, and at least you get a decent error output when it fails ow? |
yes that's ok, too |
…ject file on mono
thanks for being so patient ;-) |
First crack at fixing #643