1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+ <PropertyGroup >
5+ <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6+ <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7+ <ProjectGuid >{074CCED5-52D1-4CB3-94D8-B8B117D452E1}</ProjectGuid >
8+ <OutputType >Library</OutputType >
9+ <AppDesignerFolder >Properties</AppDesignerFolder >
10+ <RootNamespace >Maya2Babylon</RootNamespace >
11+ <AssemblyName >Maya2Babylon</AssemblyName >
12+ <TargetFrameworkVersion >v4.8</TargetFrameworkVersion >
13+ <FileAlignment >512</FileAlignment >
14+ <TargetFrameworkProfile />
15+ </PropertyGroup >
16+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17+ <DebugSymbols >true</DebugSymbols >
18+ <DebugType >full</DebugType >
19+ <Optimize >false</Optimize >
20+ <OutputPath >bin\Debug\</OutputPath >
21+ <DefineConstants >TRACE;DEBUG;MAYA2023</DefineConstants >
22+ <ErrorReport >prompt</ErrorReport >
23+ <WarningLevel >4</WarningLevel >
24+ <PlatformTarget >AnyCPU</PlatformTarget >
25+ </PropertyGroup >
26+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
27+ <DebugType >pdbonly</DebugType >
28+ <Optimize >true</Optimize >
29+ <OutputPath >bin\Release\2023\</OutputPath >
30+ <DefineConstants >TRACE</DefineConstants >
31+ <ErrorReport >prompt</ErrorReport >
32+ <WarningLevel >4</WarningLevel >
33+ <PlatformTarget >x64</PlatformTarget >
34+ </PropertyGroup >
35+ <ItemGroup >
36+ <Reference Include =" GDImageLibrary" >
37+ <HintPath >Refs\GDImageLibrary.dll</HintPath >
38+ </Reference >
39+ <Reference Include =" Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
40+ <SpecificVersion >False</SpecificVersion >
41+ <HintPath >Refs\Newtonsoft.Json.dll</HintPath >
42+ </Reference >
43+ <Reference Include =" openmayacs" >
44+ <HintPath >Refs\2023\openmayacs.dll</HintPath >
45+ <Private >False</Private >
46+ </Reference >
47+ <Reference Include =" System" />
48+ <Reference Include =" System.Core" />
49+ <Reference Include =" System.Drawing" />
50+ <Reference Include =" System.Runtime.Serialization" />
51+ <Reference Include =" System.Web" />
52+ <Reference Include =" System.Windows.Forms" />
53+ <Reference Include =" System.Xml.Linq" />
54+ <Reference Include =" System.Data.DataSetExtensions" />
55+ <Reference Include =" Microsoft.CSharp" />
56+ <Reference Include =" System.Data" />
57+ <Reference Include =" System.Net.Http" />
58+ <Reference Include =" System.Xml" />
59+ <Reference Include =" TargaImage" >
60+ <HintPath >Refs\TargaImage.dll</HintPath >
61+ </Reference >
62+ <Reference Include =" TQ.Texture" >
63+ <HintPath >Refs\TQ.Texture.dll</HintPath >
64+ </Reference >
65+ </ItemGroup >
66+ <ItemGroup >
67+ <Compile Include =" BabylonExportActionItem.cs" />
68+ <Compile Include =" Exporter\BabylonExporter.CustomAttributes.cs" />
69+ <Compile Include =" Exporter\BabylonExporter.Material.Optimiser.cs" />
70+ <Compile Include =" Exporter\BabylonExporter.Camera.cs" />
71+ <Compile Include =" Exporter\BabylonExporter.Light.cs" />
72+ <Compile Include =" Exporter\BabylonExporter.Material.cs" />
73+ <Compile Include =" Exporter\BabylonExporter.Animation.cs" />
74+ <Compile Include =" Exporter\BabylonExporter.Mesh.cs" />
75+ <Compile Include =" Exporter\BabylonExporter.Node.cs" />
76+ <Compile Include =" Exporter\BabylonExporter.Skeleton.cs" />
77+ <Compile Include =" Exporter\BabylonExporter.Texture.cs" />
78+ <Compile Include =" Exporter\BabylonExporter.Writer.cs" />
79+ <Compile Include =" Exporter\BabylonExporter.Logger.cs" />
80+ <Compile Include =" Exporter\BabylonExporter.cs" />
81+ <Compile Include =" Exporter\AnimationGroup.cs" />
82+ <Compile Include =" Exporter\GlobalVertex.cs" />
83+ <Compile Include =" Exporter\GLTFGlobalVertex.cs" />
84+ <Compile Include =" Exporter\BabylonExporter.Material.Duplication.cs" />
85+ <Compile Include =" Exporter\MaterialDuplicationData.cs" />
86+ <Compile Include =" Exporter\PluginNodes\babylonAiStandardSurfaceMaterialNode.cs" />
87+ <Compile Include =" Exporter\PluginNodes\babylonMaterialNodeBase.cs" />
88+ <Compile Include =" Exporter\PluginNodes\babylonMPxNode.cs" />
89+ <Compile Include =" Exporter\PluginNodes\babylonStandardMaterialNode.cs" />
90+ <Compile Include =" Exporter\PluginNodes\babylonStingrayPBSMaterialNode.cs" />
91+ <Compile Include =" Extensions\ColorExtension.cs" />
92+ <Compile Include =" Extensions\MColorExtension.cs" />
93+ <Compile Include =" Extensions\MFloatVectorExtension.cs" />
94+ <Compile Include =" Extensions\MFloatPointExtension.cs" />
95+ <Compile Include =" Extensions\MFnDependencyNodeExtension.cs" />
96+ <Compile Include =" Extensions\MMatrixExtension.cs" />
97+ <Compile Include =" Extensions\MPlugExtension.cs" />
98+ <Compile Include =" Extensions\MPointExtension.cs" />
99+ <Compile Include =" Extensions\MVectorExtension.cs" />
100+ <Compile Include =" Extensions\MTransformationMatrixExtension.cs" />
101+ <Compile Include =" Forms\ExporterForm.cs" >
102+ <SubType >Form</SubType >
103+ </Compile >
104+ <Compile Include =" Forms\ExporterForm.Designer.cs" >
105+ <DependentUpon >ExporterForm.cs</DependentUpon >
106+ </Compile >
107+ <Compile Include =" Exporter\GLTFBufferService.cs" />
108+ <Compile Include =" Forms\AnimationForm.cs" >
109+ <SubType >Form</SubType >
110+ </Compile >
111+ <Compile Include =" Forms\AnimationForm.Designer.cs" >
112+ <DependentUpon >AnimationForm.cs</DependentUpon >
113+ </Compile >
114+ <Compile Include =" Forms\AnimationGroupControl.cs" >
115+ <SubType >UserControl</SubType >
116+ </Compile >
117+ <Compile Include =" Forms\AnimationGroupControl.Designer.cs" >
118+ <DependentUpon >AnimationGroupControl.cs</DependentUpon >
119+ </Compile >
120+ <Compile Include =" Loader.cs" />
121+ <Compile Include =" MayaPlugin.cs" />
122+ <Compile Include =" Properties\AssemblyInfo.cs" />
123+ <Compile Include =" Properties\Resources.Designer.cs" >
124+ <AutoGen >True</AutoGen >
125+ <DesignTime >True</DesignTime >
126+ <DependentUpon >Resources.resx</DependentUpon >
127+ </Compile >
128+ <Compile Include =" Tools\Tools.cs" />
129+ <Compile Include =" Tools\WebServer.cs" />
130+ </ItemGroup >
131+ <ItemGroup >
132+ <Folder Include =" Refs\" />
133+ </ItemGroup >
134+ <ItemGroup >
135+ <WCFMetadata Include =" Connected Services\" />
136+ </ItemGroup >
137+ <ItemGroup >
138+ <EmbeddedResource Include =" Forms\AnimationForm.resx" >
139+ <DependentUpon >AnimationForm.cs</DependentUpon >
140+ </EmbeddedResource >
141+ <EmbeddedResource Include =" Forms\AnimationGroupControl.resx" >
142+ <DependentUpon >AnimationGroupControl.cs</DependentUpon >
143+ </EmbeddedResource >
144+ <EmbeddedResource Include =" Forms\ExporterForm.resx" >
145+ <DependentUpon >ExporterForm.cs</DependentUpon >
146+ </EmbeddedResource >
147+ <EmbeddedResource Include =" Properties\Resources.resx" >
148+ <Generator >ResXFileCodeGenerator</Generator >
149+ <LastGenOutput >Resources.Designer.cs</LastGenOutput >
150+ <SubType >Designer</SubType >
151+ </EmbeddedResource >
152+ </ItemGroup >
153+ <ItemGroup >
154+ <None Include =" Resources\maya_exporter_logo.jpg" />
155+ </ItemGroup >
156+ <ItemGroup >
157+ <None Include =" Resources\MayaExporter.png" />
158+ </ItemGroup >
159+ <Import Project =" ..\SharedProjects\BabylonFileConverter\BabylonFileConverter.projitems" Label =" Shared" />
160+ <Import Project =" ..\SharedProjects\GltfExport.Entities\GltfExport.Entities.projitems" Label =" Shared" />
161+ <Import Project =" ..\SharedProjects\Utilities\Extensions.projitems" Label =" Shared" />
162+ <Import Project =" ..\SharedProjects\Babylon2GLTF\Babylon2GLTF.projitems" Label =" Shared" />
163+ <Import Project =" ..\SharedProjects\BabylonExport.Entities\BabylonExport.Entities.projitems" Label =" Shared" />
164+ <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
165+ <PropertyGroup >
166+ <PostBuildEvent >setlocal enabledelayedexpansion
167+
168+ SET configurationName=$(ConfigurationName)
169+ ECHO %25configurationName%25
170+
171+ if not exist "$(SolutionDir)assemblies" mkdir "$(SolutionDir)assemblies"
172+ if not exist "$(SolutionDir)assemblies\2023" mkdir "$(SolutionDir)assemblies\2023"
173+ copy "$(TargetDir)*.dll" "$(SolutionDir)assemblies\2023\"
174+ del "$(SolutionDir)assemblies\2023\$(TargetName).dll"
175+ copy "$(TargetPath)" "$(SolutionDir)assemblies\2023\$(TargetName).nll.dll"
176+ if exist "D:\Programmes\Autodesk\Maya2023\bin\plug-ins\" copy "$(SolutionDir)assemblies\2023\*.dll" "D:\Programmes\Autodesk\Maya2023\bin\plug-ins\"
177+ if exist "C:\Program Files\Autodesk\Maya2023\bin\plug-ins\" copy "$(SolutionDir)assemblies\2023\*.dll" "C:\Program Files\Autodesk\Maya2023\bin\plug-ins\"
178+
179+ IF "%25configurationName%25"=="Debug" GOTO DebugOnMaya
180+ GOTO Close
181+
182+ :DebugOnMaya
183+ if exist "C:\Program Files\Autodesk\Maya2023\bin\maya.exe" START /d "C:\Program Files\Autodesk\Maya2023\bin" maya.exe
184+ GOTO Close
185+
186+ :Close
187+ PAUSE
188+ EXIT</PostBuildEvent >
189+ </PropertyGroup >
190+ <PropertyGroup >
191+ <PreBuildEvent >setlocal enabledelayedexpansion
192+
193+ SET configurationName=$(ConfigurationName)
194+ ECHO %25configurationName%25
195+
196+ IF "%25configurationName%25"=="Debug" GOTO OnDebug
197+ GOTO Close
198+
199+ :OnDebug
200+ taskkill /im maya.exe /f /fi "STATUS eq RUNNING"
201+
202+ :Close
203+ PAUSE
204+ EXIT</PreBuildEvent >
205+ </PropertyGroup >
206+ </Project >
0 commit comments