|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFrameworks>net471;net6.0</TargetFrameworks> |
| 3 | + <TargetFramework>net471</TargetFramework> |
4 | 4 | <OutputType>Library</OutputType> |
5 | 5 | <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
6 | 6 | <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> |
| 7 | + </PropertyGroup> |
| 8 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| 9 | + <OutputPath>bin\Debug</OutputPath> |
| 10 | + <DefineConstants>DEBUG;</DefineConstants> |
7 | 11 | <LangVersion>latest</LangVersion> |
8 | | - <RunPostBuildEvent>Always</RunPostBuildEvent> |
9 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
10 | | - <ProduceReferenceAssembly>false</ProduceReferenceAssembly> |
11 | 12 | </PropertyGroup> |
12 | | - |
13 | | - <PropertyGroup Condition=" '$(TargetFramework)' == 'net471' "> |
14 | | - <OutputPath>bin\$(Configuration)</OutputPath> |
| 13 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 14 | + <OutputPath>bin\Release</OutputPath> |
| 15 | + <LangVersion>latest</LangVersion> |
15 | 16 | </PropertyGroup> |
16 | | - |
17 | | - <PropertyGroup Condition=" '$(TargetFramework)' != 'net471' "> |
18 | | - <OutputPath>bin\$(Configuration)-$(TargetFramework)</OutputPath> |
| 17 | + <PropertyGroup> |
| 18 | + <RunPostBuildEvent>Always</RunPostBuildEvent> |
| 19 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
19 | 20 | </PropertyGroup> |
20 | | - |
21 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'net471' "> |
| 21 | + <ItemGroup> |
22 | 22 | <Reference Include="mdoc.Test.Cplusplus, Version=1.0.6709.28740, Culture=neutral, processorArchitecture=x86"> |
23 | 23 | <SpecificVersion>False</SpecificVersion> |
24 | 24 | <HintPath>..\..\external\Test\mdoc.Test.Cplusplus.dll</HintPath> |
|
37 | 37 | <HintPath>..\..\external\Windows\Windows.Foundation.UniversalApiContract.winmd</HintPath> |
38 | 38 | </Reference> |
39 | 39 | </ItemGroup> |
40 | | - |
41 | 40 | <ItemGroup> |
42 | 41 | <PackageReference Include="Mono.Cecil" Version="$(NuGetVersionMonoCecil)" /> |
43 | | - <PackageReference Include="Newtonsoft.Json" Version="$(NuGetVersionNewtonsoftJson)" /> |
44 | 42 | <PackageReference Include="NUnit" Version="$(NuGetVersionNUnit)" /> |
45 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(NuGetVersionMicrosoftNETTestSdk)" /> |
46 | | - <PackageReference Include="NUnit3TestAdapter" Version="$(NuGetVersionNUnit3TestAdapter)" /> |
| 43 | + <PackageReference Include="NUnit3TestAdapter" Version="$(NuGetVersionNUnit3TestAdapter)" /> |
47 | 44 | </ItemGroup> |
48 | | - |
49 | 45 | <ItemGroup> |
50 | 46 | <None Update="cppcli\cppcli\cppcli.h"> |
51 | 47 | <Link>SampleClasses\cppcli.h</Link> |
|
0 commit comments