deps.json file has empty compilationOptions section
See original GitHub issueLikely a result of the migration to the new JSON APIs
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.0": {
"ConsoleApp1/1.0.0": {
"runtime": {
"ConsoleApp1.dll": {}
}
}
}
},
"libraries": {
"ConsoleApp1/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
The *deps.json file in .NET Core
The .deps.json file contains metadata about the assemblies referenced by the built assembly and the locations to search for them as well as ......
Read more >deps.json missing - Developer Community
Adding an empty dependency file results in 500.2 and the application ... I've created several projects in a solution and have had no...
Read more >Use hosting startup assemblies in ASP.NET Core
A dependencies file is required to consume the hosting startup in the hosting startup assembly. A dependencies file is a runnable app asset ......
Read more >Deep-dive into .NET Core primitives: deps.json ...
I learned to program with gcc, C++, and vim. When I started working with C# and .NET, clicking the “Start” button in Visual...
Read more >Professional C# 6 and .NET Core 1.0 - Google Books Result
You can also find the references for the NuGet packages within the project.json file. (In the following code snippet, they are in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Omg then we should fix it…
I don’t think the migration affected this. At least, looking at the tests, this was by-design before too: https://github.com/dotnet/sdk/blob/b73819e683af64bd19c961973c77b2239cd20e5d/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenADependencyContextBuilder.cs#L63
https://github.com/dotnet/sdk/blob/8cb31b0fd0bb5d36b9781442865f2e26cf6fbedc/src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/simple.dependencies.deps.json#L6