Replaced the old VS templates with ones that offer more flexiblity. Started replacing the Content Project for the samples with our custom project type. Inlcuded a basic not yet working AssimpImporter.
216 lines
10 KiB
XML
216 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>10.0.20506</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<RootNamespace>Microsoft.VisualStudio.Project.Samples.CustomProject</RootNamespace>
|
|
<AssemblyName>Microsoft.VisualStudio.Project.Samples.CustomProject</AssemblyName>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
|
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
|
<ProjectGuid>{F4ADEBDB-CD20-4532-B4E3-FE7424F5369C}</ProjectGuid>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>4.0</OldToolsVersion>
|
|
<UpgradeBackupLocation>
|
|
</UpgradeBackupLocation>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<SccProjectName>SAK</SccProjectName>
|
|
<SccLocalPath>SAK</SccLocalPath>
|
|
<SccAuxPath>SAK</SccAuxPath>
|
|
<SccProvider>SAK</SccProvider>
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
<TargetFrameworkProfile />
|
|
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<DocumentationFile>
|
|
</DocumentationFile>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<RunCodeAnalysis>true</RunCodeAnalysis>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
<Reference Include="envdte100, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="envdte90, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Build.Engine" />
|
|
<Reference Include="Microsoft.Build.Tasks.v4.0" />
|
|
<Reference Include="Microsoft.VisualStudio.Designer.Interfaces, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
<Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
<Reference Include="Microsoft.VisualStudio.Shell.Interop" />
|
|
<Reference Include="Microsoft.VisualStudio.Shell.Interop.11.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0" />
|
|
<Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0" />
|
|
<Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0">
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<SpecificVersion>True</SpecificVersion>
|
|
</Reference>
|
|
<Reference Include="Microsoft.VisualStudio.Shell.11.0" />
|
|
<Reference Include="Microsoft.VisualStudio.TextManager.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
<Reference Include="WindowsBase" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Attributes\LocDisplayNameAttribute.cs" />
|
|
<Compile Include="Attributes\ResourcesCategoryAttribute.cs" />
|
|
<Compile Include="Attributes\ResourcesDescriptionAttribute.cs" />
|
|
<Compile Include="GeneralPropertyPage.cs" />
|
|
<Compile Include="MyCustomProjectAutomation.cs" />
|
|
<Compile Include="MyCustomProjectFactory.cs" />
|
|
<Compile Include="MyCustomProjectFileNode.cs" />
|
|
<Compile Include="MyCustomProjectNode.cs" />
|
|
<Compile Include="GuidStrings.cs" />
|
|
<Compile Include="GlobalSuppressions.cs" />
|
|
<Compile Include="CustomProjectPackage.cs" />
|
|
<Compile Include="Resources.cs" />
|
|
<None Include="extension.vsixmanifest">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
<None Include="Templates\ProjectItems\MyCustomProject\Class.cs" />
|
|
<None Include="Templates\Projects\MyCustomProject\AssemblyInfo.cs" />
|
|
<None Include="Templates\Projects\MyCustomProject\Program.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Resources.resx">
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="VSPackage.resx">
|
|
<MergeWithCTO>true</MergeWithCTO>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Resources\MyCustomProjectImageList.bmp" />
|
|
<None Include="source.extension.vsixmanifest" />
|
|
<Content Include="Templates\Projects\MyCustomProject\MyCustomProject.ico" />
|
|
<None Include="Key.snk" />
|
|
<None Include="Templates\Projects\MyCustomProject\MyCustomProject.myproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.VisualBasic.PowerPacks.10.0">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft Visual Basic PowerPacks 10.0</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
|
<Visible>False</Visible>
|
|
<ProductName>Windows Installer 3.1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<!-- This import the files which makes up the project base classes -->
|
|
<PropertyGroup>
|
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
</PropertyGroup>
|
|
<Import Project="..\..\..\..\Src\CSharp\ProjectBase.Files" />
|
|
<PropertyGroup>
|
|
<!--
|
|
To specify a different registry root to register your package, uncomment the TargetRegistryRoot
|
|
tag and specify a registry root in it.
|
|
<TargetRegistryRoot></TargetRegistryRoot>
|
|
-->
|
|
<RegisterOutputPackage>true</RegisterOutputPackage>
|
|
<RegisterWithCodebase>true</RegisterWithCodebase>
|
|
</PropertyGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
|
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets" Condition="false" />
|
|
<!-- 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>
|
|
-->
|
|
<PropertyGroup>
|
|
<CopyPkgDefDependsOn>$(CopyPkgDefDependsOn);FixPkgdefTarget</CopyPkgDefDependsOn>
|
|
</PropertyGroup>
|
|
<Target Name="FixPkgdefTarget">
|
|
<FixPkgdef PkgdefPath="$(MSBuildProjectDirectory)\$(IntermediateOutputPath)$(TargetName).pkgdef" />
|
|
</Target>
|
|
<UsingTask TaskName="FixPkgdef" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
|
|
<ParameterGroup>
|
|
<PkgdefPath ParameterType="System.String" Required="true" />
|
|
</ParameterGroup>
|
|
<Task>
|
|
<Using Namespace="System" />
|
|
<Using Namespace="System.IO" />
|
|
<Code Type="Fragment" Language="cs"><![CDATA[
|
|
// Replace all "$PackageFolder$" with the actual path in the pkgdef
|
|
String content = File.ReadAllText(PkgdefPath);
|
|
String dllPath = Path.GetDirectoryName(PkgdefPath);
|
|
content = content.Replace("$PackageFolder$", dllPath);
|
|
File.WriteAllText(PkgdefPath, content);
|
|
]]></Code>
|
|
</Task>
|
|
</UsingTask>
|
|
</Project> |