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

[XBuild] ResX resources in sub-directories are missing the directory name #562

Closed
dsyme opened this Issue Apr 9, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@dsyme
Contributor

dsyme commented Apr 9, 2016

Looking at the output for compiling tests\projects\Sample_VS2012_FSharp_ConsoleApp_net45_with_resource, it is easy to see that for F# on Linux, ResX resources are missing their subdirectory names . On Windows, the subdirectory names are added

For example, for that project compiled using MSBuild on Windows, the command line argument is :

--resource:obj\Debug\SubDir.ResxResourceInSubDir.resources 

giving this in the ILDASM of the output:

.mresource public SubDir.ResxResourceInSubDir.resources

For the same project compiled using XBuild on Linux, the command line argument is:

--resource:obj/Debug/ResxResourceInSubDir.resources 

giving:

.mresource public ResxResourceInSubDir.resources
@knocte

This comment has been minimized.

Show comment
Hide comment
@knocte

knocte Apr 9, 2016

Contributor

Shouldn't this be reported in bugzilla.xamarin.com ?

Contributor

knocte commented Apr 9, 2016

Shouldn't this be reported in bugzilla.xamarin.com ?

@dsyme

This comment has been minimized.

Show comment
Hide comment
@dsyme

dsyme Apr 10, 2016

Contributor

@knocte It's a bug in F# on Mono on Linux, it doesn't show up for .csproj, The fix may be in Mono but we'd need to work it out first.

Contributor

dsyme commented Apr 10, 2016

@knocte It's a bug in F# on Mono on Linux, it doesn't show up for .csproj, The fix may be in Mono but we'd need to work it out first.

@dsyme dsyme referenced this issue Feb 20, 2017

Merged

reverse integrate all fsharp/fsharp changes #2442

19 of 19 tasks complete

@dsyme dsyme changed the title from ResX resources in sub-directories are missing the directory name when using XBuild to [XBuild] ResX resources in sub-directories are missing the directory name Apr 29, 2017

@dsyme

This comment has been minimized.

Show comment
Hide comment
@dsyme

dsyme Apr 29, 2017

Contributor

Closing this as wont-fix

A workaround is to use msbuild on Linux (xbuild is basically being deprecated slowly).

Contributor

dsyme commented Apr 29, 2017

Closing this as wont-fix

A workaround is to use msbuild on Linux (xbuild is basically being deprecated slowly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment