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.
msbuild full framework support (#166)
* add net461 for msbuild full framework #164 * fixed index out of bounds with print-json when missing * this will be 2.0.2 * IntermediateOutputPath * IntermediateOutputPath
- Loading branch information
Showing
14 changed files
with
127 additions
and
142 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
35 changes: 0 additions & 35 deletions
35
SourceLink.Create.GitHub/SourceLink.Create.GitHub.Core.targets
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
<Project> | ||
<Import Condition="'$(MSBuildRuntimeType)' == 'Core'" Project="SourceLink.Create.GitHub.Core.targets" /> | ||
<PropertyGroup> | ||
<SourceLinkCreateGitHubDll Condition="'$(MSBuildRuntimeType)' == 'Core'">netstandard1.4\SourceLink.Create.GitHub.dll</SourceLinkCreateGitHubDll> | ||
<SourceLinkCreateGitHubDll Condition="'$(MSBuildRuntimeType)' != 'Core'">net461\SourceLink.Create.GitHub.dll</SourceLinkCreateGitHubDll> | ||
</PropertyGroup> | ||
<UsingTask TaskName="SourceLink.Create.GitHub.CreateTask" AssemblyFile="$(SourceLinkCreateGitHubDll)" /> | ||
|
||
<PropertyGroup> | ||
<!-- enable only in CI environments by default --> | ||
<!-- enable on AppVeyor and Travis CI, detect CI environment variable --> | ||
<SourceLinkCreate Condition="'$(SourceLinkCreate)' == ''">$(CI)</SourceLinkCreate> | ||
<!-- enable on Jenkins and TeamCity, detect BUILD_NUMBER environment variable --> | ||
<SourceLinkCreate Condition="'$(SourceLinkCreate)' == '' and '$(BUILD_NUMBER)' != ''">true</SourceLinkCreate> | ||
<CompileDependsOn Condition="'$(SourceLinkCreate)' == 'true' and ($(DebugType) == 'portable' or $(DebugType) == 'embedded')">SourceLinkCreate;$(CompileDependsOn)</CompileDependsOn> | ||
<SourceLinkRepo Condition="'$(SourceLinkRepo)' == ''">$(MSBuildProjectDirectory)</SourceLinkRepo> | ||
<SourceLinkFile Condition="'$(SourceLinkFile)' == ''">$(SourceLink)</SourceLinkFile> | ||
<SourceLinkFile Condition="'$(SourceLinkFile)' == ''">$(IntermediateOutputPath)sourcelink.json</SourceLinkFile> | ||
<SourceLinkNotInGit Condition="'$(SourceLinkNotInGit)' == ''">embed</SourceLinkNotInGit> | ||
<SourceLinkHashMismatch Condition="'$(SourceLinkHashMismatch)' == ''">embed</SourceLinkHashMismatch> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<SourceLinkSources Condition="'@(SourceLinkSources)' == ''" Include="@(Compile)" Exclude="@(EmbeddedFiles)" /> | ||
</ItemGroup> | ||
|
||
<Target Name="SourceLinkCreate"> | ||
<SourceLink.Create.GitHub.CreateTask | ||
GitDirectory="$(SourceLinkGitDirectory)" | ||
Url="$(SourceLinkUrl)" | ||
File="$(SourceLinkFile)" | ||
Sources="@(SourceLinkSources)" | ||
NoAutoLF="$(SourceLinkNoAutoLF)" | ||
EmbeddedFilesIn="@(EmbeddedFiles)"> | ||
<Output PropertyName="SourceLink" TaskParameter="SourceLink" /> | ||
<Output ItemName="EmbeddedFiles" TaskParameter="EmbeddedFiles" /> | ||
</SourceLink.Create.GitHub.CreateTask> | ||
</Target> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
<Project> | ||
<Import Condition="'$(MSBuildRuntimeType)' == 'Core'" Project="SourceLink.Test.Core.targets" /> | ||
<PropertyGroup> | ||
<SourceLinkTestDll Condition="'$(MSBuildRuntimeType)' == 'Core'">netstandard1.4\SourceLink.Test.dll</SourceLinkTestDll> | ||
<SourceLinkTestDll Condition="'$(MSBuildRuntimeType)' != 'Core'">net461\SourceLink.Test.dll</SourceLinkTestDll> | ||
</PropertyGroup> | ||
<UsingTask TaskName="SourceLink.Test.TestTask" AssemblyFile="$(SourceLinkTestDll)" /> | ||
|
||
<PropertyGroup> | ||
<!-- enable only in CI environments by default --> | ||
<!-- enable on AppVeyor and Travis CI, detect CI environment variable --> | ||
<SourceLinkTest Condition="'$(SourceLinkTest)' == ''">$(CI)</SourceLinkTest> | ||
<!-- enable on Jenkins and TeamCity, detect BUILD_NUMBER environment variable --> | ||
<SourceLinkTest Condition="'$(SourceLinkTest)' == '' and '$(BUILD_NUMBER)' != ''">true</SourceLinkTest> | ||
<CompileDependsOn Condition="'$(SourceLinkTest)' == 'true' and ($(DebugType) == 'portable' or $(DebugType) == 'embedded')">$(CompileDependsOn);SourceLinkTest</CompileDependsOn> | ||
<SourceLinkPdb Condition="'$(SourceLinkPdb)' == ''">$(PdbFile)</SourceLinkPdb> | ||
<SourceLinkPdb Condition="'$(SourceLinkPdb)' == '' and $(DebugType) == 'portable'">$(IntermediateOutputPath)$(TargetName).pdb</SourceLinkPdb> | ||
<SourceLinkPdb Condition="'$(SourceLinkPdb)' == '' and $(DebugType) == 'embedded'">$(IntermediateOutputPath)$(TargetName).dll</SourceLinkPdb> | ||
</PropertyGroup> | ||
|
||
<Target Name="SourceLinkTest"> | ||
<SourceLink.Test.TestTask Pdb="$(SourceLinkPdb)" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project> | ||
<PropertyGroup> | ||
|
||
<Authors>Cameron Taggart</Authors> | ||
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl> | ||
<PackageIconUrl>https://ctaggart.github.io/SourceLink/SourceLink128.jpg</PackageIconUrl> | ||
<PackageProjectUrl>https://github.com/ctaggart/SourceLink</PackageProjectUrl> | ||
<PackageTags>sourcelink pdb symbols git sourceindexing debugging sourceserver build</PackageTags> | ||
<Description> | ||
SourceLink: Source Code On Demand | ||
Source Link your Portable PDB files to allow source code to be downloaded on demand | ||
</Description> | ||
|
||
<DebugType>embedded</DebugType> | ||
|
||
</PropertyGroup> | ||
</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
Oops, something went wrong.