Currently I am only able to use Pulumi 1.11.0-prev...
# dotnet
Currently I am only able to use Pulumi 1.11.0-preview and not a newer nuget version. If I try to use a newer one such as 1.11.1 or even 1.12.0 I get a System.MissingMethodException: Method not found error. Just wanting to make sure this is expected in the current preview versions or if something has changed which I need to make modifications to work.
Copy code
error: Running program '/repos/pulumi-projects/rancher-server-cluster/bin/Debug/netcoreapp3.1/rancher-server-cluster.dll' failed with an unhandled exception:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
     ---> System.MissingMethodException: Method not found: 'Void Pulumi.ProviderResource..ctor(System.String, System.String, Pulumi.ResourceArgs, Pulumi.ResourceOptions)'.
       at Pulumi.VSphere.Provider..ctor(String name, ProviderArgs args, ResourceOptions options)
       at RancherServerCluster..ctor() in /repos/pulumi-projects/rancher-server-cluster/RancherServerCluster.cs:line 19
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
       at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
       at System.Activator.CreateInstance[T]()
       at Pulumi.Deployment.Runner.RunAsync[TStack]()
Yes, please hold off with updating to 1.12 Pulumi NuGet package until the next provider release
Generally, I would avoid having an explicit entry in your csproj file fore Pulumi, just use whatever is pulled with the provider NuGet
okay will do!