-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
upgrade to version 6 of the Arcade sdk #51647
Conversation
From the thread I see, the suggestion was to use arcade 6 due to lts support which 5 didn't have, any reason not to do 6? |
I just want to confirm that the CI succeeds for 5 first. upgrading to 6 is trivial if folks decide we should |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
db96f28
to
ddbc3be
Compare
Problem is we specifically cannot take 5 because it doesn't meet our servicing requirements. If it's trivial to do 6 then why aren't we starting with upgrading to 6? |
6 will require us to use .NET 6 SDK Preview 1. Thats a big ask on the team (and contributors). I've updated to Arcade 6 to see what it looks like. Appears that there is a VB compiler bug I need to dig into.
|
That looks like the same oddity we were seeing in #51596 |
That's not a VB compiler bug but a sign that a bad version of MS.VB.dll is being used. |
Its never a compiler bug :) |
I popped open the Microsoft.VisualBasic.dlls for net472 in both the 1.0.0 and 1.0.0-preview1 ref assemblies packages. The member I don't know what else we should try to track this down. It does look to me like we need to do something about this, though. |
Guessing this specific error message is a red herring. A lot like when overload resolution fails and the compiler spits out the error message in relation to the "best option". Consider that we don't actually use
Think you'd need to find the real error here. What other error could possibly cause VB to fall back to the
I'd put the urgency on this low. The current use of the preview-1 reference assemblies works fine. I'm not sure why we're conflating it with a move to Arcade 6. |
It seems that the new netframework reference assemblies are coming along for the ride implicitly when moving to arcade 6. So perhaps we should figure out why the new version is getting picked up instead of our version. Maybe a property in Versions.Props has been renamed on the Arcade side, for example. |
True. Seems probable. If that is the single VB error though we could also just focus on figuring out what that is and moving past it. It's ringing a bell deep in my brain but having trouble paging it in at the moment. |
Paging operation complete. One of the following is happening:
The result though is Simple repro of the problem is here. Delete the |
@jmarolf was just telling me, IIRC, that when the build succeeds it is pulling MS.VB.dll from the system's framework folder, and when it fails it's pulling from the NuGet package. Perhaps examining the package references will shed a little light? |
@jaredpar so I assume the fix is to update arcade to not import this automatically? |
What is the system folder in this case?
Don't know. I would take a quick look and see how it's being built today. Build that assembly, crack open the binary log and see what global |
c63e260
to
70947ac
Compare
Alright, after a brief sojourn with Dante, I think this is working now. Queued a signed build to verify nothing else is horribly broken |
834e23c
to
9af8a16
Compare
What was the resolution of the |
We were getting moved to version 1.0 of Microsoft.NETFramework.ReferenceAssemblies instead of 1.0.0-preview.1 |
9af8a16
to
275b510
Compare
Yes but why is that an issue? The MS.VB.dll in 1.0.0 and 1.0.0-preview.1 is basically the same from what I can see. Both have |
I have the commandline args to vbc and its a smoking gun. Pass 1.0 reference assemblies get the error, pass preview and build succeeds. The fix was to pin the preview versions and the build succeeds. There are two follow up items here:
|
…jmarolf/roslyn into infrastructure/move-to-arcade-5
Currently failing due to Compilation error(s) occurred: Cannot use file stream for [C:\h\w\A86A091F\w\BD710A50\e\testhost.deps.json]: No such file or directory
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\h\w\A86A091F\p\dotnet-cli'.
Failed to run as a self-contained app.
The application was run as a self-contained app because 'C:\h\w\A86A091F\w\BD710A50\e\testhost.runtimeconfig.json' was not found.
If this should be a framework-dependent app, add the 'C:\h\w\A86A091F\w\BD710A50\e\testhost.runtimeconfig.json' file and specify the appropriate framework.
Expected: False
Actual: True I'll need to investigate why |
@jmarolf, Friendly ask if there are any updates? |
superseded by #52255 |
No description provided.