-
Notifications
You must be signed in to change notification settings - Fork 636
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
Fix deps.json #14515
Conversation
|
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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
< 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