-
Notifications
You must be signed in to change notification settings - Fork 899
Changed nuget to use msbuild targets and support web app publish #615
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
Conversation
@amibar You're completely right. In order to achieve a similar goal, I've created #425 some time ago. It's not merged yet because there are still some pending issues related to "Publish"ing. As I imagine you've spent some time on this PR, I'd happily grant you authorship of #425. However, I'd prefer close this one in order to avoid duplicates. Regarding the code, it appears we've followed similar paths, but the *.targets file look slightly different. As I'm not a MSBuild expert, I'd really appreciate if you could please help me comparing them? What are the pros/cons of each? Beside this, do you think you could provide us with some help in the "Publishing" area? |
For apllications it uses the .targets option. For Web Application it uses the magical _bin_deployableAssemblies project folder that does the trick of publishing extra binaries. I used Microsoft SQL Server Compact Edition as a template. I changed the original post build event to .targets.
@amibar Huh? One of the goal of #425 was to
@davidebbo @fearthecowboy Isn't there a way to support publishing without any powershell based trick? |
@nulltoken, The ps1 files are not copying files, they build the _bin_deployableAssemblies folder in Web Application projects. |
@amibar I've seen this 😉 But I'd rather try to find a way to do this without any |
@nulltoken, I am missing something. |
LibGit2Sharp is a Win32/Mono compatible product. I'd like the NuGet package to be also Mono friendly. |
@nulltoken |
Another concern that I have is that if you copy the native binaries into Ideally, there would be some msbuild level magic that copies those binaries from the |
Superseded by #821. Thanks! |
I changed the nuget packet to use msbuild target instead of the post build event.
It is less error prone, since a user might change the post build event and damage the script.
I also added support to Web Application publish.