Skip to content

Having difficulty installing the Componentize.DotNet package #64

@WhitWaldo

Description

@WhitWaldo

I was reading about this project and tried following the demo. As expected, the following steps worked fine:

dotnet new console --name hello-wasm
cd hello-warm
dotnet new nugetconfig

Update nuget.config to reflect the following:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <packageSources>
    <!--To inherit the global NuGet package sources remove the <clear/> line below -->
    <clear />
    <add key="dotnet-experimental" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json" /> 
    <add key="nuget" value="https://api.nuget.org/v3/index.json" />
 </packageSources>
</configuration>

The problem comes on the next step:

dotnet add package BytecodeAlliance.Componentize.DotNet.Wasm.SDK --prerelease

My console reads the following:

PS C:\Users\whit_\source\repos\WasmDotNet\hello-wasm> dotnet add package BytecodeAlliance.Componentize.DotNet.Wasm.SDK --prerelease
Build succeeded in 0.8s
info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
info : Adding PackageReference for package 'BytecodeAlliance.Componentize.DotNet.Wasm.SDK' into project 'C:\Users\whit_\source\repos\WasmDotNet\hello-wasm\hello-wasm.csproj'.
info : GET https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/fe324174-469a-4296-a9cb-1fd885bb6f2b/nuget/v3/registrations2-semver2/bytecodealliance.componentize.dotnet.wasm.sdk/index.json
info : NotFound https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/fe324174-469a-4296-a9cb-1fd885bb6f2b/nuget/v3/registrations2-semver2/bytecodealliance.componentize.dotnet.wasm.sdk/index.json 198ms
error: There are no versions available for the package 'BytecodeAlliance.Componentize.DotNet.Wasm.SDK'.
PS C:\Users\whit_\source\repos\WasmDotNet\hello-wasm>

I see the package on Nuget.org so I thought that perhaps the readme was out of date and I could just install from the public NuGet, but that still can't seen to find the package:

PS C:\Users\whit_\source\repos\WasmDotNet\hello-wasm> dotnet add package BytecodeAlliance.Componentize.DotNet.Wasm.SDK --prerelease
Build succeeded in 0.7s
info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
info : Adding PackageReference for package 'BytecodeAlliance.Componentize.DotNet.Wasm.SDK' into project 'C:\Users\whit_\source\repos\WasmDotNet\hello-wasm\hello-wasm.csproj'.
error: There are no versions available for the package 'BytecodeAlliance.Componentize.DotNet.Wasm.SDK'.
PS C:\Users\whit_\source\repos\WasmDotNet\hello-wasm>

What am I doing wrong? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions