Title: Native binairies not deploying using TFS Build and RemoteAgent · Issue #879 · libgit2/libgit2sharp · GitHub
Open Graph Title: Native binairies not deploying using TFS Build and RemoteAgent · Issue #879 · libgit2/libgit2sharp
X Title: Native binairies not deploying using TFS Build and RemoteAgent · Issue #879 · libgit2/libgit2sharp
Description: Last version used project properties files instead of custom build action. While this work fine when building or using the Publish action in Visual Studio 2013, it won't work at all using TFS build server. So, publishing or building the ...
Open Graph Description: Last version used project properties files instead of custom build action. While this work fine when building or using the Publish action in Visual Studio 2013, it won't work at all using TFS build...
X Description: Last version used project properties files instead of custom build action. While this work fine when building or using the Publish action in Visual Studio 2013, it won't work at all using TFS b...
Opengraph URL: https://github.com/libgit2/libgit2sharp/issues/879
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Native binairies not deploying using TFS Build and RemoteAgent","articleBody":"Last version [used project properties files instead of custom build action](https://github.com/libgit2/libgit2sharp/pull/821). While this work fine when building or using the Publish action in Visual Studio 2013, it won't work at all using TFS build server.\n\nSo, publishing or building the project with Visual Studio will copy the `NativeBinaries` folder to the `bin` folder which is perfectly fine. But, using a TFS build deployment setup, the folder is never transfered over the server using the `RemoteAgent`.\n\nMSBuild arguments:\n\n```\n/p:DeployTarget=MsDeployPublish /p:Configuration=MEP-DEV /p:DeployOnBuild=True /p:CreatePackageOnPublish=False /p:MsDeployPublishMethod=RemoteAgent /p:AllowUntrustedCertificate=True\n```\n\nIn the build log file, I can see that the Libgit2sharp NuGet package is being installed, but the libraries are not mentioned anywhere as if they are just ignored by the deployment process.\n\nAlso, I tried to create a custom target to copy the file over, but for some reason, the application pool is keeping an handle on the native libraries preventing the deployment process to delete said files until I recycle the pool or kill the process. This is the target instruction:\n\n```\n\u003cTarget Name=\"BeforePublish\">\n \u003cCopy SourceFiles=\"$(SolutionDir)\\NativeBinaries\" DestinationFolder=\"$(OutputDir)\\bin\\NativeBinaries\" ContinueOnError=\"true\" />\n\u003c/Target>\n```\n","author":{"url":"https://github.com/Allov","@type":"Person","name":"Allov"},"datePublished":"2014-12-03T15:36:22Z","url":"https://github.com/libgit2/libgit2sharp/issues/879"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5a7b543a-4e5e-be09-ea23-e9540c9767f7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8DC:17F252:23D091:30A643:6B0067FB |
| html-safe-nonce | 46bdafda19a7c376010d82bcf4e8ee0918e397152addeff6d1ebf747377b777d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOERDOjE3RjI1MjoyM0QwOTE6MzBBNjQzOjZCMDA2N0ZCIiwidmlzaXRvcl9pZCI6IjE4NDg1MTQxNjA1MjE0MjAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fec53350e2d276e44d41e5861020dfbfdecfa6b372f0141248b446653832033f |
| hovercard-subject-tag | issue:50852430 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2sharp/879/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1d2d1324c9d26061f6f8f5415cfb65b1454da1dee94e486652926a7687e5e773/libgit2/libgit2sharp/issues/879 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d2d1324c9d26061f6f8f5415cfb65b1454da1dee94e486652926a7687e5e773/libgit2/libgit2sharp/issues/879 |
| og:image:alt | Last version used project properties files instead of custom build action. While this work fine when building or using the Publish action in Visual Studio 2013, it won't work at all using TFS build... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Allov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2sharp git https://github.com/libgit2/libgit2sharp.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 1415168 |
| octolytics-dimension-repository_nwo | libgit2/libgit2sharp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1415168 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2sharp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4f5c239e31f1f680e6bbc419ff92d774da616ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width