File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed
Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1414 <!-- Cratis -->
1515 <PackageVersion Include =" Cratis.Fundamentals" Version =" 7.7.1" />
1616 <PackageVersion Include =" Cratis.Metrics.Roslyn" Version =" 7.7.1" />
17- <PackageVersion Include =" Cratis.Arc" Version =" 19.6.6 " />
18- <PackageVersion Include =" Cratis.Arc.Core" Version =" 19.6.6 " />
19- <PackageVersion Include =" Cratis.Arc.MongoDB" Version =" 19.6.6 " />
20- <PackageVersion Include =" Cratis.Arc.ProxyGenerator.Build" Version =" 19.6.6 " />
21- <PackageVersion Include =" Cratis.Arc.Swagger" Version =" 19.6.6 " />
17+ <PackageVersion Include =" Cratis.Arc" Version =" 19.6.7 " />
18+ <PackageVersion Include =" Cratis.Arc.Core" Version =" 19.6.7 " />
19+ <PackageVersion Include =" Cratis.Arc.MongoDB" Version =" 19.6.7 " />
20+ <PackageVersion Include =" Cratis.Arc.ProxyGenerator.Build" Version =" 19.6.7 " />
21+ <PackageVersion Include =" Cratis.Arc.Swagger" Version =" 19.6.7 " />
2222 <!-- Microsoft -->
2323 <PackageVersion Include =" Microsoft.SourceLink.GitHub" Version =" 10.0.103" />
2424 <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 10.0.3" />
Original file line number Diff line number Diff line change 4848 <ItemGroup >
4949 <PrivatePackageAssembly Include =" $(ContractsImplementationAssembly)" />
5050 </ItemGroup >
51+
52+ <!--
53+ Packaging fix: Cratis.Chronicle.Infrastructure.dll ships in lib/ because of the PrivateAssets=all
54+ ProjectReference above, but the SDK only emits Cratis.Chronicle.dll in ref/. Consumers that compile
55+ against the ref assembly fail with CS0012 when the compiler encounters types from Infrastructure
56+ (e.g. PropertyPath used on IReadModelPropertiesBuilder.Set). Including the dll in ref/ as well fixes
57+ this without changing the runtime behaviour.
58+ -->
59+ <Target Name =" IncludeInfrastructureInRefFolder" BeforeTargets =" _GetTfmSpecificContentForPackage" >
60+ <ItemGroup >
61+ <TfmSpecificPackageFile Include =" $(TargetDir)Cratis.Chronicle.Infrastructure.dll"
62+ PackagePath =" ref/$(TargetFramework)/" />
63+ </ItemGroup >
64+ </Target >
5165</Project >
You can’t perform that action at this time.
0 commit comments