You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Paket pack doesn't properly parse OutDir when you use $(Targetframework) #2450
When using TargetFrameworks, the default value for OutDir is ./bin/$(Configuration)/$(TargetFramework). When packaging, paket will look for the requisite .dlls in ./bin/Release/<Dll Name> instead of ./bin/Release/<Target Framework>/<Dll Name>
Repro steps
Create a .fsproj file that uses <TargetFrameworks> and set <OutDir> to ./bin/$(Configuration)/$(TargetFramework)/
Run paket pack
Expected behavior
Paket properly creates a package
Actual behavior
Paket fails with
Paket failed with:
-> FileNotFoundException: Could not find file "<Path to Project>/bin/Release/<ProjectName>.dll".
I knew this problem before I did my PR. It s a problem with type project template and the csproj parsing. I will try to look at it when I have a bit of time
Hi guys I m trying to fix it. I found a fix for but for as paket is not working for multiple Framework it's alot of change. I think GetTargetProfile in ProjectFile.fs should return a list of framework and not one framework.
Activity
forki commentedon Jun 20, 2017
/cc @batzen
batzen commentedon Jun 20, 2017
@forki You think this is related to my SpecificVersion PR?
forki commentedon Jun 20, 2017
It's using the feature you added, isn't it?
forki commentedon Jun 20, 2017
@TOTBWF Can we please get a zip with everything already built so that we only need to call Pack to get the error? Thx
TOTBWF commentedon Jun 20, 2017
Here is the most pared down example I could make
Example.zip
forki commentedon Jun 20, 2017
I think I wanted to cc @bhugot
bhugot commentedon Jun 20, 2017
I knew this problem before I did my PR. It s a problem with type project template and the csproj parsing. I will try to look at it when I have a bit of time
bhugot commentedon Jun 29, 2017
Hi guys I m trying to fix it. I found a fix for but for as paket is not working for multiple Framework it's alot of change. I think GetTargetProfile in ProjectFile.fs should return a list of framework and not one framework.