Skip to content

Commit

Permalink
move contracts and data to a Contracts assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdageek committed Sep 12, 2024
1 parent 69f134a commit 9aec4dd
Show file tree
Hide file tree
Showing 67 changed files with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
</PropertyGroup>

<ItemGroup Condition="false">
<Compile Include="$(LibrariesProjectRoot)Common\src\System\HResults.cs" Link="Common\System\HResults.cs" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Diagnostics.DataContractReader.Tests" />
<InternalsVisibleTo Include="Microsoft.Diagnostics.DataContractReader.Contracts" />
<InternalsVisibleTo Include="Microsoft.Diagnostics.DataContractReader" />
<InternalsVisibleTo Include="cdacreader" Condition="'$(TargetsWindows)' == 'true'"/>
<InternalsVisibleTo Include="libcdacreader" Condition="'$(TargetsWindows)' != 'true'"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
<RootNamespace>Microsoft.Diagnostics.DataContractReader</RootNamespace>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Do not produce a public package. This ships as part of the runtime -->
<IsShippingPackage>false</IsShippingPackage>
<InvariantGlobalization>true</InvariantGlobalization>
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="Microsoft.Diagnostics.DataContractReader.Tests" />
<InternalsVisibleTo Include="Microsoft.Diagnostics.DataContractReader" />
<InternalsVisibleTo Include="cdacreader" Condition="'$(TargetsWindows)' == 'true'"/>
<InternalsVisibleTo Include="libcdacreader" Condition="'$(TargetsWindows)' != 'true'"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Microsoft.Diagnostics.DataContractReader.Abstractions\Microsoft.Diagnostics.DataContractReader.Abstractions.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@

<ItemGroup>
<ProjectReference Include="..\Microsoft.Diagnostics.DataContractReader.Abstractions\Microsoft.Diagnostics.DataContractReader.Abstractions.csproj" />
<ProjectReference Include="..\Microsoft.Diagnostics.DataContractReader.Contracts\Microsoft.Diagnostics.DataContractReader.Contracts.csproj" />
</ItemGroup>
</Project>

0 comments on commit 9aec4dd

Please sign in to comment.