electronize start and electronize build producing 2 totally different apps #570

Closed
opened 2026-01-29 16:43:10 +00:00 by claunia · 3 comments
Owner

Originally created by @j-loriault on GitHub (Oct 3, 2020).

Originally assigned to: @GregorBiswanger on GitHub.

not sure if this is a bug or what, but I had built another app using the api and now I'm working on a different app and I have manually deleted all ./bin and ./obj folders but when I type:
electronize start in the console it loads up an old app
if I run
electronize build and go to the Desktop folder, its the correct app.

this is really wierd and not sure if its a bug or me doing something wrong.

Originally created by @j-loriault on GitHub (Oct 3, 2020). Originally assigned to: @GregorBiswanger on GitHub. not sure if this is a bug or what, but I had built another app using the api and now I'm working on a different app and I have manually deleted all ./bin and ./obj folders but when I type: electronize start in the console it loads up an old app if I run electronize build and go to the Desktop folder, its the correct app. this is really wierd and not sure if its a bug or me doing something wrong.
claunia added the question label 2026-01-29 16:43:10 +00:00
Author
Owner

@j-loriault commented on GitHub (Oct 3, 2020):

ok so I found the problem and to me it seems like a bug. the electron browser was not clearin out the local storage and it was caching the old blazor app. after going into the developer console -> Application -> Clear Storage and clicking the clear site data with all options checked, it started loading the right one. Ironically the one it was loading had even been deleted from my repos completely and drove me insane for almost 4 hours. why this thing is not clearing the site data on start is beyond me but it should be.

@j-loriault commented on GitHub (Oct 3, 2020): ok so I found the problem and to me it seems like a bug. the electron browser was not clearin out the local storage and it was caching the old blazor app. after going into the developer console -> Application -> Clear Storage and clicking the clear site data with all options checked, it started loading the right one. Ironically the one it was loading had even been deleted from my repos completely and drove me insane for almost 4 hours. why this thing is not clearing the site data on start is beyond me but it should be.
Author
Owner

@GregorBiswanger commented on GitHub (Oct 25, 2020):

For this problem we have an electronize start /clear-cache command.

could i help?

@GregorBiswanger commented on GitHub (Oct 25, 2020): For this problem we have an `electronize start /clear-cache` command. could i help?
Author
Owner

@j-loriault commented on GitHub (Nov 17, 2020):

ok thank you

@j-loriault commented on GitHub (Nov 17, 2020): ok thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#570