I'm making a website published in hostlocal in C # and VisualStudio 2015. I need to set the AllowUnsafeBlocks option, for a class that uses pointers, but I can not. I'm sure it's silly, but I do not see it and I'm going crazy.
When I open the project properties page, in the Compile section, I do not get the option as it should to allow the unsafe code. I only get this:
In the solution explorer, it does not appear either. I do not understand it!
The other option is to add the following lines in the .csproj file:
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
The problem is that I do not have any .csproj file since it is a web created directly against the IIS. Yes there is a .sln file
The configuration files I have are: website.publishproj, web.config, vwd.webinfo, compilerconfig.json
Any suggestions? How can I configure VS 2015 to see it, or how to add a code in some configuration file?