File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 66
66
<VersionDependsOn >SilkShippingControl;$(VersionDependsOn)</VersionDependsOn >
67
67
<PackageVersionDependsOn >SilkShippingControl;$(PackageVersionDependsOn)</PackageVersionDependsOn >
68
68
<TargetsForTfmSpecificContentInPackage >SilkNativePackaging;$(TargetsForTfmSpecificContentInPackage)</TargetsForTfmSpecificContentInPackage >
69
+ <GenerateNuspecDependsOn >SilkShippingControl;$(GenerateNuspecDependsOn)</GenerateNuspecDependsOn >
70
+ </PropertyGroup >
71
+
72
+ <!-- SourceLink -->
73
+ <PropertyGroup Condition =" '$(SilkSourceLinkExempt)' == '' and '$(SilkNativePackage)' != 'true' and '$(SilkMetapackage)' != 'true'" >
74
+ <DebugType >portable</DebugType >
75
+ <EmbedAllSources >true</EmbedAllSources >
76
+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
77
+ <IncludeSymbols >true</IncludeSymbols >
78
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
69
79
</PropertyGroup >
70
80
</Project >
Original file line number Diff line number Diff line change 139
139
</UsingTask >
140
140
141
141
<Target Name =" SilkShippingControl" BeforeTargets =" BeforeBuild" >
142
- <!-- SourceLink -->
143
- <PropertyGroup Condition =" '$(SilkSourceLinkExempt)' == '' and '$(SilkNativePackage)' != 'true' and '$(SilkMetapackage)' != 'true'" >
144
- <DebugType >portable</DebugType >
145
- <EmbedAllSources >true</EmbedAllSources >
146
- <EmbedUntrackedSources >true</EmbedUntrackedSources >
147
- <IncludeSymbols >true</IncludeSymbols >
148
- <SymbolPackageFormat >snupkg</SymbolPackageFormat >
149
- </PropertyGroup >
150
-
151
142
<!-- Non-C# packages (i.e. metapackages, natives) -->
152
143
<PropertyGroup Condition =" '$(SilkNativePackage)' == 'true' or '$(SilkMetapackage)' == 'true'" >
153
144
<IncludeBuildOutput Condition =" '$(SilkNativeHasAndroidJars)' != 'true'" >false</IncludeBuildOutput >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
+ <!-- NOTE: Multitargeting here will be a PITA due to the references to TFM below -->
4
5
<TargetFramework >net8.0</TargetFramework >
5
6
<ImplicitUsings >enable</ImplicitUsings >
6
7
<Nullable >enable</Nullable >
9
10
<ItemGroup >
10
11
<Compile Remove =" Silk.NET.Core.cs" />
11
12
<None Include =" FodyWeavers.xml" />
12
- <Content Include =" Silk.NET.Core.cs" />
13
- <Content Include =" Silk.NET.Core.targets" PackagePath =" build\$(TargetFramework)\$(PackageId).targets" />
13
+ <None Include =" Silk.NET.Core.cs " Pack = " true " PackagePath = " build\$(TargetFramework)\ Silk.NET.Core.cs" />
14
+ <None Include =" Silk.NET.Core.targets" Pack = " true " PackagePath =" build\$(TargetFramework)\$(PackageId).targets" />
14
15
</ItemGroup >
15
16
16
17
<ItemGroup >
You can’t perform that action at this time.
0 commit comments