Skip to content
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

Fix deps.json #14515

Closed
wants to merge 3 commits into from
Closed

Fix deps.json #14515

wants to merge 3 commits into from

Conversation

pinzart90
Copy link
Contributor

@pinzart90 pinzart90 commented Oct 24, 2023

< Private >False< /Private > on Projects does not work well with deps.json files
I tried to generate a single deps.json file (for DynamoSandbox) and now it is picking up the System.Text.Json vers7 dll from the app dir
Bad news is that is seems fragile (when generating a single deps file).
Not sure this behaves in the revit context

@github-actions
Copy link

github-actions bot commented Oct 24, 2023

⚠️ [run-bin-diff-net60-windows] - Files Added/Deleted::77 new file(s) have been added and 13 file(s) have been deleted!
(Updated: 2023-10-24-04:02:17)

@pinzart90
Copy link
Contributor Author

FYI @mjkkirschner

@@ -25,6 +25,9 @@
<!--The System.Drawing package is only included in DynamoCore (and not in all projects that have image resources) for simplicity-->
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Text.Json" Version="7.0.3" />
</ItemGroup>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

force syste,text.json vers 7

@@ -16,16 +16,16 @@
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<!-- Specify runtimeIdentifier to get around error NETSDK1047: Assets file 'obj\project.assets.json' doesn't have a target for 'net48/win7-x64'-->
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<GenerateDependencyFile>true</GenerateDependencyFile>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generate deps file only for sandbox

@pinzart90 pinzart90 closed this Oct 27, 2023
@pinzart90 pinzart90 deleted the fix_deps.json branch February 9, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants