File tree Expand file tree Collapse file tree 9 files changed +39
-5
lines changed Expand file tree Collapse file tree 9 files changed +39
-5
lines changed Original file line number Diff line number Diff line change 3838 - name : Test net8
3939 run : dotnet test -c $app_conf --no-build -f net8.0
4040 - name : Pack
41- run : dotnet pack -c $app_conf -o `pwd`/artifacts -p:Version=$app_version -p:InformationalVersion="$app_version:$GITHUB_SHA" -p:CommitSHA=$GITHUB_SHA
41+ run : dotnet pack -c $app_conf -o `pwd`/artifacts -p:AddPackDeps=true -p: Version=$app_version -p:InformationalVersion="$app_version:$GITHUB_SHA" -p:CommitSHA=$GITHUB_SHA
4242 - uses : actions/upload-artifact@v4
4343 with :
4444 name : artifacts
Original file line number Diff line number Diff line change 1515 <PackageReference Include =" Microsoft.Extensions.Caching.Memory" Version =" 3.1.32" />
1616 <PackageReference Include =" System.Text.Json" Version =" 6.0.9" />
1717 </ItemGroup >
18+ <ItemGroup Condition =" '$(AddPackDeps)' == 'true'" >
19+ <PackageReference Include =" AspectInjector" Version =" $(Version)" >
20+ <IncludeAssets >All</IncludeAssets >
21+ <ExcludeAssets >build</ExcludeAssets >
22+ </PackageReference >
23+ </ItemGroup >
1824
1925</Project >
Original file line number Diff line number Diff line change 1717 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
1818 <OutputItemType>Analyzer</OutputItemType>
1919 </ProjectReference> -->
20- </ItemGroup >
21-
20+ </ItemGroup >
2221
2322 <!-- <ItemGroup>
2423 <Analyzer Include="$(MSBuildThisFileDirectory)..\..\src\AspectInjector.Analyzer\bin\Debug\netstandard2.0\AspectInjector.Analyzer.dll" />
Original file line number Diff line number Diff line change 66Powered by AspectInjector.</Description >
77 <PackageProjectUrl >https://github.com/pamidur/aspect-injector/tree/master/samples/src/Freezable</PackageProjectUrl >
88 </PropertyGroup >
9+ <ItemGroup Condition =" '$(AddPackDeps)' == 'true'" >
10+ <PackageReference Include =" AspectInjector" Version =" $(Version)" >
11+ <IncludeAssets >All</IncludeAssets >
12+ <ExcludeAssets >build</ExcludeAssets >
13+ </PackageReference >
14+ </ItemGroup >
915</Project >
Original file line number Diff line number Diff line change 88 </Description >
99 <PackageProjectUrl >https://github.com/pamidur/aspect-injector/tree/master/samples/src/Lazy</PackageProjectUrl >
1010 </PropertyGroup >
11+ <ItemGroup Condition =" '$(AddPackDeps)' == 'true'" >
12+ <PackageReference Include =" AspectInjector" Version =" $(Version)" >
13+ <IncludeAssets >All</IncludeAssets >
14+ <ExcludeAssets >build</ExcludeAssets >
15+ </PackageReference >
16+ </ItemGroup >
1117
1218</Project >
Original file line number Diff line number Diff line change 1111 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 3.1.32" />
1212 <PackageReference Include =" Microsoft.Extensions.Logging.Console" Version =" 3.1.32" />
1313 </ItemGroup >
14+ <ItemGroup Condition =" '$(AddPackDeps)' == 'true'" >
15+ <PackageReference Include =" AspectInjector" Version =" $(Version)" >
16+ <IncludeAssets >All</IncludeAssets >
17+ <ExcludeAssets >build</ExcludeAssets >
18+ </PackageReference >
19+ </ItemGroup >
1420</Project >
Original file line number Diff line number Diff line change 66Powered by AspectInjector.</Description >
77 <PackageProjectUrl >https://github.com/pamidur/aspect-injector/tree/master/samples/src/Notify</PackageProjectUrl >
88 </PropertyGroup >
9+ <ItemGroup Condition =" '$(AddPackDeps)' == 'true'" >
10+ <PackageReference Include =" AspectInjector" Version =" $(Version)" >
11+ <IncludeAssets >All</IncludeAssets >
12+ <ExcludeAssets >build</ExcludeAssets >
13+ </PackageReference >
14+ </ItemGroup >
915</Project >
Original file line number Diff line number Diff line change 88 </Description >
99 <PackageProjectUrl >https://github.com/pamidur/aspect-injector/tree/master/samples/src/Universal</PackageProjectUrl >
1010 </PropertyGroup >
11-
11+ <ItemGroup Condition =" '$(AddPackDeps)' == 'true'" >
12+ <PackageReference Include =" AspectInjector" Version =" $(Version)" >
13+ <IncludeAssets >All</IncludeAssets >
14+ <ExcludeAssets >build</ExcludeAssets >
15+ </PackageReference >
16+ </ItemGroup >
1217</Project >
Original file line number Diff line number Diff line change 11<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
22
33 <UsingTask Condition =" '$(AspectInjector_Location)' != ''" TaskName =" AspectInjectorTask" AssemblyFile =" $(AspectInjector_Location)" />
4- <UsingTask Condition =" '$(AspectInjector_Location)' == ''" TaskName =" AspectInjectorTask" AssemblyFile =" (MSBuildThisFileDirectory)../../binaries/AspectInjector.dll" />
4+ <UsingTask Condition =" '$(AspectInjector_Location)' == ''" TaskName =" AspectInjectorTask" AssemblyFile =" $ (MSBuildThisFileDirectory)../../binaries/AspectInjector.dll" />
55
66 <ItemGroup >
77 <PackageReference Update =" AspectInjector" PrivateAssets =" None" />
You can’t perform that action at this time.
0 commit comments