-
Notifications
You must be signed in to change notification settings - Fork 585
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
Update broke our NuGetPack process #643
Comments
I think you need to set the working dir to currentDirectory @@ "db" |
@ilkerde do you remember what changed? |
@forki that's what I've been trying as a fix, but this then breaks subsequent items:
|
The db nuget package gets created okay with the above fix, but I then get
which I haven't figured out yet, which aside from the weird paths then blows up with
declared. |
IIRC because we want to replace placeholders. |
I think this last bit is because it's copied the .csproj file as if it was a nuspec file? |
Pretty sure this is a bug now. We're relying on NuGet pack behaviour such that you can pass in a .csproj file, and have a .nuspec on the filesystem alongside it, and nuget will combine the two. Pretty sure this templating (even ignoring the bad copying of the .csproj) would break this. |
I never knew we supported this scenario ;-) |
@forki Thanks for letting me know about this. Maybe I can add some value to this discussion. @jamescrowley I think my pull request to this commit is descriptive in terms of why I did this. (see: #554). The reason why it is creating and deleting the (intermediate) .nuspec file is because Hope it helps at least. |
This is a discussion about an old update. Closing as it's not got a clear repro now |
Can anyone explain the purpose of this commit:
2ddc4d4
? It's broken our build script when we just updated our FAKE version.
We previously did:
but now Database.nuspec is written to the root of our project (currentDirectory), and then packages up our entire source code tree. Previously it just ran nuget pack on the nuspec file in the db directory and packaged that up.
I'd fix this but I don't understand the new behavior caused by
2ddc4d4 enough - why is it always writing (and deleting) a nuspec file even if you're giving it one that exists?
The text was updated successfully, but these errors were encountered: