Add support for source-build (dotnet/aspnetcore-tooling#620)

\n\nCommit migrated from 986c224acf
This commit is contained in:
Nate McMaster 2019-05-29 13:06:38 -07:00 committed by GitHub
parent f25734acf4
commit b45c32fa5b
2 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,8 @@
<RootNamespace>Microsoft.AspNetCore.Components.Razor</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Components.Razor</RootNamespace>
<Description>Extensions to the Razor compiler to support building Razor Components.</Description> <Description>Extensions to the Razor compiler to support building Razor Components.</Description>
<IsProductPackage>true</IsProductPackage> <IsProductPackage>true</IsProductPackage>
<!-- Excluded because this assembly has a 3rd party dependency. -->
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
<!-- Copy package references to output, needed so the build project can find them --> <!-- Copy package references to output, needed so the build project can find them -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

@ -107,7 +107,7 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
</Target> </Target>
<Target Name="RestoreTestProjects" BeforeTargets="Restore;Build"> <Target Name="RestoreTestProjects" BeforeTargets="Restore;Build" Condition="'$(DotNetBuildFromSource)' != 'true'">
<MSBuild Projects="..\testapps\RestoreTestProjects\RestoreTestProjects.csproj" Targets="Restore" /> <MSBuild Projects="..\testapps\RestoreTestProjects\RestoreTestProjects.csproj" Targets="Restore" />
</Target> </Target>