-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profile259 assembly ends up in "net45" directory in package #797
Comments
Yes this is not implemented yet. But I consider this a bug. The issue is that we already have good mapping from I will look into this later today and hope I can provide you a fixed version for testing. |
Is there a workaround for this? I tried this but it didn't seem to work: |
Yes this looks like a valid workaround. But since the whole pack thing is really new I assume you discovered another bug. Is your project open source? Will try to fix that too. Sorry.... |
Np. If I do this
then it says
then I get files in both "net45" and "portable-net45 netcore45 wpa81 wp8 MonoAndroid1 MonoTouch1". Is there any way to get it to stop putting the files in "net45"? Thanks! |
You would need to change the type to file at the top of your paket.template file. The type project will always add the project output to whatever it thinks is a good idea. But be careful IIRC the file type will not discover things like the project dependencies to maintain your transitive nuget dependencies in the nuspec |
OK, got it, thanks! |
just tried your project with
worked for me. Strange. |
I implemented the infrastructure for this. see 30e589b Now we need some help from the community to implement ToString for all the known portable profiles in 30e589b#diff-42d3481f9056752a7b3b551f9f92165dR191 I'm looking for volunteers - maybe someone knows a official list and can copy/paste this. |
I always have this open in a tab: http://embed.plnkr.co/03ck2dCtnJogBKHJ9EjY/preview |
thanks. this helps a lot. |
I'm fairly new to all of this, so it may be my mistake. I created a profile 259 PCL assembly and packed it using the standard stuff:
Target "NuGet" (fun _ -> Paket.Pack(fun p -> { p with Version = release.NugetVersion ReleaseNotes = toLines release.Notes})
However in the resulting package the DLL was put into the "lib\net45" folder. I guess I expected it to go into a
lib/portable-net45 netcore45 wpa81 wp8 MonoAndroid1 MonoTouch1
folder or equivalent.The DLL that got packed was built with normal settings and placed into a "bin" folder
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkProfile>Profile259</TargetFrameworkProfile> <TargetProfile>netcore</TargetProfile> <TargetFSharpCoreVersion>3.259.3.1</TargetFSharpCoreVersion>
My understanding from this is that the DLL should end up in the right "lib" directory automagically.
Tomorrow I'll poke around the paket source to see if I can figure out what's going on.
The text was updated successfully, but these errors were encountered: