Skip to content

Commit 700ab50

Browse files
authored
Merge pull request #381 from yatli/master
update cmake and msbuild files
2 parents 956f334 + db5ceae commit 700ab50

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed

CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ ADD_SUBDIRECTORY(src/Trinity.Core)
3939
ADD_SUBDIRECTORY(src/Modules/LIKQ)
4040

4141
ADD_DOTNET(
42-
src/Modules/DataImporter/GraphEngine.DataImporter.sln
42+
src/Modules/DataImporter/GraphEngine.DataImporter/GraphEngine.DataImporter.csproj
43+
VERSION ${TRINITY_VERSION}
4344
PACKAGE GraphEngine.DataImporter
4445
DEPENDS GraphEngine.Core)
45-
46+
TEST_DOTNET(
47+
src/Modules/DataImporter/GraphEngine.DataImporter.UnitTest/GraphEngine.DataImporter.UnitTest.csproj
48+
DEPENDS GraphEngine.DataImporter
49+
ARGUMENTS -- RunConfiguration.TargetPlatform=x64 RunConfiguration.MaxCpuCount=1)
4650
# The following Modules are Unsupported, provided as-is.
4751

4852
# ADD_SUBDIRECTORY(src/Modules/Unsupported/Storage.Composite)

src/Modules/DataImporter/GraphEngine.DataImporter/GraphEngine.DataImporter.csproj

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,31 @@
1515
<ItemGroup>
1616
<TslCodegen Include="TSLGeneratorMetadata.tsl" />
1717
</ItemGroup>
18+
<!-- NuGet package metadata -->
19+
<PropertyGroup>
20+
<Authors>Microsoft Graph Engine Team</Authors>
21+
<Description>GraphEngine data importer.</Description>
22+
<Copyright>Copyright 2022</Copyright>
23+
<Company>Microsoft Corporation</Company>
24+
25+
<Version>$(DOTNET_PACKAGE_VERSION)</Version>
26+
<AssemblyVersion>$(DOTNET_PACKAGE_VERSION)</AssemblyVersion>
27+
<FileVersion>$(DOTNET_PACKAGE_VERSION)</FileVersion>
28+
<PackageVersion>$(DOTNET_PACKAGE_VERSION)</PackageVersion>
29+
30+
<PackageId>GraphEngine.DataImporter</PackageId>
31+
<PackageTags>Graph Engine Trinity Data Importer</PackageTags>
32+
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
33+
<PackageProjectUrl>https://www.graphengine.io</PackageProjectUrl>
34+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
35+
<PackageIcon>logo-64x64.png</PackageIcon>
36+
<RepositoryUrl>https://github.com/Microsoft/GraphEngine</RepositoryUrl>
37+
<RepositoryType>git</RepositoryType>
38+
<NoWarn>CS0660,CS0661,CS0612,CS1668</NoWarn>
39+
</PropertyGroup>
40+
41+
<ItemGroup>
42+
<None Include="..\..\..\..\LICENSE.txt" Pack="true" PackagePath="LICENSE.txt"/>
43+
<None Include="..\..\..\..\resources\logo-64x64.png" Pack="true" PackagePath="logo-64x64.png"/>
44+
</ItemGroup>
1845
</Project>

src/Trinity.TSL/Trinity.TSL.CodeTemplates/Trinity.TSL.CodeTemplates.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,12 @@
99
<ItemGroup>
1010
<ProjectReference Include="../../Trinity.Core/Trinity.Core.csproj" />
1111
</ItemGroup>
12+
13+
<!-- Package dependencies -->
14+
<ItemGroup>
15+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
16+
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
17+
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="7.0.0" />
18+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="6.0.6" />
19+
</ItemGroup>
1220
</Project>

0 commit comments

Comments
 (0)