نقل قول: نحوه رفع خطای HashTable
چه کار کنم که به unsafe خطا نگیره ؟
نقل قول: نحوه رفع خطای HashTable
توی یک سایت نوشته بود که کار زیر رو انجام بدم :
You get Unsafe code may only appear if compiling with /unsafe error when trying to debug or build unsafe code in Visual Studio.
To fix this error, you need to set your project setting to build and/or debug unsafe code.
To set unsafe build, go to your project in Solution Explorer.
Right click on Project Name and select Properties.
Go to Build tab and select "Allow unsafe code"
ولی در ای اس پی دات نت گزینه allow unsafe code رو نداره .
یه جای دیگه خوندم کد زیر رو به web .config اضافه کنم . ولی به web.config هم خطا داد :
<compilers>
<compiler language="C#;cs;csharp" extension=".cs" compilerOptions="/unsafe" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilers>
لطفا کمک کنید .خسته شدم از بس دنبال جواب گشتم .
نقل قول: نحوه رفع خطای HashTable
کسی نمی تونه راهنمایی کنه ؟