commit
212f1a145a
2 changed files with 15 additions and 1 deletions
|
@ -3,7 +3,6 @@
|
|||
<packageSources>
|
||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||
<clear />
|
||||
<add key="configurable.source" value="%CLI_PACKAGE_SOURCE%" />
|
||||
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
||||
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
||||
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
||||
|
|
|
@ -67,10 +67,25 @@
|
|||
<NuGetPackagesArchiveDirectory Include="$(NuGetPackagesArchiveFolder)" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<NuGetConfigContent>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="configurable.source" value="%CLI_LZMA_PACKAGE_SOURCE%" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
</NuGetConfigContent>
|
||||
<LZMANuGetConfigFilePath>$(NuGetPackagesArchiveProject)/Nuget.config</LZMANuGetConfigFilePath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Delete Files="@(FilesToClean)" />
|
||||
<RemoveDir Directories="@(NuGetPackagesArchiveDirectory)" />
|
||||
<MakeDir Directories="@(NuGetPackagesArchiveDirectory)"/>
|
||||
|
||||
<WriteLinesToFile Condition=" 'CLI_LZMA_PACKAGE_SOURCE' != '' "
|
||||
File="$(LZMANuGetConfigFilePath)"
|
||||
Lines="$(NuGetConfigContent)" />
|
||||
|
||||
<DotNetNew ToolPath="$(Stage2Directory)"
|
||||
TemplateType="Web"
|
||||
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
|
||||
|
|
Loading…
Reference in a new issue