Add support for source-build (dotnet/aspnetcore-tooling#620)
\n\nCommit migrated from 986c224acf
This commit is contained in:
parent
f25734acf4
commit
b45c32fa5b
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue