2020-07-30 12:22:33 -07:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion= "15.0" DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project= "..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props" Condition= "Exists('..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props')" />
<Import Project= "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition= "Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
2020-08-05 00:04:18 -07:00
<Import Project= "..\..\Version.props" />
2020-07-30 12:22:33 -07:00
<!-- We don't have GenerateAssemblyInfo task until we use .net core, so we generate it with WriteLinesToFile -->
<PropertyGroup >
<AssemblyTitle > interop-tests</AssemblyTitle>
<AssemblyCompany > Microsoft Corp.</AssemblyCompany>
<AssemblyCopyright > Copyright (C) 2020 Microsoft Corp.</AssemblyCopyright>
</PropertyGroup>
<ItemGroup >
<AssemblyVersionFiles Include= "Generated Files\AssemblyInfo.cs" />
</ItemGroup>
<Target Name= "GenerateAssemblyInfo" BeforeTargets= "PrepareForBuild" >
<ItemGroup >
<HeaderLines Include= "// Copyright (c) Microsoft Corporation" />
<HeaderLines Include= "// The Microsoft Corporation licenses this file to you under the MIT license." />
<HeaderLines Include= "// See the LICENSE file in the project root for more information." />
<HeaderLines Include= "#pragma warning disable SA1516" />
<HeaderLines Include= "using System.Reflection%3b" />
<HeaderLines Include= "using System.Runtime.InteropServices%3b" />
<HeaderLines Include= "using System.Windows%3b" />
<HeaderLines Include= "[assembly: AssemblyTitle("$(AssemblyTitle)")]" />
<HeaderLines Include= "[assembly: AssemblyDescription("")]" />
<HeaderLines Include= "[assembly: AssemblyConfiguration("")]" />
<HeaderLines Include= "[assembly: AssemblyCompany("$(AssemblyCompany)")]" />
<HeaderLines Include= "[assembly: AssemblyCopyright("$(AssemblyCopyright)")]" />
<HeaderLines Include= "[assembly: AssemblyProduct("$(AssemblyTitle)")]" />
<HeaderLines Include= "[assembly: AssemblyTrademark("")]" />
<HeaderLines Include= "[assembly: AssemblyCulture("")]" />
<HeaderLines Include= "[assembly: ComVisible(false)]" />
<HeaderLines Include= "[assembly: AssemblyVersion("$(Version).0")]" />
<HeaderLines Include= "[assembly: AssemblyFileVersion("$(Version).0")]" />
</ItemGroup>
<WriteLinesToFile File= "Generated Files\AssemblyInfo.cs" Lines= "@(HeaderLines)" Overwrite= "true" Encoding= "Unicode" WriteOnlyWhenDifferent= "true" />
</Target>
<PropertyGroup >
<Configuration Condition= " '$(Configuration)' == '' " > Debug</Configuration>
<Platform Condition= " '$(Platform)' == '' " > AnyCPU</Platform>
<ProjectGuid > {437AD818-3F1F-4CA5-A79B-25233A157026}</ProjectGuid>
<OutputType > Library</OutputType>
<AppDesignerFolder > Properties</AppDesignerFolder>
<RootNamespace > Microsoft.Interop.Tests</RootNamespace>
<AssemblyName > Microsoft.Interop.Tests</AssemblyName>
<TargetFrameworkVersion > v4.7.2</TargetFrameworkVersion>
<FileAlignment > 512</FileAlignment>
<ProjectTypeGuids > {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition= "'$(VisualStudioVersion)' == ''" > 15.0</VisualStudioVersion>
<VSToolsPath Condition= "'$(VSToolsPath)' == ''" > $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ReferencePath > $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
<IsCodedUITest > False</IsCodedUITest>
<TestProjectType > UnitTest</TestProjectType>
<NuGetPackageImportStamp >
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Debug|x64'" >
<DebugSymbols > true</DebugSymbols>
<OutputPath > bin\x64\Debug\</OutputPath>
<DefineConstants > DEBUG;TRACE</DefineConstants>
<DebugType > full</DebugType>
<PlatformTarget > x64</PlatformTarget>
<LangVersion > 7.3</LangVersion>
<ErrorReport > prompt</ErrorReport>
<CodeAnalysisRuleSet > MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Release|x64'" >
<OutputPath > bin\x64\Release\</OutputPath>
<DefineConstants > TRACE</DefineConstants>
<Optimize > true</Optimize>
<DebugType > pdbonly</DebugType>
<PlatformTarget > x64</PlatformTarget>
<LangVersion > 7.3</LangVersion>
<ErrorReport > prompt</ErrorReport>
<CodeAnalysisRuleSet > MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
2020-08-17 13:11:40 -07:00
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Debug|x64'" >
<TreatWarningsAsErrors > true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)'=='Release|x64'" >
<TreatWarningsAsErrors > true</TreatWarningsAsErrors>
</PropertyGroup>
2020-07-30 12:22:33 -07:00
<ItemGroup >
<Reference Include= "Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
<HintPath > ..\..\..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
</Reference>
<Reference Include= "Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
<HintPath > ..\..\..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
</Reference>
<Reference Include= "System" />
<Reference Include= "System.Core" />
</ItemGroup>
<ItemGroup >
<Compile Include= "..\..\codeAnalysis\GlobalSuppressions.cs" >
<Link > GlobalSuppressions.cs</Link>
</Compile>
<Compile Include= "InteropTests.cs" />
<Compile Include= "Generated Files\AssemblyInfo.cs" >
<SubType > Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup >
<AdditionalFiles Include= "..\..\codeAnalysis\StyleCop.json" >
<Link > StyleCop.json</Link>
</AdditionalFiles>
<None Include= "packages.config" />
</ItemGroup>
<ItemGroup >
2020-09-16 12:26:58 -07:00
<PackageReference Include= "Microsoft.CodeAnalysis.FxCopAnalyzers" >
<Version > 3.3.0</Version>
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets > all</PrivateAssets>
</PackageReference>
2020-07-30 12:22:33 -07:00
<PackageReference Include= "StyleCop.Analyzers" >
<Version > 1.1.118</Version>
<IncludeAssets > runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets > all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\interop\interop.vcxproj" >
<Project > {f055103b-f80b-4d0c-bf48-057c55620033}</Project>
<Name > interop</Name>
</ProjectReference>
</ItemGroup>
<Import Project= "$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition= "Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project= "$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name= "EnsureNuGetPackageBuildImports" BeforeTargets= "PrepareForBuild" >
<PropertyGroup >
<ErrorText > This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition= "!Exists('..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props'))" />
<Error Condition= "!Exists('..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets')" Text= "$([System.String]::Format('$(ErrorText)', '..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets'))" />
</Target>
<Import Project= "..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets" Condition= "Exists('..\..\..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets')" />
2020-04-23 17:11:02 -07:00
</Project>