Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6eb10b3

Browse files
authored
Add a test where generative TP DLL has native resources (#4897)
1 parentb77e7bf commit6eb10b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎tests/fsharp/TypeProviderTests.fs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ let diamondAssembly () =
3636

3737
rm cfg"provider.dll"
3838

39-
fsc cfg"%s""--out:provided.dll -a"[".."++"helloWorld"++"provided.fs"]
39+
// Add a version flag to make this generate native resources. The native resources aren't important and
40+
// can be dropped when the provided.dll is linked but we need to tolerate generated DLLs that have them
41+
fsc cfg"%s""--out:provided.dll -a --version:0.0.0.1"[".."++"helloWorld"++"provided.fs"]
4042

4143
fsc cfg"%s""--out:provider.dll -a"[".."++"helloWorld"++"provider.fsx"]
4244

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp