Closed v-sherryfan closed 4 months ago
Curious why the URL in the screenshot is 127.0.0.1
? That won't work with the developer certificate (hence the "not secure" message) and shouldn't be what VS launches the browser with.
I reproduced this however the browser was launched with the expected https://localhost:15179
URL. Not sure what's going on.
This is caused by a bug in Visual Studio and the fact the release/8.0
branch was specifying version of 8.0.0-*
for the Aspire packages. VS attempts to parse the version of the Aspire.Hosting.AppHost
package being referenced in order to determine whether to generate a dashboard key or not and it's not handling versions with wildcards or ranges. I've updated the release/8.0
branch to use concrete versions and we'll look to fix the issue in Visual Studio.
/Cc @BillHiebert
Verified that this issue is not reproduced on releae/8.0 branch
using VS 17.10 Preview 7 FB [include 8.0.0-preview.7.24251.11]
INSTALL STEPS
REPRO STEPS
release/8.0
branchACTUAL: Token authentication is required when using VS Run for the first time (Both AspireShop and AspireWithNode )
Note:
EXPECTED When running with vs, token verification is not required to automatically enter the AspireShop dashboard page.