Natashi
Natashi
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
The deadline is next month, and that includes internal testing, I can't upgrade to the next major version right now
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
Yes, I've already downgraded everything to 6.0.x
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
and now currently it's working again, I truly have to idea what the fresh hell is happening here
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
Initial deployments always had this issue, but at one point it started working (with unrelated errors, see https://discord.com/channels/143867839282020352/156079822454390784/1314127421464772678), but then somehow it regressed and no longer worked
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
No description
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
I did nothing and it suddenly worked, I don't even know anymore
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
If I run dotnet Api.dll on the server console there, it does run properly by the way (except for the fact that it crashes because I forgot to allow the app through the database firewall)
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
No description
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
Yeah, it's net6, but AAS still has an option for it and the runtime exists as normal
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
Docker isn't used, I'm using the deploy code option rather than deploy container The deploy job is as so
deploy-api:
name: Deploy App Service
runs-on: ubuntu-latest

env:
APP_NAME: 'app-api'
DIR_PROJ: ./AppAPI

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and publish
working-directory: ${{ env.DIR_PROJ }}
run: |
dotnet restore
dotnet build --configuration Release
dotnet publish -c Release -o publish

- name: Login to Azure
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_DEPLOY_CREDENTIALS }}

- name: Azure deploy
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: ${{ env.APP_NAME }}
package: ${{ env.DIR_PROJ }}/publish
deploy-api:
name: Deploy App Service
runs-on: ubuntu-latest

env:
APP_NAME: 'app-api'
DIR_PROJ: ./AppAPI

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and publish
working-directory: ${{ env.DIR_PROJ }}
run: |
dotnet restore
dotnet build --configuration Release
dotnet publish -c Release -o publish

- name: Login to Azure
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_DEPLOY_CREDENTIALS }}

- name: Azure deploy
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
with:
app-name: ${{ env.APP_NAME }}
package: ${{ env.DIR_PROJ }}/publish
35 replies
CC#
Created by Natashi on 12/5/2024 in #help
Missing dll on Azure App Service deployment
No description
35 replies
CC#
Created by Scipio on 10/31/2024 in #help
'FOREIGN KEY constraint failed in Sqlite using Entity Framework Core and WinUi 3
Are you sure you followed all the steps in the package's readme
52 replies
CC#
Created by Scipio on 10/31/2024 in #help
'FOREIGN KEY constraint failed in Sqlite using Entity Framework Core and WinUi 3
Well that's not good
52 replies
CC#
Created by Scipio on 10/31/2024 in #help
'FOREIGN KEY constraint failed in Sqlite using Entity Framework Core and WinUi 3
Expand the exception, see the property ConstraintName
52 replies
CC#
Created by Scipio on 10/31/2024 in #help
'FOREIGN KEY constraint failed in Sqlite using Entity Framework Core and WinUi 3
Try using this package, it'll give you more details on db exceptions https://www.nuget.org/packages/EntityFrameworkCore.Exceptions.Common
52 replies
CC#
Created by Natashi on 9/10/2024 in #help
✅ CSharpFunctionalExtensions.Result implicit conversion
Damnit, that's annoying, thanks for the answer
5 replies
CC#
Created by FraznoFire on 9/1/2024 in #help
Non-Nullable type "required" double up.
Guid is a value type
24 replies