Insert NuGet Build 5.2.0-rtm.6067 into sdk#3372
Conversation
This contains a match NuGet in it.
|
@dsplaisted can you take a look at this on Monday. Seems like the windows failures might be legit. |
|
Still working on this, but this is failing due to the stage 0 update. With the updated stage 0, the The mscorlib.ni.pdb output item from @fadimounir Thoughts? |
|
@dsplaisted looks like a test bug in the [Separate issue] If mscorlib.dll now has some IL, should we R2R it like other runtime libs in the runtime package we ship, so that app developers using the SDK won't have to compile it themselves? |
|
@fadimounir These are the files in the publish directory with the failing test: Are you saying that for single file publish, you expect mscorlib.ni.pdb to be in that directory, but no other mscorlib files? |
It should have the large HElloWorldWithSubDirs.exe + pdbs. The goal of the test is to verify we don't include pdbs in the single-exe bundle. Maybe a better fix would be: |
|
@fadimounir can you push a commit to this PR to fix this issue. This is the last change we are tracking for 3.0 Preview7 and this is blocking our snap. Assuming @dsplaisted is not already fixing the test. |
|
@dsplaisted I'm assuming you're working on the fix. Let me know if you need help |
|
@fadimounir I'm still not following how it would be expected behavior to include mscorlib.ni.pdb in the publish output here. Is it needed for debugging? Would you get .ni.pdb files for System, System.Core, etc. if the app used APIs from those DLLs? What is the |
|
@dsplaisted When the test was written, only the |
|
I can put out a PR with the change for the test. |
|
Here it is: #3381 |
The .pdb's are used for debugging. The .ni.pdb's are used for profiling purposes. Both of these file types are useful for the app developer of an app (which is why they are in the output publish folder), but not useful to include in the single-file bundle that the app developer will distribute to his/her customers (customers will be running the app, not debug it)
API usage doesn't impact .ni.pdb generation. These ni PDBs are generated for every R2R image that gets compiled during publishing, if the PublishReadyToRunEmitSymbols property is set. |
…030.3 (dotnet#3372) - Microsoft.NET.Sdk.Web - 3.1.100-preview2.19530.3
Insert NuGet Build 5.2.0-rtm.6067 into sdk release/3.0.1xx branch