Title: Disable validateReferences in DLLs meta files · Issue #140 · microsoft/MSBuildForUnity · GitHub
Open Graph Title: Disable validateReferences in DLLs meta files · Issue #140 · microsoft/MSBuildForUnity
X Title: Disable validateReferences in DLLs meta files · Issue #140 · microsoft/MSBuildForUnity
Description: From Unity version 2020.1 and on, Unity has added a validation step for strongly named assemblies and throws an error when the version doesn't match exactly, which is quite common in NuGet packages. This makes this package completely use...
Open Graph Description: From Unity version 2020.1 and on, Unity has added a validation step for strongly named assemblies and throws an error when the version doesn't match exactly, which is quite common in NuGet packages...
X Description: From Unity version 2020.1 and on, Unity has added a validation step for strongly named assemblies and throws an error when the version doesn't match exactly, which is quite common in NuGet pack...
Opengraph URL: https://github.com/microsoft/MSBuildForUnity/issues/140
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Disable validateReferences in DLLs meta files","articleBody":"From Unity version 2020.1 and on, Unity has added a validation step for strongly named assemblies and throws an error when the version doesn't match exactly, which is quite common in NuGet packages. This makes this package completely useless in newer version.\r\nAdding \"validateReferences:0\" to the DLL meta file converts the error into a warning, making it usable again. This should be added in the [UnityMetaFileGenerator.targets:65](https://github.com/microsoft/MSBuildForUnity/blob/3b6326a811941085a140a8851edd622da1be1be9/Source/MSBuildTools.Unity.NuGet/UnityMetaFileGenerator.targets#L65) file.\r\n\r\nIt could also be nice to add \"isExplicitlyReferenced: 1\" to force to reference the exact DLLs from each AssemblyDefinition, instead of referencing all everywhere. Or a setting to make this optional could be nice.","author":{"url":"https://github.com/rubengonzalezlodeiro","@type":"Person","name":"rubengonzalezlodeiro"},"datePublished":"2020-04-30T08:39:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/140/MSBuildForUnity/issues/140"}
| 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:b6dfe77e-407c-f46d-69f9-de2fc52d72a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB30:34464:234F52E:2E9E480:697D44D8 |
| html-safe-nonce | 096714020b588449bb32d889462e3744aa92e8d0a29eb95dc09354e914ececd1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjMwOjM0NDY0OjIzNEY1MkU6MkU5RTQ4MDo2OTdENDREOCIsInZpc2l0b3JfaWQiOiI0MzU3OTc5NDExNTA5NDk1MDAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0eb750dcca8f04f1ddffc2c9630e506fe1285536ffdfc88055c5c0103c698429 |
| hovercard-subject-tag | issue:609717297 |
| 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/microsoft/MSBuildForUnity/140/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50d9819374f516590f9bd01cecbc4293a3b10f47407ef0c7d0eb02562d534187/microsoft/MSBuildForUnity/issues/140 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50d9819374f516590f9bd01cecbc4293a3b10f47407ef0c7d0eb02562d534187/microsoft/MSBuildForUnity/issues/140 |
| og:image:alt | From Unity version 2020.1 and on, Unity has added a validation step for strongly named assemblies and throws an error when the version doesn't match exactly, which is quite common in NuGet packages... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rubengonzalezlodeiro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/MSBuildForUnity git https://github.com/microsoft/MSBuildForUnity.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 199713509 |
| octolytics-dimension-repository_nwo | microsoft/MSBuildForUnity |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 199713509 |
| octolytics-dimension-repository_network_root_nwo | microsoft/MSBuildForUnity |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width