This repository has been archived by the owner on Apr 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create SourceLink.Embed.AllSourceFiles nupkg #205 * updated readme for embedding * only portable or embedded * updated known issues
- Loading branch information
Showing
8 changed files
with
135 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
SourceLink.Embed.AllSourceFiles/SourceLink.Embed.AllSourceFiles.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard1.4</TargetFramework> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
</PropertyGroup> | ||
<ItemGroup Label="dotnet pack instructions"> | ||
<Content Include="SourceLink.Embed.AllSourceFiles.targets"> | ||
<Pack>true</Pack> | ||
<PackagePath>build</PackagePath> | ||
</Content> | ||
</ItemGroup> | ||
</Project> |
13 changes: 13 additions & 0 deletions
13
SourceLink.Embed.AllSourceFiles/SourceLink.Embed.AllSourceFiles.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<BuildDependsOn Condition="$(DebugType) == 'portable' or $(DebugType) == 'embedded'">EmbedAllSourceFiles;$(BuildDependsOn)</BuildDependsOn> | ||
</PropertyGroup> | ||
<Target Name="EmbedAllSourceFiles"> | ||
<ItemGroup> | ||
<EmbeddedFiles Include="$([System.IO.Path]::GetFullPath('%(Compile.Identity)'))" /> | ||
</ItemGroup> | ||
<CreateProperty Value="@(EmbeddedFiles)"> | ||
<Output TaskParameter="Value" PropertyName="embed" /> | ||
</CreateProperty> | ||
</Target> | ||
</Project> |
12 changes: 12 additions & 0 deletions
12
SourceLink.Embed.PaketFiles/SourceLink.Embed.PaketFiles.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard1.4</TargetFramework> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
</PropertyGroup> | ||
<ItemGroup Label="dotnet pack instructions"> | ||
<Content Include="SourceLink.Embed.PaketFiles.targets"> | ||
<Pack>true</Pack> | ||
<PackagePath>build</PackagePath> | ||
</Content> | ||
</ItemGroup> | ||
</Project> |
14 changes: 14 additions & 0 deletions
14
SourceLink.Embed.PaketFiles/SourceLink.Embed.PaketFiles.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<BuildDependsOn Condition="$(DebugType) == 'portable' or $(DebugType) == 'embedded'">EmbedPaketFiles;$(BuildDependsOn)</BuildDependsOn> | ||
</PropertyGroup> | ||
<Target Name="EmbedPaketFiles"> | ||
<ItemGroup> | ||
<EmbeddedFiles Include="$([System.IO.Path]::GetFullPath('%(Compile.Identity)'))" | ||
Condition="$([System.String]::Copy('%(Identity)').Contains('paket-files'))" /> | ||
</ItemGroup> | ||
<CreateProperty Value="@(EmbeddedFiles)"> | ||
<Output TaskParameter="Value" PropertyName="embed" /> | ||
</CreateProperty> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters