RestorePackages and WinSCP
Hi!
I have set up this parameter in project file:
<RestorePackages>true</RestorePackages>
WinSCP is referenced in that project as nuget.
My goal is to have in source control as less info as possible.
But nuget installation of WinSCP copies file (WinSCP.exe) to project folder a add's it to project.
Nuget installation should not copy file (WinSCP.exe) to project, just add a reference to packages folder like e.g. Entity folder do:
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.1.3\lib\net40\EntityFramework.dll</HintPath>
<Private>True</Private>
</Reference>
Consider change of nuget installation package.
Thanx.
Marian
I have set up this parameter in project file:
<RestorePackages>true</RestorePackages>
WinSCP is referenced in that project as nuget.
My goal is to have in source control as less info as possible.
But nuget installation of WinSCP copies file (WinSCP.exe) to project folder a add's it to project.
Nuget installation should not copy file (WinSCP.exe) to project, just add a reference to packages folder like e.g. Entity folder do:
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.1.3\lib\net40\EntityFramework.dll</HintPath>
<Private>True</Private>
</Reference>
Consider change of nuget installation package.
Thanx.
Marian