Hello friends. I do have problems with running the...
# dotnet
b
Hello friends. I do have problems with running the sample from the very first tutorial. The error is (screenshot). I have not found anything related to in and maybe this is something very simple. Could someone please advise?
g
Hi @bulky-umbrella-4227, it looks like the
csproj
file in your Pulumi program is referencing dotnet version 6.x while you have 8.x installed. You'll need to update your
csproj
file to reference
net8.0
instead of
net6.0
(or install dotnet 6.0. https://github.com/pulumi/examples/blob/2f3ac9429c1d26e5dd6e264c9231f294c8776c54/aws-cs-fargate/Infra/Aws.Fargate.csproj#L5
b
image.png
g
huh interesting
b
yep =)
found the error. Thank you for help
g
Curious what was it?
b
somehow there was another project with same name in a different folder targeting net6.0
I was in wrong base directory
😃
g
Makes sense. I was going to suggest that or something as simple as "did you save the file"? 😆 Regardless, glad you got past it!
b
thank you again for the fast reply
g
no problem!