1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 4.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <Import Project =" $(SolutionDir)\Build\SharpDX.PreSettings.targets" />
1+ <Project Sdk =" Microsoft.NET.Sdk" >
42 <PropertyGroup >
5- <ProductVersion >8.0.30703</ProductVersion >
6- <SchemaVersion >2.0</SchemaVersion >
7- <ProjectGuid >{D0BCD56A-41C4-4A4E-8590-26864CED07FF}</ProjectGuid >
8- <RootNamespace >SharpDX</RootNamespace >
9- <AssemblyName >SharpDX</AssemblyName >
3+ <TargetFrameworks >net45;netstandard1.1</TargetFrameworks >
104<!-- Disable FastUpToDate check in order to let VS to always run BeforeBuild.
115 Related to this issue http://connect.microsoft.com/VisualStudio/feedback/details/735718/visual-studio-2011-beta-is-incorrectly-building-solution-->
126 <DisableFastUpToDateCheck >true</DisableFastUpToDateCheck >
7+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
8+ <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
9+ <DebugType >full</DebugType >
10+ <DefineConstants >$(DefineConstants);DIRECTX11_1;DIRECTX11_2;DirectX12</DefineConstants >
11+
12+ <PackageId >SharpDX</PackageId >
13+ <PackageIconUrl >http://sharpdx.org/logo_100x100.png</PackageIconUrl >
14+ <PackageLicenseUrl >http://sharpdx.org/License.txt</PackageLicenseUrl >
15+ <PackageProjectUrl >http://sharpdx.org</PackageProjectUrl >
16+ <PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
17+ <PackageTags >SharpDX DirectX Direct3D Multimedia MDX 3D</PackageTags >
18+ <Title >SharpDX</Title >
19+ <Authors >Alexandre Mutel</Authors >
20+ <Owners >Alexandre Mutel</Owners >
21+ <Copyright >Copyright (c) 2010-2014 Alexandre Mutel</Copyright >
22+ <Description >Core assembly for all SharpDX assemblies.</Description >
1323 </PropertyGroup >
1424 <ItemGroup >
25+ <None Include =" Mapping-core.xml" />
26+ <None Include =" Direct3D\Mapping.xml" />
27+ <None Include =" Documentation\CodeComments.xml" />
28+ <None Include =" Mapping.xml" />
29+ <None Include =" Multimedia\Mapping.xml" />
30+ <None Include =" SharpDX.nuspec" />
1531 <Compile Include =" ..\SharedAssemblyInfo.cs" >
1632 <Link >Properties\SharedAssemblyInfo.cs</Link >
1733 </Compile >
18- <Compile Include =" Direct3D\CompilationException.cs" />
19- <Compile Include =" Direct3D\CompilationResultBase.cs" />
20- <Compile Include =" Mathematics\Interop\RawBox.cs" />
21- <Compile Include =" Mathematics\Interop\RawMatrix4x3.cs" />
22- <Compile Include =" Mathematics\Interop\RawMatrix5x4.cs" />
23- <Compile Include =" Mathematics\Interop\RawPlane.cs" />
24- <Compile Include =" Mathematics\Interop\RawBool.cs" />
25- <Compile Include =" Mathematics\Interop\RawBool4.cs" />
26- <Compile Include =" CallbackBase.cs" />
27- <Compile Include =" Collections\EqualityComparer.cs" />
28- <Compile Include =" Mathematics\Interop\RawColor3.cs" />
29- <Compile Include =" Mathematics\Interop\RawColor4.cs" />
30- <Compile Include =" Mathematics\Interop\RawColorBGRA.cs" />
31- <Compile Include =" DisposeEventArgs.cs" />
32- <Compile Include =" Direct3D\Blob.cs" />
33- <Compile Include =" Mathematics\Interop\RawInt3.cs" />
34- <Compile Include =" Mathematics\Interop\RawInt4.cs" />
35- <Compile Include =" Mathematics\Interop\RawMatrix.cs" />
36- <Compile Include =" Mathematics\Interop\RawMatrix3x2.cs" />
37- <Compile Include =" Mathematics\Interop\RawQuaternion.cs" />
38- <Compile Include =" Mathematics\Interop\RawRectangleF.cs" />
39- <Compile Include =" ModuleInit.cs" />
40- <Compile Include =" Mathematics\Interop\RawPoint.cs" />
41- <Compile Include =" Mathematics\Interop\RawRectangle.cs" />
42- <Compile Include =" Reflection\ObfuscationAttributes.cs" />
43- <Compile Include =" ComArray.cs" />
44- <Compile Include =" AssemblyDoc.cs" />
45- <Compile Include =" IInspectable.cs" />
46- <Compile Include =" InspectableShadow.cs" />
47- <Compile Include =" ServiceEventArgs.cs" />
48- <Compile Include =" DataPointer.cs" />
49- <Compile Include =" Diagnostics\NamespaceDoc.cs" />
50- <Compile Include =" Direct3D\NamespaceDoc.cs" />
51- <Compile Include =" DisposeCollector.cs" />
52- <Compile Include =" IO\NamespaceDoc.cs" />
53- <Compile Include =" Multimedia\AudioEndpointRole.cs" />
54- <Compile Include =" Multimedia\NamespaceDoc.cs" />
55- <Compile Include =" ShadowAttribute.cs" />
56- <Compile Include =" ResultDescriptor.cs" />
57- <Compile Include =" IO\NativeFile.cs" />
58- <Compile Include =" IO\NativeFileStream.cs" />
59- <Compile Include =" IO\NativeFileAccess.cs" />
60- <Compile Include =" IO\NativeFileOptions.cs" />
61- <Compile Include =" IO\NativeFileMode.cs" />
62- <Compile Include =" IO\NativeFileShare.cs" />
63- <Compile Include =" ShadowContainer.cs" />
64- <Compile Include =" ComBaseStreamNative.cs" />
65- <Compile Include =" ComObject.cs" />
66- <Compile Include =" ComObjectCallback.cs" />
67- <Compile Include =" ComObjectShadow.cs" />
68- <Compile Include =" Configuration.cs" />
69- <Compile Include =" CppObject.cs" />
70- <Compile Include =" CppObjectShadow.cs" />
71- <Compile Include =" CppObjectVtbl.cs" />
72- <Compile Include =" DataBox.cs" />
73- <Compile Include =" DataRectangle.cs" />
74- <Compile Include =" DataStream.cs" />
75- <Compile Include =" DataBuffer.cs" />
76- <Compile Include =" Diagnostics\ObjectReference.cs" />
77- <Compile Include =" Diagnostics\ObjectTracker.cs" />
78- <Compile Include =" DisposeBase.cs" />
79- <Compile Include =" FunctionCallback.cs" />
80- <Compile Include =" Generated\Direct3D\Enumerations.cs" />
81- <Compile Include =" Generated\Direct3D\Functions.cs" />
82- <Compile Include =" Generated\Direct3D\Interfaces.cs" />
83- <Compile Include =" Generated\Direct3D\Structures.cs" />
84- <Compile Include =" Generated\LocalInterop.cs" />
85- <Compile Include =" Generated\Multimedia\Enumerations.cs" />
86- <Compile Include =" Generated\Win32\Enumerations.cs" />
87- <Compile Include =" Generated\Win32\Functions.cs" />
88- <Compile Include =" Generated\Win32\Interfaces.cs" />
89- <Compile Include =" Generated\Win32\Structures.cs" />
90- <Compile Include =" ICallbackable.cs" />
91- <Compile Include =" Interop.cs" />
92- <Compile Include =" IUnknown.cs" />
93- <Compile Include =" Multimedia\SoundStream.cs" />
94- <Compile Include =" Multimedia\WaveFormatAdpcm.cs" />
95- <Compile Include =" Multimedia\FourCC.cs" />
96- <Compile Include =" Multimedia\RiffChunk.cs" />
97- <Compile Include =" Multimedia\RiffParser.cs" />
98- <Compile Include =" Multimedia\SpeakersExtensions.cs" />
99- <Compile Include =" Multimedia\WaveFormat.cs" />
100- <Compile Include =" Multimedia\WaveFormatExtensible.cs" />
101- <Compile Include =" NamespaceDoc.cs" />
102- <Compile Include =" Size2.cs" />
103- <Compile Include =" Size2F.cs" />
104- <Compile Include =" TagAttribute.cs" />
105- <Compile Include =" Text\ASCIIEncoding.cs" />
106- <Compile Include =" Text\NamespaceDoc.cs" />
107- <Compile Include =" Mathematics\Interop\RawVector2.cs" />
108- <Compile Include =" Mathematics\Interop\RawVector3.cs" />
109- <Compile Include =" Mathematics\Interop\RawVector4.cs" />
110- <Compile Include =" Mathematics\Interop\RawViewport.cs" />
111- <Compile Include =" Mathematics\Interop\RawViewportF.cs" />
112- <Compile Include =" Properties\AssemblyInfo.cs" />
113- <Compile Include =" Result.cs" />
114- <Compile Include =" Direct3D\ShaderMacro.cs" />
115- <Compile Include =" PointerSize.cs" />
116- <Compile Include =" SharpDXException.cs" />
117- <Compile Include =" Utilities.cs" />
118- <Compile Include =" Win32\BitmapInfoHeader.cs" />
119- <Compile Include =" Win32\ComStream.cs" />
120- <Compile Include =" Win32\ComStreamProxy.cs" />
121- <Compile Include =" Win32\ComStreamShadow.cs" />
122- <Compile Include =" Win32\ComStreamBaseShadow.cs" />
123- <Compile Include =" Win32\ErrorCode.cs" />
124- <Compile Include =" Win32\NamespaceDoc.cs" />
125- <Compile Include =" Win32\NativeMessage.cs" />
126- <Compile Include =" Win32\PropertyBag.cs" />
127- <Compile Include =" Win32\IStream.cs" />
128- <Compile Include =" Win32\IStreamBase.cs" />
129- <Compile Include =" Win32\PropertyBagKey.cs" />
130- <Compile Include =" Win32\ComStringEnumerator.cs" />
131- <Compile Include =" Win32\SecurityAttributes.cs" />
132- <Compile Include =" Win32\Variant.cs" />
133- <Compile Include =" Win32\VariantElementType.cs" />
134- <Compile Include =" Win32\VariantType.cs" />
135- </ItemGroup >
136- <ItemGroup >
137- <None Include =" Mapping-core.xml" >
138- <SubType >Designer</SubType >
139- </None >
140- <None Include =" Direct3D\Mapping.xml" >
141- <SubType >Designer</SubType >
142- </None >
143- <None Include =" Documentation\CodeComments.xml" />
144- <None Include =" Mapping.xml" >
145- <SubType >Designer</SubType >
146- </None >
147- <None Include =" Multimedia\Mapping.xml" >
148- <SubType >Designer</SubType >
149- </None >
150- <None Include =" SharpDX.nuspec" />
15134 </ItemGroup >
152- <ItemGroup />
153- <Import Project =" $(SolutionDir)\Build\SharpDX.PostSettings.targets" />
154- <Target Name =" BeforeBuild" >
35+
36+ <Target Name =" RunGenerator" BeforeTargets =" BeforeBuild" >
15537 <Exec Command =" " $(SolutionDir)Source\Tools\SharpGen\RunGenerator.bat" $(ConfigurationName)" />
15638 </Target >
157- <!--
158- To modify your build process, add your task inside one of the targets below and uncomment it.
159- Other similar extension points exist, see Microsoft.Common.targets.
160- <Target Name="AfterBuild">
39+ <Target Name =" PatchAssembly" AfterTargets =" AfterBuild" >
40+ <Exec Command =" " $(SolutionDir)\Source\Bin\SharpCLI.exe" " $(TargetPath)" " />
16141 </Target >
162- -->
16342</Project >