<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- Read Unity registry entries to find the Mono BleedingEdge install location --> <PropertyGroup> <UnityInstallReg5>$(registry:HKEY_CURRENT_USER\Software\Unity Technologies\Installer\Unity@Location x64)</UnityInstallReg5> <UnityInstallReg4>$(registry:HKEY_CURRENT_USER\Software\Unity Technologies\Unity Editor 3.x\Location)</UnityInstallReg4> </PropertyGroup> <!-- Unity 3 and 4 --> <PropertyGroup Condition="'$(UnityInstallReg5)' != '' " > <MonoBleedingEdge>$(UnityInstallReg5)\Editor\Data\MonoBleedingEdge</MonoBleedingEdge> <MonoMdbGenerator>$(MonoBleedingEdge)\lib\mono\4.5\pdb2mdb.exe</MonoMdbGenerator> <MonoCLI>$(MonoBleedingEdge)\bin\cli.bat</MonoCLI> </PropertyGroup> <!-- Unity 5 --> <PropertyGroup Condition="'$(UnityInstallReg4)' != '' And '$(UnityInstallReg5)' == '' "> <UnityInstallFolder4>$([System.IO.Path]::GetDirectoryName($(UnityInstallReg4)))</UnityInstallFolder4> <UnityInstallFolder>$([System.IO.Path]::GetDirectoryName($(UnityInstallFolder4)))</UnityInstallFolder> <MonoBleedingEdge>$(UnityInstallFolder)\Editor\Data\MonoBleedingEdge</MonoBleedingEdge> <MonoMdbGenerator>$(MonoBleedingEdge)\lib\mono\4.0\pdb2mdb.exe</MonoMdbGenerator> <MonoCLI>$(MonoBleedingEdge)\bin\cli.bat</MonoCLI> </PropertyGroup> <!-- Registry entries don't seem to work in EC builds, so we hard-wire the mono location --> <PropertyGroup Condition="'$(ECBUILD)' == 'true' "> <UnityInstallFolder>c:\Program Files (x86)\Unity</UnityInstallFolder> <MonoBleedingEdge>$(UnityInstallFolder)\Editor\Data\MonoBleedingEdge</MonoBleedingEdge> <MonoMdbGenerator>$(MonoBleedingEdge)\lib\mono\4.0\pdb2mdb.exe</MonoMdbGenerator> <MonoCLI>$(MonoBleedingEdge)\bin\cli.bat</MonoCLI> </PropertyGroup> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>8.0.30703</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{1305ABF0-EEA0-464F-99D5-7FD5BE5E4956}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>Perforce.P4</RootNamespace> <AssemblyName>p4api.net</AssemblyName> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <UseMono>false</UseMono> <TargetFrameworkProfile> </TargetFrameworkProfile> </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> <DocumentationFile>..\bin\Debug\p4api.net.xml</DocumentationFile> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </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> <DocumentationFile>..\bin\Release\p4api.net.xml</DocumentationFile> <PlatformTarget>x86</PlatformTarget> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> <DebugSymbols>true</DebugSymbols> <OutputPath>..\bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <DocumentationFile>..\bin\Debug\p4api.net.XML</DocumentationFile> <DebugType>full</DebugType> <PlatformTarget>x64</PlatformTarget> <ErrorReport>prompt</ErrorReport> <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> <OutputPath>..\bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <DocumentationFile>..\bin\Release\p4api.net.XML</DocumentationFile> <Optimize>true</Optimize> <DebugType>pdbonly</DebugType> <PlatformTarget>x64</PlatformTarget> <ErrorReport>prompt</ErrorReport> <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> <CodeAnalysisFailOnMissingRules>true</CodeAnalysisFailOnMissingRules> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> <DebugSymbols>true</DebugSymbols> <OutputPath>..\..\bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <DocumentationFile>..\..\bin\Debug\p4api.net.XML</DocumentationFile> <DebugType>full</DebugType> <PlatformTarget>x86</PlatformTarget> <ErrorReport>prompt</ErrorReport> <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> <OutputPath>..\..\bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <DocumentationFile>..\..\bin\Release\p4api.net.XML</DocumentationFile> <Optimize>true</Optimize> <DebugType>pdbonly</DebugType> <PlatformTarget>x86</PlatformTarget> <ErrorReport>prompt</ErrorReport> <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> <CodeAnalysisFailOnMissingRules>true</CodeAnalysisFailOnMissingRules> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup> <SignAssembly>true</SignAssembly> </PropertyGroup> <PropertyGroup> <AssemblyOriginatorKeyFile>MyKey.snk</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnitTest|AnyCPU'"> <OutputPath>bin\UnitTest\</OutputPath> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnitTest|x64'"> <OutputPath>bin\x64\UnitTest\</OutputPath> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnitTest|x86'"> <OutputPath>bin\x86\UnitTest\</OutputPath> <NoWarn>1591,1572,1571,1573,1587,1570</NoWarn> </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Core" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="BridgeInterfaceClasses.cs" /> <Compile Include="Debug.cs" /> <Compile Include="errors\clientmain.cs" /> <Compile Include="errors\clientservice.cs" /> <Compile Include="errors\mergetest.cs" /> <Compile Include="errors\msgclient.cs" /> <Compile Include="errors\msgdb.cs" /> <Compile Include="errors\msgdm.cs" /> <Compile Include="errors\msghelp.cs" /> <Compile Include="errors\msglbr.cs" /> <Compile Include="errors\msgos.cs" /> <Compile Include="errors\msgrpc.cs" /> <Compile Include="errors\msgserver.cs" /> <Compile Include="errors\msgspec.cs" /> <Compile Include="errors\msgsupp.cs" /> <Compile Include="Repository.ServerMetaData.cs" /> <Compile Include="P4CommandResult.cs" /> <Compile Include="BranchSpec.cs" /> <Compile Include="Changelist.cs" /> <Compile Include="Client.cs" /> <Compile Include="ClientMetadata.cs" /> <Compile Include="Connection.cs" /> <Compile Include="Credential.cs" /> <Compile Include="Depot.cs" /> <Compile Include="DepotFileDiff.cs" /> <Compile Include="Repository.BranchSpec.cs" /> <Compile Include="Repository.ClientMetadata.cs" /> <Compile Include="Repository.Job.cs" /> <Compile Include="Group.cs" /> <Compile Include="Repository.Depot.cs" /> <Compile Include="Repository.Group.cs" /> <Compile Include="Repository.Changelist.cs" /> <Compile Include="Counter.cs" /> <Compile Include="File.cs" /> <Compile Include="FileAnnotation.cs" /> <Compile Include="FileHistory.cs" /> <Compile Include="FileIntegrationRecord.cs" /> <Compile Include="FileLineMatch.cs" /> <Compile Include="FileMetaData.cs" /> <Compile Include="FileResolveRecord.cs" /> <Compile Include="FileSpec.cs" /> <Compile Include="FileType.cs" /> <Compile Include="P4Server.internal.cs" /> <Compile Include="LogFile.cs" /> <Compile Include="P4Server.cs" /> <Compile Include="P4Bridge.cs" /> <Compile Include="P4Command.cs" /> <Compile Include="P4Exception.cs" /> <Compile Include="P4MapApi.cs" /> <Compile Include="Fix.cs" /> <Compile Include="FormBase.cs" /> <Compile Include="FormSpec.cs" /> <Compile Include="Job.cs" /> <Compile Include="Label.cs" /> <Compile Include="Options.cs" /> <Compile Include="PathSpec.cs" /> <Compile Include="ProtectionEntry.cs" /> <Compile Include="ProtectionTable.cs" /> <Compile Include="Repository.Client.cs" /> <Compile Include="Repository.cs" /> <Compile Include="Repository.Label.cs" /> <Compile Include="Repository.Stream.cs" /> <Compile Include="Repository.User.cs" /> <Compile Include="Server.cs" /> <Compile Include="Stream.cs" /> <Compile Include="StreamMetaData.cs" /> <Compile Include="StringEnum.cs" /> <Compile Include="SubmitResults.cs" /> <Compile Include="TriggerTable.cs" /> <Compile Include="TypeMap.cs" /> <Compile Include="User.cs" /> <Compile Include="VersionSpec.cs" /> <Compile Include="ViewMap.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="StringList.cs" /> <Compile Include="TaggedObject.cs" /> </ItemGroup> <ItemGroup> <None Include="MyKey.snk" /> <None Include="packages.config" /> </ItemGroup> <ItemGroup> <WCFMetadata Include="Service References\" /> </ItemGroup> <ItemGroup /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Target Name="BeforeBuild" BeforeTargets="PrepareForBuild"> <Message Text="reading Asset path from $(MSBuildProjectDirectory)\..\AssetTarget.txt" /> <ItemGroup> <AssetTargetFile Include="$(MSBuildProjectDirectory)\..\AssetTarget.txt" /> </ItemGroup> <ReadLinesFromFile File="@(AssetTargetFile)"> <Output TaskParameter="Lines" PropertyName="AssetTargetLong" /> </ReadLinesFromFile> <PropertyGroup> <AssetTarget>$(MSBuildProjectDirectory)\..\$(AssetTargetLong)</AssetTarget> </PropertyGroup> <Message Text="AssetTarget now initialized to:$(AssetTarget)" /> </Target> <!-- Copy the Assets to the AssetTarget Directory --> <Target Name="AfterBuild"> <Message Text="Copying p4api.net. to $(AssetTarget)\P4Connect\Editor" /> <Exec Command="xcopy /Y/R/f $(TargetDir)p4api.net.* $(AssetTarget)\P4Connect\Editor\" IgnoreExitCode="true" /> <CallTarget Targets="GenerateMonoSymbols" Condition=" Exists('$(OutputPath)\$(AssemblyName).pdb')" /> </Target> <Target Name="GenerateMonoSymbols" DependsOnTargets="GenerateMonoSymbols13; GenerateMonoSymbols14" /> <!-- Visual Studio 2015 is currently incompatible with the MonoBleedingEdge shipped with Unity --> <Target Name="GenerateMonoSymbols14" Condition=" '$(VisualStudioVersion)' >= '14.0' "> <Message Text="Visual Studio 2015 is incompatible with Unity pdb2mdb. skipping symbol generation." Importance="high" /> </Target> <!-- Generate Mono symbols from the pdb file --> <Target Name="GenerateMonoSymbols13" Condition=" '$(VisualStudioVersion)' < '14.0' "> <Message Text="VisualStudioVersion is: $(VisualStudioVersion)" Importance="High" /> <Message Text="UnityInstallReg5 is: |$(UnityInstallReg5)|" Importance="High" /> <Message Text="UnityInstallReg4 is: |$(UnityInstallReg4)|" Importance="High" /> <Message Text="MonoBleedingEdge is: $(MonoBleedingEdge)" Importance="High"/> <Message Text="$(ProjectName) -> $(TargetPath).mdb" Importance="High" /> <Exec Command=""$(MonoCLI)" "$(MonoMdbGenerator)" $(AssemblyName).dll" WorkingDirectory="$(MSBuildProjectDirectory)\$(OutputPath)" /> </Target> </Project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18970 | rtande |
Merging //guest/perforce_software/p4connect/main/src/... to //rtande/p4connect/main/src/... |
||
//guest/perforce_software/p4connect/main/src/P4Bridge/p4api.net/p4api.net.vs13.csproj | |||||
#1 | 16209 | Norman Morse | Move entire source tree into "main" branch so workshop code will act correctly. | ||
//guest/perforce_software/p4connect/src/P4Bridge/p4api.net/p4api.net.vs13.csproj | |||||
#8 | 16163 | Norman Morse |
Import latest changes from 2015.2/1245676 Fixes disconnect issue on "run" Fixes SSL versioning problem on OSX Added VS2015 support to project files |
||
#7 | 16130 | Norman Morse | Fixed bug in Generating Mono Symbols | ||
#6 | 16006 | Norman Morse | integrated changes from internal build | ||
#5 | 12362 | Norman Morse |
Added Debug Logging for p4log Fixed some path comparison issues. Created a CaseSensitivity test |
||
#4 | 12135 | Norman Morse |
Integrate dev branch changes into main. This code is the basiis of the 2.7 BETA release which provides Unity 5 compatibility |
||
#3 | 11447 | Norman Morse | Updates from internal main, moved to workshop | ||
#2 | 11376 | Norman Morse |
Project and Solution updates. Change AssetTarget.txt files to use relative paths. |
||
#1 | 11239 | Norman Morse | Sample Unity project for debugging P4Connect using VS2013 | ||
//guest/norman_morse/dev/p4connect/src/P4Bridge/p4api.net/p4api.net.vs13.csproj | |||||
#3 | 11170 | Norman Morse | Fixed 2013 build | ||
#2 | 11131 | Norman Morse | Fixed vs2013 build and AssetTarget files | ||
#1 | 11121 | Norman Morse | Visual Studio 2013 projects and solutions |