Posted on 12/05/2025 12:07:31
Hi
EditAddressViewModel is brand new - so what happens here is that your intellisense cache is not updated with the latest versions of viewmodels found in Dynamicweb.Users.Frontend.ManageAddresses namespace in Dynamicweb.Users package.
If you installed e.g.10.14 where that model is not present, or if you installed using release rings and have chosen a ring where this feature is not yet available, you can see stuff like this.
So you need to ensure that your project downloaded the latest versions of the nuget packages.
Also check if your dependencies are like below - meaning it will always be the latest DW 10 versions of the packages.

Here are instructions for both Visual Studio 2022 and Visual Studio Code to:
-
Update NuGet packages (specifically Dynamicweb, with wildcard version 10.*)
-
Reset IntelliSense cache
✅ Visual Studio 2022 (Full IDE)
Step 1: Update NuGet Package
Even though you're using Version="10.*", you still need to run a restore or force an update to pull the latest matching version.
Option A – Use NuGet Package Manager Console:
Open the console via:
Tools > NuGet Package Manager > Package Manager Console
Then run:
Update-Package Dynamicweb -Reinstall
This will reinstall the latest matching 10.x version based on your version range.
If you're in a solution and want to do it for all projects:
Update-Package Dynamicweb -Reinstall -ProjectName YourProjectName
Or for all packages in the solution (if you want to be thorough):
Update-Package -Reinstall
Step 2: Clear IntelliSense Cache
There is no direct “reset IntelliSense” button, but you can:
-
Close Visual Studio.
-
Delete the following folders (if they exist):
.vs/
bin/
obj/
You can automate this with PowerShell:
Get-ChildItem -Recurse -Force -Include bin,obj | Remove-Item -Recurse -Force
Remove-Item .vs -Recurse -Force
Then restart Visual Studio and rebuild the solution:
dotnet clean
dotnet build
This should refresh the IntelliSense cache and ensures you're using the latest assemblies.
✅ Visual Studio Code (with .NET SDK)
Assuming you're using the .NET CLI in VSCode:
Step 1: Update Package
Because of <PackageReference Include="Dynamicweb" Version="10.*" />, run:
dotnet restore
This will pull the latest 10.x version available.
To force it:
dotnet clean
dotnet restore --force
Step 2: Clear IntelliSense Cache
VSCode relies on the .vscode/, bin/, and obj/ folders for IntelliSense and build artifacts.
You can run:
rm -rf bin obj .vscode
dotnet clean
dotnet build
Or on Windows PowerShell:
Remove-Item -Recurse -Force bin,obj,.vscode
dotnet clean
dotnet build
This will clear stale caches and rebuild everything fresh, updating IntelliSense.
🔁 Summary Command Set
| Tool |
Command(s) |
| Visual Studio |
Update-Package Dynamicweb -Reinstall+ delete .vs/, bin/, obj/ |
| VS Code (CLI) |
dotnet cleandotnet restore --forcedelete bin/, obj/, .vscode/ |
BR Nicolai