Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions ArchUnitNETTests/ArchUnitNETTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<DefineConstants>$(DefineConstants);WINDOWS</DefineConstants>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ArchUnitNET.xUnit\ArchUnitNET.xUnit.csproj" />
<ProjectReference Include="..\TestAssemblies\InterfaceAssembly\InterfaceAssembly.csproj" />
Expand Down Expand Up @@ -37,18 +40,19 @@
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>
<ItemGroup>
<None Update="Dependencies\cpplib\CppDllTest.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="Domain\PlantUml\zzz_test_version_with_errors.puml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Dependencies\cpplib\" />
<Folder Include="Fluent\Syntax\Elements\Snapshots\" />
</ItemGroup>
<ItemGroup>
<!-- Windows-only C++/CLI dependency -->
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<None Update="Dependencies\cpplib\CppDllTest.dll">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<Folder Include="Dependencies\cpplib\" />
<Reference Include="CppDllTest">
<HintPath>Dependencies\cpplib\CppDllTest.dll</HintPath>
</Reference>
Expand Down
2 changes: 2 additions & 0 deletions ArchUnitNETTests/Dependencies/CppDependenciesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace ArchUnitNETTests.Dependencies
{
#if WINDOWS
public class CppDependenciesTests
{
private static readonly Architecture Architecture = new ArchLoader()
Expand All @@ -26,6 +27,7 @@ internal class CppExampleClassUser
{
CppExampleClass _cppExampleClass = new CppExampleClass();
}
#endif

/*
* C++/CLI code contains the next .h .cpp content
Expand Down
Loading