In a Portable Class Project in Visual Studio 2013, when I select
- .NET Framework 4 and higher
- Windows Store Apps (Windows 8) and higher
- Windows Phone 8
Visual Studio claims that Silverlight 5 supports every available functionality that is portable between the other frameworks I selected and selects it automatically. But it's wrong because I need to use /unsafe compiler option which is not possible in Silverlight applications.
I select .NET Framework 4.5 instead of 4 as a workaround, so Visual Studio doesn't select Silverlight 5 automatically, but it shouldn't be needed since the project is perfectly compatible with .NET Framework 4 as well.
How can I get around that?
Is there anything I can change in the project file, like ProjectTypeGuids?