File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
src/packageSourceGenerator Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 79
79
GenerateReferencePackageSource;
80
80
GenerateTextOnlyPackageSource;
81
81
GeneratePackageProject;
82
- AddAttributes;
83
82
RewriteNuspec;
84
83
EndGeneratePackageSource;
85
84
InvokePackageDependencies" />
286
285
Importance =" high" />
287
286
</Target >
288
287
289
- <!-- Add SBRP attribute to CSharp file and copy to target directory. -->
290
- <UsingTask TaskName =" AddAttributes" AssemblyFile =" $(PackageSourceGeneratorTaskAssembly)" />
291
- <Target Name =" AddAttributes"
292
- Condition =" '@(PackageCompileItem)' != '' or '$(PackageType)' == 'text'" >
293
-
294
- <ItemGroup >
295
- <PackageCSharpFiles Include =" $(PackageTargetDirectory)**/*.cs" />
296
- </ItemGroup >
297
-
298
- <ItemGroup >
299
- <Attributes Include =" [assembly: System.Reflection.AssemblyMetadata(" source" , " source-build-reference-packages" )]" />
300
- </ItemGroup >
301
-
302
- <AddAttributes CSharpPaths =" @(PackageCSharpFiles)"
303
- Attributes =" @(Attributes)" />
304
-
305
- <Message Text =" $(MSBuildProjectName) -> @(PackageCSharpFiles)"
306
- Importance =" high" />
307
-
308
- </Target >
309
-
310
288
<!-- Rewrite nuspec and copy to target directory. -->
311
289
<UsingTask TaskName =" RewriteNuspec" AssemblyFile =" $(PackageSourceGeneratorTaskAssembly)" />
312
290
<Target Name =" RewriteNuspec"
You can’t perform that action at this time.
0 commit comments