-
Notifications
You must be signed in to change notification settings - Fork 847
Revert the revert of fssrgen #1064
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
Conversation
|
@dotnet-bot test Windows_NT Debug Build please |
| <DefineConstants>$(DefineConstants);NO_LOADER_OPTIMIZATION</DefineConstants> | ||
| <DefineConstants>$(DefineConstants);SILVERLIGHT_COMPILER_FSHARP_CORE</DefineConstants> | ||
| <DefineConstants>$(DefineConstants);I_DONT_KNOW_HOW_TO_DO_THIS_YET</DefineConstants> | ||
| <DefineConstants>$(DefineConstants);NETSTANDARD1_5</DefineConstants> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this define used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the generated file from fssrgen contains an #if NETSTANDARD1_5 so the same file can work for both net46 and netstandard1.5 (dnxcore50 too, but now is useless)
NETSTANDARD1_5 it's the default define added for netstandard1.5 framework (like NET46 for .net 4.6)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the generated code need to be different?
From: Enrico Sada [mailto:notifications@github.com]
Sent: Wednesday, April 13, 2016 4:32 PM
To: Microsoft/visualfsharp visualfsharp@noreply.github.com
Cc: Kevin Ransom Kevin.Ransom@microsoft.com
Subject: Re: [Microsoft/visualfsharp] Revert the revert of fssrgen (#1064)
In src/FSharpSource.targetshttps://github.com//pull/1064#discussion_r59643851:
@@ -230,6 +233,7 @@
<DefineConstants>$(DefineConstants);NO_LOADER_OPTIMIZATION</DefineConstants> <DefineConstants>$(DefineConstants);SILVERLIGHT_COMPILER_FSHARP_CORE</DefineConstants> <DefineConstants>$(DefineConstants);I_DONT_KNOW_HOW_TO_DO_THIS_YET</DefineConstants>
- $(DefineConstants);NETSTANDARD1_5
the generated file from fssrgen contains an #if NETSTANDARD1_5 so the same file can work for both net46 and netstandard1.5 (dnxcore50 too, but now is useless)
NETSTANDARD1_5 it's the default define added for netstandard1.5 framework (like NET46 for .net 4.6)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHubhttps://github.com//pull/1064/files/9e72d0c1b22f2a8d91e7e7e047def11637acb773#r59643851
|
@enricosada ... can we make fssrgen a dotnet cli cmd. I would very much prefer for it to be a cross platform tool. Since it is an exe and has no real windows dependencies it would seem a good candidate. Thanks Kevin |
|
@KevinRansom i already added a
|
|
don just checked in an alternate for this. |
To use FsSrGen package and remove from lkg the fssrgen.exe and msbuild task
ref #962
old reverted pr #963