jakeswenson / BitBetter

Modify bit warden to provide my own licensing for self hosting
500 stars 112 forks source link

Workaround: The framework 'Microsoft.NETCore.App', version '3.1.0' was not found. #115

Closed toni-1 closed 3 years ago

toni-1 commented 3 years ago

🐛 You get 2 errors:

Search for "3.1.0" and replace it with "5.0.9": grep -iR "3.1.0" * src/bitBetter/bin/Debug/netcoreapp3.1/bitBetter.runtimeconfig.json: "version": "3.1.0" src/bitBetter/bin/Debug/netcoreapp3.1/publish/bitBetter.runtimeconfig.json: "version": "3.1.0"

Start the update (docker-compose override: yes and rebuild BitBetter images: yes): ./update-bitwarden

Now the update is working.

captainhook commented 3 years ago

Are you experiencing #114 after this?

clanto007 commented 3 years ago

To resolve I did a similar thing: I replaced the strings: mcr.microsoft.com/dotnet/core/sdk:3.1 with: mcr.microsoft.com/dotnet/sdk in files: \build.sh \src\licenseGen\Dockerfile

After I changed: netcoreapp3.1 with: netcoreapp5.0 in: \src\bitBetter\bitBetter.csproj \src\bitBetter\Dockerfile \src\licenseGen\Dockerfile \src\licenseGen\licenseGen.csproj

Whit these changes I tried with new installlation, to upgrade installation and to add new org license, all is fine for now. I tried also to add new password in personal and organization vault and all is right.

toni-1 commented 3 years ago

@captainhook No problems like you mentioned in #114. iPhone App, Chrome Plugin and web is working an you can add new entries

captainhook commented 3 years ago

@toni-1 @clanto007 @mg-100 thank you all for checking and feeding back. I'll work on a fix for this but I'm not available until next week. If anyone else can create a proper fix and submit PR that would be a great help.

clanto007 commented 3 years ago

@captainhook I submitted now a PR, can you check if it's all right?

MidavSec commented 3 years ago

Same issue here, not really able to use as licenseGen is as well affected.