-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Move obj and bin directories into repo root #10063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 15 commits
3c3561a
6a12e2a
c8a554d
7c211da
a1034a4
ab087df
f93c3e2
99438a5
a7ce724
7c5f497
f21d58c
0b62097
74f62da
aa7719b
5323709
586c772
9c822ec
a0650a2
3cadb5e
58c165d
b492882
ef39232
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,42 @@ | ||
# Folders | ||
artifacts/ | ||
bin/ | ||
obj/ | ||
.dotnet/ | ||
.nuget/ | ||
.packages/ | ||
.tools/ | ||
.vs/ | ||
.vscode/ | ||
*.suo | ||
*.user | ||
_ReSharper.* | ||
*.DS_Store | ||
*.userprefs | ||
*.pidb | ||
*.vspx | ||
*.psess | ||
*.binlog | ||
*.log | ||
artifacts/ | ||
StyleCop.Cache | ||
node_modules/ | ||
*.snk | ||
.nuget | ||
.packages/ | ||
.r | ||
.w | ||
.deps | ||
msbuild.ProjectImports.zip | ||
.env | ||
scripts/tmp/ | ||
.dotnet/ | ||
.tools/ | ||
src/**/global.json | ||
launchSettings.json | ||
BenchmarkDotNet.Artifacts/ | ||
korebuild-lock.txt | ||
.gradle/ | ||
src/SignalR/clients/**/dist/ | ||
modules/ | ||
|
||
# Template config files for blazor templates is generated on-build | ||
src/Components/**/.template.config/ | ||
# File extensions | ||
*.aps | ||
*.binlog | ||
*.dll | ||
*.DS_Store | ||
*.exe | ||
*.idb | ||
*.lib | ||
*.log | ||
*.pch | ||
*.pdb | ||
*.pidb | ||
*.psess | ||
*.res | ||
*.snk | ||
*.suo | ||
*.tlog | ||
*.user | ||
*.userprefs | ||
*.vspx | ||
|
||
# Specific files, typically generated by tools | ||
launchSettings.json | ||
msbuild.ProjectImports.zip | ||
StyleCop.Cache | ||
UpgradeLog.htm |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# We only track the .template.config.src items in source control | ||
# The .template.config files are generated on build | ||
content/**/.template.config/ | ||
src/content/**/.template.config/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" /> | ||
|
||
<PropertyGroup> | ||
<!-- Workaround for https://github.com/aspnet/AspNetCore/issues/5486 which requires the bin and obj directory be in the project directory --> | ||
<OutputInRepoRoot>false</OutputInRepoRoot> | ||
<BaseIntermediateOutputPath /> | ||
<IntermediateOutputPath /> | ||
<BaseOutputPath /> | ||
<OutputPath /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor but why don't There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blazor build tools and targets are the only thing which expect the obj/ directory to exist in the project dir. See #5486. Everywhere else I tested this change, the projects and tests were okay with obj being moved to |
||
</PropertyGroup> | ||
|
||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" /> | ||
|
||
<PropertyGroup> | ||
<PackageTags>aspnetcore;components</PackageTags> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" /> | ||
|
||
<PropertyGroup> | ||
<OutputInRepoRoot>true</OutputInRepoRoot> | ||
<!-- Tests do not work on Helix or when bin/ directory is not in project directory due to undeclared dependency on test content. --> | ||
<BaseOutputPath /> | ||
<OutputPath /> | ||
natemcmaster marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</PropertyGroup> | ||
|
||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" /> | ||
</Project> |
Uh oh!
There was an error while loading. Please reload this page.