We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The option names are inconsistnent and Fsc only worked when full paths were passed in.
$(MSBuildProgramFiles32)\Microsoft SDKs\F#\4.1\Framework\v4.0\Microsoft.FSharp.Targets C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0\Microsoft.FSharp.Targets
Embed="$(Embed)"
C:\Program Files\dotnet\sdk\1.0.0\Microsoft.CSharp.Core.targets
EmbeddedFiles="@(EmbeddedFiles)"
I worked around both issues with:
<Project> <PropertyGroup> <BuildDependsOn>EmbedPaketFiles;$(BuildDependsOn)</BuildDependsOn> </PropertyGroup> <Target Name="EmbedPaketFiles"> <ItemGroup> <EmbeddedFiles Include="$([System.IO.Path]::GetFullPath('%(Compile.Identity)'))" Condition="$([System.String]::Copy('%(Identity)').Contains('paket-files'))" /> </ItemGroup> <CreateProperty Value="@(EmbeddedFiles)"> <Output TaskParameter="Value" PropertyName="embed" /> </CreateProperty> </Target> </Project>
I would like it if the Fsc tasks matched what Csc supports.
The text was updated successfully, but these errors were encountered:
I think this ship has sailed. As part of SourceLink 2.1.1, I released SourceLink.Embed.AllSourceFiles that works for both C# & F# as well as SourceLink.Embed.PaketFiles that is a subset. https://github.com/ctaggart/SourceLink/releases/tag/2.1.1
Given that the Visual Studio 2017 debugger doesn't actually work with embedded source files yet, it still may be safe to change. https://github.com/ctaggart/sourcelink#known-issues
Sorry, something went wrong.
No branches or pull requests
The option names are inconsistnent and Fsc only worked when full paths were passed in.
$(MSBuildProgramFiles32)\Microsoft SDKs\F#\4.1\Framework\v4.0\Microsoft.FSharp.Targets
C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0\Microsoft.FSharp.Targets
C:\Program Files\dotnet\sdk\1.0.0\Microsoft.CSharp.Core.targets
I worked around both issues with:
I would like it if the Fsc tasks matched what Csc supports.
The text was updated successfully, but these errors were encountered: