bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 217 forks source link

I have an error when I'm running my bit platform app #6023

Closed AbbasKashi69 closed 7 months ago

AbbasKashi69 commented 7 months ago

Is there an existing issue for this?

Describe the bug

when I wanna run my application on webassembly I have an error my project has 4+ layer more Gym.AppServices Gym.DB Gym.DeviceService Gym.Messaging

I attach photo of error I hope someone help me Screenshot 2023-11-14 102140

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

Severity Code Description Project File Line Suppression State Error CS0234 The type or namespace name 'ApplicationParts' does not exist in the namespace 'Microsoft.AspNetCore.Mvc' (are you missing an assembly reference?) Gym.Client.Web E:\Project_WEB\GymRollCall2\Gym2\Gym\src\Client\Web\obj\Debug\net7.0\Gym.Client.Web.MvcApplicationPartsAssemblyInfo.cs 14 Active

.NET Version

No response

Anything else?

No response

ysmoradi commented 7 months ago

Hi Dear @AbbasKashi69 Please provide more information (as much as possible) Which version of Visual Studio and dotnet? Which project template? which version?

AbbasKashi69 commented 7 months ago

sure Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.5.4 dot net 7.0 bit platform admin ui 4.9.9

ysmoradi commented 7 months ago

Could you please attach the sample project that has this issue? It seems that you're using Application Parts which is not a part of bitplatform

AbbasKashi69 commented 7 months ago

actually I can send to you my project and you test it. are you ok??

ysmoradi commented 7 months ago

Yes, that's fine, you could send it to my telegram account in 7zip format Close the VS and run Clean.bat in order to reduce the file size @ysmoradi account