56bf133a78
Add StyleCop.Analyzers to projects
263 lines
No EOL
13 KiB
XML
263 lines
No EOL
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{88368190-E3DF-4EBE-ACAA-7B1779F376CA}</ProjectGuid>
|
|
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>OpenTK</RootNamespace>
|
|
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
|
<AssemblyName>OpenTK</AssemblyName>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<Deterministic>true</Deterministic>
|
|
<RunCodeAnalysis>true</RunCodeAnalysis>
|
|
<CodeAnalysisRuleSet>..\..\stylecop.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\iOS\</OutputPath>
|
|
<DefineConstants>DEBUG;IPHONE;OPENGLES;OPENTK_1;OPENTK_1_1</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<ConsolePause>false</ConsolePause>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DocumentationFile>bin\Debug\iOS\OpenTK.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\iOS\</OutputPath>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<ConsolePause>false</ConsolePause>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DefineConstants>IPHONE;OPENGLES;OPENTK_1;OPENTK_1_1</DefineConstants>
|
|
<DocumentationFile>bin\Release\iOS\OpenTK.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="Xamarin.iOS" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Resources\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="AutoGeneratedAttribute.cs" />
|
|
<Compile Include="CountAttribute.cs" />
|
|
<Compile Include="BindingsBase.cs" />
|
|
<Compile Include="BlittableValueType.cs" />
|
|
<Compile Include="Configuration.cs" />
|
|
<Compile Include="ContextHandle.cs" />
|
|
<Compile Include="DisplayDevice.cs" />
|
|
<Compile Include="DisplayIndex.cs" />
|
|
<Compile Include="DisplayResolution.cs" />
|
|
<Compile Include="Exceptions.cs" />
|
|
<Compile Include="FrameEventArgs.cs" />
|
|
<Compile Include="GameWindow.cs" />
|
|
<Compile Include="GameWindowFlags.cs" />
|
|
<Compile Include="IGameWindow.cs" />
|
|
<Compile Include="INativeWindow.cs" />
|
|
<Compile Include="IntPtrEqualityComparer.cs" />
|
|
<Compile Include="InteropHelper.cs" />
|
|
<Compile Include="KeyPressEventArgs.cs" />
|
|
<Compile Include="Minimal.cs" />
|
|
<Compile Include="MouseCursor.cs" />
|
|
<Compile Include="NativeWindow.cs" />
|
|
<Compile Include="Platform\iPhoneOS\iPhoneDisplayDeviceDriver.cs" />
|
|
<Compile Include="RewrittenAttribute.cs" />
|
|
<Compile Include="SlotAttribute.cs" />
|
|
<Compile Include="Toolkit.cs" />
|
|
<Compile Include="ToolkitOptions.cs" />
|
|
<Compile Include="WindowBorder.cs" />
|
|
<Compile Include="WindowIcon.cs" />
|
|
<Compile Include="WindowState.cs" />
|
|
<Compile Include="Audio\AudioCapture.cs" />
|
|
<Compile Include="Audio\AudioContext.cs" />
|
|
<Compile Include="Audio\AudioContextException.cs" />
|
|
<Compile Include="Audio\AudioDeviceEnumerator.cs" />
|
|
<Compile Include="Audio\AudioDeviceErrorChecker.cs" />
|
|
<Compile Include="Audio\AudioDeviceException.cs" />
|
|
<Compile Include="Audio\AudioException.cs" />
|
|
<Compile Include="Audio\AudioValueException.cs" />
|
|
<Compile Include="Audio\OpenAL\AL\AL.cs" />
|
|
<Compile Include="Audio\OpenAL\AL\ALEnums.cs" />
|
|
<Compile Include="Audio\OpenAL\AL\EffectsExtension.cs" />
|
|
<Compile Include="Audio\OpenAL\AL\EffectsExtensionEnums.cs" />
|
|
<Compile Include="Audio\OpenAL\AL\EffectsExtensionPresets.cs" />
|
|
<Compile Include="Audio\OpenAL\AL\XRamExtension.cs" />
|
|
<Compile Include="Audio\OpenAL\Alc\Alc.cs" />
|
|
<Compile Include="Audio\OpenAL\Alc\AlcEnums.cs" />
|
|
<Compile Include="Graphics\Color4.cs" />
|
|
<Compile Include="Graphics\ColorFormat.cs" />
|
|
<Compile Include="Graphics\GraphicsBindingsBase.cs" />
|
|
<Compile Include="Graphics\GraphicsContext.cs" />
|
|
<Compile Include="Graphics\GraphicsContextBase.cs" />
|
|
<Compile Include="Graphics\GraphicsContextException.cs" />
|
|
<Compile Include="Graphics\GraphicsContextFlags.cs" />
|
|
<Compile Include="Graphics\GraphicsContextMissingException.cs" />
|
|
<Compile Include="Graphics\GraphicsContextVersion.cs" />
|
|
<Compile Include="Graphics\GraphicsErrorException.cs" />
|
|
<Compile Include="Graphics\GraphicsExceptions.cs" />
|
|
<Compile Include="Graphics\GraphicsMode.cs" />
|
|
<Compile Include="Graphics\GraphicsModeComparer.cs" />
|
|
<Compile Include="Graphics\GraphicsModeException.cs" />
|
|
<Compile Include="Graphics\IGraphicsContext.cs" />
|
|
<Compile Include="Graphics\IGraphicsMode.cs" />
|
|
<Compile Include="Graphics\ES11\ES11.cs" />
|
|
<Compile Include="Graphics\ES11\ES11Enums.cs" />
|
|
<Compile Include="Graphics\ES11\ES11Obsolete.cs" />
|
|
<Compile Include="Graphics\ES11\ErrorHelper.cs" />
|
|
<Compile Include="Graphics\ES11\Helper.cs" />
|
|
<Compile Include="Graphics\ES20\ES20.cs" />
|
|
<Compile Include="Graphics\ES20\ES20Enums.cs" />
|
|
<Compile Include="Graphics\ES20\ErrorHelper.cs" />
|
|
<Compile Include="Graphics\ES20\Helper.cs" />
|
|
<Compile Include="Graphics\ES30\ES30.cs" />
|
|
<Compile Include="Graphics\ES30\ES30Enums.cs" />
|
|
<Compile Include="Graphics\ES30\ErrorHelper.cs" />
|
|
<Compile Include="Graphics\ES30\Helper.cs" />
|
|
<Compile Include="Input\ButtonState.cs" />
|
|
<Compile Include="Input\Buttons.cs" />
|
|
<Compile Include="Input\ConfigurationType.cs" />
|
|
<Compile Include="Input\FileDropEventArgs.cs" />
|
|
<Compile Include="Input\GamePad.cs" />
|
|
<Compile Include="Input\GamePadAxes.cs" />
|
|
<Compile Include="Input\GamePadButtons.cs" />
|
|
<Compile Include="Input\GamePadCapabilities.cs" />
|
|
<Compile Include="Input\GamePadConfiguration.cs" />
|
|
<Compile Include="Input\GamePadConfigurationDatabase.cs" />
|
|
<Compile Include="Input\GamePadConfigurationItem.cs" />
|
|
<Compile Include="Input\GamePadConfigurationSource.cs" />
|
|
<Compile Include="Input\GamePadConfigurationTarget.cs" />
|
|
<Compile Include="Input\GamePadDPad.cs" />
|
|
<Compile Include="Input\GamePadState.cs" />
|
|
<Compile Include="Input\GamePadThumbSticks.cs" />
|
|
<Compile Include="Input\GamePadTriggers.cs" />
|
|
<Compile Include="Input\GamePadType.cs" />
|
|
<Compile Include="Input\HatPosition.cs" />
|
|
<Compile Include="Input\IGamePadDriver.cs" />
|
|
<Compile Include="Input\IInputDevice.cs" />
|
|
<Compile Include="Input\IInputDriver2.cs" />
|
|
<Compile Include="Input\IJoystickDriver2.cs" />
|
|
<Compile Include="Input\IKeyboardDriver2.cs" />
|
|
<Compile Include="Input\IMouseDriver2.cs" />
|
|
<Compile Include="Input\Joystick.cs" />
|
|
<Compile Include="Input\JoystickCapabilities.cs" />
|
|
<Compile Include="Input\JoystickDevice.cs" />
|
|
<Compile Include="Input\JoystickHat.cs" />
|
|
<Compile Include="Input\JoystickHatState.cs" />
|
|
<Compile Include="Input\JoystickState.cs" />
|
|
<Compile Include="Input\Key.cs" />
|
|
<Compile Include="Input\KeyModifiers.cs" />
|
|
<Compile Include="Input\Keyboard.cs" />
|
|
<Compile Include="Input\KeyboardDevice.cs" />
|
|
<Compile Include="Input\KeyboardKeyEventArgs.cs" />
|
|
<Compile Include="Input\KeyboardState.cs" />
|
|
<Compile Include="Input\Mouse.cs" />
|
|
<Compile Include="Input\MouseButton.cs" />
|
|
<Compile Include="Input\MouseDevice.cs" />
|
|
<Compile Include="Input\MouseEventArgs.cs" />
|
|
<Compile Include="Input\MouseScroll.cs" />
|
|
<Compile Include="Input\MouseState.cs" />
|
|
<Compile Include="Math\BezierCurve.cs" />
|
|
<Compile Include="Math\BezierCurveCubic.cs" />
|
|
<Compile Include="Math\BezierCurveQuadric.cs" />
|
|
<Compile Include="Math\Box2.cs" />
|
|
<Compile Include="Math\Half.cs" />
|
|
<Compile Include="Math\MathHelper.cs" />
|
|
<Compile Include="Math\Matrix2.cs" />
|
|
<Compile Include="Math\Matrix2d.cs" />
|
|
<Compile Include="Math\Matrix2x3.cs" />
|
|
<Compile Include="Math\Matrix2x3d.cs" />
|
|
<Compile Include="Math\Matrix2x4.cs" />
|
|
<Compile Include="Math\Matrix2x4d.cs" />
|
|
<Compile Include="Math\Matrix3.cs" />
|
|
<Compile Include="Math\Matrix3d.cs" />
|
|
<Compile Include="Math\Matrix3x2.cs" />
|
|
<Compile Include="Math\Matrix3x2d.cs" />
|
|
<Compile Include="Math\Matrix3x4.cs" />
|
|
<Compile Include="Math\Matrix3x4d.cs" />
|
|
<Compile Include="Math\Matrix4.cs" />
|
|
<Compile Include="Math\Matrix4d.cs" />
|
|
<Compile Include="Math\Matrix4x2.cs" />
|
|
<Compile Include="Math\Matrix4x2d.cs" />
|
|
<Compile Include="Math\Matrix4x3.cs" />
|
|
<Compile Include="Math\Matrix4x3d.cs" />
|
|
<Compile Include="Math\Point.cs" />
|
|
<Compile Include="Math\Quaternion.cs" />
|
|
<Compile Include="Math\Quaterniond.cs" />
|
|
<Compile Include="Math\Rectangle.cs" />
|
|
<Compile Include="Math\Size.cs" />
|
|
<Compile Include="Math\Vector2.cs" />
|
|
<Compile Include="Math\Vector2d.cs" />
|
|
<Compile Include="Math\Vector2h.cs" />
|
|
<Compile Include="Math\Vector3.cs" />
|
|
<Compile Include="Math\Vector3d.cs" />
|
|
<Compile Include="Math\Vector3h.cs" />
|
|
<Compile Include="Math\Vector4.cs" />
|
|
<Compile Include="Math\Vector4d.cs" />
|
|
<Compile Include="Math\Vector4h.cs" />
|
|
<Compile Include="Platform\DesktopGraphicsContext.cs" />
|
|
<Compile Include="Platform\DisplayDeviceBase.cs" />
|
|
<Compile Include="Platform\EmbeddedGraphicsContext.cs" />
|
|
<Compile Include="Platform\Factory.cs" />
|
|
<Compile Include="Platform\IDisplayDeviceDriver.cs" />
|
|
<Compile Include="Platform\IPlatformFactory.cs" />
|
|
<Compile Include="Platform\IWindowInfo.cs" />
|
|
<Compile Include="Platform\MappedGamePadDriver.cs" />
|
|
<Compile Include="Platform\NativeWindowBase.cs" />
|
|
<Compile Include="Platform\PlatformException.cs" />
|
|
<Compile Include="Platform\PlatformFactoryBase.cs" />
|
|
<Compile Include="Platform\Utilities.cs" />
|
|
<Compile Include="Platform\Dummy\DummyGLContext.cs" />
|
|
<Compile Include="Platform\Dummy\DummyWindowInfo.cs" />
|
|
<Compile Include="Platform\iPhoneOS\iPhoneFactory.cs" />
|
|
<Compile Include="Platform\iPhoneOS\iPhoneOSGameView.cs" />
|
|
<Compile Include="Platform\iPhoneOS\iPhoneOSGraphicsContext.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Platform\MacOS\NS.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="OpenTK.dll.config">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="OpenTK.iOS.csproj.paket.template" />
|
|
<None Include="paket.references" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="$(SolutionDir)\stylecop.json">
|
|
<Link>stylecop.json</Link>
|
|
</AdditionalFiles>
|
|
<AdditionalFiles Include="$(SolutionDir)\stylecop.ruleset">
|
|
<Link>stylecop.ruleset</Link>
|
|
</AdditionalFiles>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
<Target Name="AfterBuild">
|
|
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Debug\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -dllimport -debug" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Debug'" />
|
|
<Exec Command="$(OutputPath)..\..\..\..\Generator.Rewrite\bin\Release\Rewrite.exe $(OutputPath)OpenTK.dll ..\..\OpenTK.snk -dllimport" Condition="$(OS) == 'Windows_NT' and $(Configuration) == 'Release'" />
|
|
<Exec WorkingDirectory="$(SolutionDir)src/Generator.Rewrite/bin/Debug/" Command="mono ./Rewrite.exe $(SolutionDir)src/OpenTK/bin/Debug/iOS/OpenTK.dll $(SolutionDir)OpenTK.snk -dllimport -debug" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Debug'" />
|
|
<Exec WorkingDirectory="$(SolutionDir)src/Generator.Rewrite/bin/Release" Command="mono ./Rewrite.exe $(SolutionDir)src/OpenTK/bin/Release/iOS/OpenTK.dll $(SolutionDir)OpenTK.snk -dllimport" Condition="$(OS) != 'Windows_NT' and $(Configuration) == 'Release'" />
|
|
</Target>
|
|
<ItemGroup>
|
|
<Analyzer Include="..\..\packages\StyleCop.Analyzers\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll">
|
|
<Paket>True</Paket>
|
|
</Analyzer>
|
|
<Analyzer Include="..\..\packages\StyleCop.Analyzers\analyzers\dotnet\cs\StyleCop.Analyzers.dll">
|
|
<Paket>True</Paket>
|
|
</Analyzer>
|
|
</ItemGroup>
|
|
</Project> |