This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Sdk test projects #19044
Merged
Merged
Sdk test projects #19044
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4140407
Only include Build.Common.targets when using buildtools
chsienki 76761ac
Move some dir.targets into a diffent file so we can exclude them for …
chsienki 607e202
Add Directory.Build.{targets, props} that redirect to dirs.{props, ta…
chsienki d73cbbe
Rename nosdk targets file, and import it when neccesary
chsienki c67eed2
Remove code task factory: generate the param list using msbuild synta…
chsienki 268daa3
Force tests to have .exe extension rather than dll when they are exec…
chsienki f21f691
Fix dir.targets build imports so that we correctly include buildtools…
chsienki b4eaddb
Always include the nobuild targets if we're a run only project
chsienki 78c81c3
Remove runtime references in override.targets when referencing System…
chsienki c5ad714
Add comments to Directory.Build.props,targets to explain usage
chsienki c7b6171
Split out nobuild and runonlybuild into two targets files to make the…
chsienki 095cbc2
Rename runonlybuild.targets
chsienki da2da0d
Fix for SDK projects referencing system.private.corelib
chsienki d126d93
Fix build for vs2015
chsienki d36ca7d
Add dummy directory.build.props/targets to common folder to prevent t…
chsienki 99e828a
Bring in sdkprops if the project is an sdk project
chsienki 740db6d
Build sdk projects as netcoreapp3.0
chsienki 17fbebd
Change the way we fixup references for system.private.corlib referenc…
chsienki 6ff88b7
Pass the myget feed to the wrapper restore directly, rather than rely…
chsienki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
1 change: 1 addition & 0 deletions
1
tests/src/Common/Coreclr.TestWrapper/Coreclr.TestWrapper.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
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,8 @@ | ||
<Project> | ||
<!-- | ||
Common files don't take part in the root tests\src\Directory.Build.props | ||
This file prevents them from including it as it gets included in its place | ||
If they ever need to take part, we can conditionally include them as documented | ||
here https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build#directorybuildprops-and-directorybuildtargets | ||
--> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Project> | ||
<!-- | ||
Common files don't take part in the root tests\src\Directory.Build.targets | ||
This file prevents them from including it as it gets included in its place | ||
If they ever need to take part, we can conditionally include them as documented | ||
here https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build#directorybuildprops-and-directorybuildtargets | ||
--> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project> | ||
<!-- SDK Style projects auto-magically include this file. | ||
We include the dir.props for them here so they partake in the old | ||
style of build without them needing to explicitly include anything --> | ||
<Import Project="dir.props" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project> | ||
<!-- SDK Style projects auto-magically include this file. | ||
We include the dir.targets for them here so they partake in the old | ||
style of build without them needing to explicitly include anything --> | ||
<Import Project="dir.targets" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" /> | ||
</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,8 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Target Name="CreateManifestResourceNames" /> | ||
<Target Name="Compile" /> | ||
<Target Name="CoreCompile" /> | ||
<Target Name="Build" /> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Target Name="CreateManifestResourceNames" /> | ||
<Target Name="Compile" /> | ||
<Target Name="CoreCompile" /> | ||
|
||
<!-- if this is a RunOnly project that has been scheduled to build, make the output directory and build any dependent projects --> | ||
<Target Name="Build" Condition="('$(CLRTestKind)'=='RunOnly') And '$(_WillCLRTestProjectBuild)'"> | ||
<MSBuild Projects="@(ProjectReference)" /> | ||
<MakeDir ContinueOnError="false" Directories="$(OutputPath)" /> | ||
</Target> | ||
|
||
</Project> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember the default behavior of this, but does the
MakeDir
task consider a directory that already exists an error?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It continues if it already exists: the docs aren't clear, but looking at the code you can see it just does nothing if it's already there.
This is actually moved code from before, so the behavior should stay the same as previously.