[{"data":1,"prerenderedAt":137},["ShallowReactive",2],{"/2025/11/02-aspire.hosting-package-version-9.0.0-is-not-supported":3},{"id":4,"title":5,"body":6,"date":128,"description":35,"extension":129,"meta":130,"navigation":131,"path":132,"robots":133,"seo":134,"stem":135,"__hash__":136},"posts/2025/11/02 Aspire.Hosting-package-version-9.0.0-is-not-supported.md","02 AspireHosting Package Version 900 Is Not Supported",{"type":7,"value":8,"toc":125},"minimark",[9,18,22,36,50,53,56,64,66,69,78,80,83,91,93,104,112,114],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"aspirehosting-package-version-900-is-not-supported","Aspire.Hosting package version 9.0.0 is not supported",[19,20,21],"p",{},"Today, I try the dedicated Aspire Cli. The installation went smoothly with:",[23,24,25],"code-block",{},[26,27,32],"pre",{"className":28,"code":30,"language":31},[29],"language-text","dotnet tool install -g Aspire.Cli --prerelease\n","text",[33,34,30],"code",{"__ignoreMap":35},"",[19,37,38,39],{},"For more information: ",[40,41,44],"span",{"className":42},[43],"text-blue-600",[45,46,47],"a",{"href":47,"rel":48},"https://learn.microsoft.com/en-us/dotnet/aspire/cli/install",[49],"nofollow",[51,52],"br",{},[19,54,55],{},"Running Aspire project is easy as well as I can be at any parent directory/folder and simply run the following command and it will search for AppHost.csproj recursively.",[23,57,58],{},[26,59,62],{"className":60,"code":61,"language":31},[29],"aspire run\n",[33,63,61],{"__ignoreMap":35},[51,65],{},[19,67,68],{},"However, during my attempt, it throws the following error:",[23,70,72],{":text-color":71},"text-red-600",[26,73,76],{"className":74,"code":75,"language":31},[29],"The Aspire.Hosting package version 9.0.0 is not supported. Please update to the latest version.\n",[33,77,75],{"__ignoreMap":35},[51,79],{},[19,81,82],{},"So, I ensure all packages in my projects are updated to the latest, but it didn't work. I found out later that the Sdk was not updated as I still found the following entry in my AppHost.csproj file even after all packages updated to version 9.5.2.",[23,84,85],{},[26,86,89],{"className":87,"code":88,"language":31},[29],"\u003CSdk Name=\"Aspire.AppHost.Sdk\" Version=\"9.0.0\" />\n",[33,90,88],{"__ignoreMap":35},[51,92],{},[19,94,95,96,103],{},"Following the instructions in: ",[40,97,99],{"className":98},[43],[45,100,101],{"href":101,"rel":102},"https://learn.microsoft.com/en-us/dotnet/aspire/get-started/upgrade-to-aspire-9?pivots=dotnet-cli",[49],", I updated the version manually to 9.5.2 so it becomes:",[23,105,106],{},[26,107,110],{"className":108,"code":109,"language":31},[29],"\u003CSdk Name=\"Aspire.AppHost.Sdk\" Version=\"9.5.2\" />\n",[33,111,109],{"__ignoreMap":35},[51,113],{},[19,115,116,117,124],{},"Rerun the ",[33,118,123],{"className":119},[120,121,122],"bg-gray-200","p-2","rounded","aspire run"," command and voilà! Back and running.",{"title":35,"searchDepth":126,"depth":126,"links":127},2,[],"2025-11-02T00:00:00.000Z","md",{},true,"/2025/11/02-aspire.hosting-package-version-9.0.0-is-not-supported",null,{"title":5,"description":35},"2025/11/02 Aspire.Hosting-package-version-9.0.0-is-not-supported","UM40GTqVv343yV0s9tgOP00Ua3PB4F_4ftULnH3zbls",1785167452656]