You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building .NET SDK for/under FreeBSD, using SDK produced from Linux crossbuild (nice thread here dotnet/runtime#14537) I run into strange problem. After doing build of SDK and feeding that into installer, SDK gives error, when trying to build web related project:
error MSB4236: The SDK 'Microsoft.NET.Sdk.Razor' specified could not be found.
From what I understand, this should be inside produced file dotnet-toolset-internal-6.0.100-rc.1.21458.71.zip.
Looking at Linux file:
Little update on the subject - looks like it's not the only/not always the Razor SDK is missing - looks like some files are "skipped" while building this zip, after few tries I got "full" that contains all the files compared vs Linux build run :/ Which is strange, becuase script report 0 errors and warning at the end, looking at binlog also don't show any errors/problems.
Any tips on how to debug what's could be going on?
edit: looks like doing build.sh, then build.sh -pack generate ZIP with all needed files
sec
changed the title
Missing 'Microsoft.NET.Sdk.Razor' when building SDK on FreeBSD [6.0-rc1]
Missing some files in generated SDK on FreeBSD [6.0-rc1]
Oct 6, 2021
While building .NET SDK for/under FreeBSD, using SDK produced from Linux crossbuild (nice thread here dotnet/runtime#14537) I run into strange problem. After doing build of SDK and feeding that into installer, SDK gives error, when trying to build web related project:
From what I understand, this should be inside produced file
dotnet-toolset-internal-6.0.100-rc.1.21458.71.zip
.Looking at Linux file:
But on the FreeBSD machine:
Looks like it's not packing all files correctly, even though those files are present under
artifacts/bin/Release/Sdks/Microsoft.NET.Sdk.Razor
This is from
v6.0.100-rc.1.21458.71
tag of SDK.dotnet --info from FreeBSD machine used to build:
As I wrote in runtime thread, copying those files by hand, fix the issue, but I think they should be packed inside that zip, right? :)
The text was updated successfully, but these errors were encountered: